General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Omit records from a previous query
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only