Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Sql conversion to access

$
0
0

How would I be able to write this query out in access?

SELECT New.BRAND, SUM(NEW.QTY)QTY FROM(SELECT LEFT([Desc], CHARINDEX(' ',[DESC], 1)) AS Brand, qty
FROM ARD 
WHERE DATE BETWEEN '12/01/2013' AND '12/31/2013' 
) NEW
GROUP BY NEW.Brand
order by new.Brand


Debra has a question


Viewing all articles
Browse latest Browse all 23857

Trending Articles