Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL How to?
Message
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 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01293891
Message ID:
01293984
Vues:
23
>>I'm having a little trouble with the following SQL statement. I'm not getting the results I need. I need the last inventory receipt and supplier for each item. Because of group by requirements I'm getting the last receipt for each supplier and item combination. How can I just return the last receipt but include the supplier information?
>>
>>Thanks In Advance
>>
>>Jeff
>>
>>
>>select item, llstsup, max(recvdte) ;
>>from temptran ;
>>group by 1,2 ;
>>into cursor ictran
>
>There is an interesting discussion with 3 different approaches:
>
>Re: Always trips me up! Thread #1233129

No, NO WAY I would read this AGAIN :-)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform