home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Total C++ 2
/
TOTALCTWO.iso
/
vfp5.0
/
vfp
/
samples
/
data
/
topten.qpr
< prev
next >
Wrap
Text File
|
1996-08-21
|
243b
|
7 lines
SELECT TOP 10 Products.prod_name,;
SUM( Orditems.unit_price* Orditems.quantity);
FROM testdata!products INNER JOIN testdata!orditems ;
ON Products.product_id = Orditems.product_id;
GROUP BY Products.prod_name;
ORDER BY 2 DESC