Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is this correct sql select statement?
Message
De
15/11/2000 15:30:07
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Is this correct sql select statement?
Divers
Thread ID:
00442295
Message ID:
00442295
Vues:
49
I have a sql select statement that reads like this.

select allt(c.contactln)+", "+allt(c.contactfn)+" "+c.contactmn as name ,;
sum(o.totalprice) as totalprice;
from customer c, order o ;
where c.id = o.customer ;
into cursor rptCur ;
order by totalprice desc ;
group by name

Can anyone tell me why this is not sorting by descending totalprice order?

Thanks bunch.
HI-YO SILVER AWAY!!
The Lone Ranger, The late Clayton Moore R.I.P.
I am a fool!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform