![]() | Products |
| Home » Technical Support » ElevateDB Technical Support » Incident Reports » Incident Reports Addressed for Version 2.05 » View Incident Report |
| Reported By: Chris B Reported On: 11/17/2010 For: Version 2.04 Build 4 |
CREATE TEMPORARY TABLE MYTEST
(ordering_field int,
ProductCode int)!
INSERT INTO MYTEST (ordering_field, ProductCode)
select ordering_field, ProductCode
FROM
(SELECT
SUM(SaleHistory.Quantity) AS ordering_field,
Product.Code AS ProductCode
FROM Product
INNER JOIN SaleHistory
ON Product.Code = SaleHistory.Code
GROUP BY Product.Code
ORDER BY ordering_field DESC
RANGE 1 TO 10) TBL234!This web page was last updated on Wednesday, April 8, 2026 at 04:38 AM | Privacy Policy © 2026 Elevate Software, Inc. All Rights Reserved Questions or comments ? |

