Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What would be the syntax for this?
Message
 
À
30/11/1999 07:56:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00296780
Message ID:
00296797
Vues:
26
Hi:

>Using a WHERE on the Room_No and getting ONE unique set of consecutive >Singer_No in Singer_No ORDER. The following is the result I'm looking for.

SET ORDER TO 0
SELECT room_no,singer_no,song_no;
FROM MyTable ;
WHERE room_no = 1 ;
GROUP BY room_no ;
ORDER BY 2

VFP will pick first singer_no by natural order.

HTH,

--Paul
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform