Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Selecting non-matching records from two tables
Message
From
23/11/2001 23:16:36
 
 
To
23/11/2001 08:05:26
Christopher Pinnock
United General Insurance Company
Kingston, Jamaica
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00585108
Message ID:
00585321
Views:
32
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
Previous
Reply
Map
View

Click here to load this message in the networking platform