Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Omit records from a previous query
Message
From
19/04/2004 12:09:47
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Omit records from a previous query
Miscellaneous
Thread ID:
00896160
Message ID:
00896160
Views:
64
I have a SQL query where I select every other record from a table. Now I need another query that will get the first 50 records from the table that are not in the first query.

The first query is:
SELECT Sequence, Contact FROM Test WHERE MOD(RECNO(),2) = 0 INTO CURSOR NSelect

How do I construct the second query? I know how to program this, but I'm trying to get more proficient at SQL and I have difficulty with queries that involve more than one table.
Next
Reply
Map
View

Click here to load this message in the networking platform