Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Group info
Members: 514
Language: English
Group categories:
Computers > Software
More group info »
Recent pages and files
Query: Charges by Sort Code    

SELECT
b.lucode as Code,
b.remark as Description,
SUM(a.amount) as ChargesĀ 
FROM
rv_charges a JOIN lookups b ON a.sortcode=b.lunum
WHERE
trandate between '1999-01-01' and TODAY()
GROUP BY b.lucode,b.remark

Version: 
Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google