Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Selecting records
Message
From
12/07/2005 06:44:55
Jon Neale
Bond International Software
Wootton Bassett, United Kingdom
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01031567
Message ID:
01031573
Views:
14
There are probably many ways but try:

Select * from parent where parent_id not in (select parent _id from child)

Does this do what you want?

>Hi to all
>I have 2 tables in a relation on one field. I would now want to select records in the parent table where there are no corresponding records in the child table.
>
>Any easy way to do this?
>
>Thanks in advance.
>
>Willie
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform