Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Statement
Message
De
08/02/2011 06:36:44
 
 
À
07/02/2011 12:45:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
MySQL
Divers
Thread ID:
01499047
Message ID:
01499152
Vues:
54
>Hi Expert
>
>I have a Table of about 100000 records of about 3000 Codes. I want to select Code,Last Pur.Rate with Date of each code.
>
>Thnx in advance
>
>Rgds:
>Ahsan Rana
select * from Table T
 where primarykey  = (select TOP 1 primarykey from Table X WHERE X.Code=T.Code order by LastPurchase DESC)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform