Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Selecting non-matching records from two tables
Message
De
23/11/2001 23:16:36
 
 
À
23/11/2001 08:05:26
Christopher Pinnock
United General Insurance Company
Kingston, Jamaique
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00585108
Message ID:
00585321
Vues:
34
I think what you want is something like:
SELEcT * FROM AllRoles WHERE role NOT IN (SELECT role FROM UserRoles)

>I have two tables. The first of which have all roles availale the next have roles granted to a particular user. How do i select the rows that do not match.
>
>Access acheives this by using the left outer join. I have tried the same technique in Visual Foxpro 6 and SQLSERVER 7 and it does not work. Any ideas ???
>
>Chris
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform