Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sql troubble - problemas con sql
Message
 
 
À
05/08/2005 17:36:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01039034
Message ID:
01039037
Vues:
22
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform