Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP SQL Syntax - Tuesday BrainFreeze
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01238981
Message ID:
01239026
Vues:
14
>>>Thanks all! :o)
>>>
>>Looks like Cetin's SQL is the simplest.
>>
>>It's a bit unclear what do you mean by "every distinct or unique aid record". Is aID the PK for the table?
>
>Not exaclty.
>
>If you have records like:
>
>
>AID            AAGcy
>---------------------
>1             AAAA
>1             BBBB
>1             CCCC
>
>
>With Cetin's solution you will get:
>
>AID            AAGcy     adescriptn
>------------------------------------
>1             CCCC       bla bla
>
>With mine:
>
>
>AID            AAGcy   adescriptn
>----------------------------------
>1             AAAA      bla bla
>1             BBBB      bla bla
>1             CCCC      bla bla
>
>
>So it all depends of what Tracy needs :-)

Right, that's why we need some clarification.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform