Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is this correct sql select statement?
Message
From
15/11/2000 15:30:07
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Is this correct sql select statement?
Miscellaneous
Thread ID:
00442295
Message ID:
00442295
Views:
57
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!
Next
Reply
Map
View

Click here to load this message in the networking platform