Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sql troubble - problemas con sql
Message
 
 
To
05/08/2005 17:36:04
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01039034
Message ID:
01039037
Views:
23
Would this work for you?
selec nombre, codigo ;
	from tabla1 ;
	WHERE codigo NOT IN (SELECT codigo FROM tabla2)
it's not a good idea to use one letter meanengless table aliases because i makes code hard to read and could conflict with work area names A-J.

>
>i've a proble i've this datas
>
>tabla1
>
>codigo nombre
>333 pepito
>
>
>tabla2
>
>codigo cta
>
>
>when i write this sentence
>
>selec a.nombre,a.codigo from tabla1 a,tabla2 b where a.codigo<>b.codigo
>
>and the query they have empty , why?? what's the problem.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform