Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tricky SQL question
Message
De
24/09/2001 00:32:13
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Tricky SQL question
Divers
Thread ID:
00559844
Message ID:
00559844
Vues:
49
Hi All,

I have a table containing two fields, Item and Qty. Neither field is uniue. I need to select the distinct list of items from the table, and any one of the 'associated quantities'. Eg:

Item Qty
A 2
A 4
A 6
B 3
C 7
C 9

Results I want are:

A 2 (or 4 or 6)
B 3
C 7 (or 9)

Thanks,
Rob
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform