Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Statement
Message
De
26/01/2007 11:14:37
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
 
À
26/01/2007 11:10:31
Edward Crawford
City Facilities Management
Glasgow, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01189670
Message ID:
01189674
Vues:
7
SELECT a.* FROM tablea a left join tableb b on b.name = a.name WHERE isnull(b.name)
SELECT * from tablea WHERE name NOT IN(SELECT name from tableb)

>I get this situation alot and have not found an easy way to deal with it.
>
>Given the following situation: Table A contains the following data in field "name": Bill, Frank, Sany , James.
>
>And Table B contains the following data in field "name": Sandy, Frank
>
>Is there a sql statement that says give me everything in Table A that is not in Table B? So result the of the abocve example would be Bill, James
Alexandre Palma
Senior Application Architect
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform