Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Omit records from a previous query
Message
De
19/04/2004 12:09:47
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Omit records from a previous query
Divers
Thread ID:
00896160
Message ID:
00896160
Vues:
63
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform