Link to home
Start Free TrialLog in
Avatar of MrTV
MrTVFlag for Thailand

asked on

sum mysql

SELECT
sale.preselRef,
sale.name,
sale.saledate,
sale.grandtotal,
sale.secid,
sale.invoicetype,
sum (sellnote.Paid),
sellnote.CreCard,
sellnote.PCheck
FROM
sale  
left outer join sellnote on sale.preselRef = sellnote.Code
WHERE
sale.`timestamp` > curdate() and  sellnote.`timestamp` > curdate()
group by sellnote.Code

[Err] 1630 - FUNCTION asianonline.sum does not exist. Check the 'Function Name Parsing and Resolution' section in the Reference Manual

Avatar of Kalpan
Kalpan
Flag of India image

sorry don't seem to find the asianonline.sum with your query...

would you please elaborate the question
Avatar of MrTV

ASKER

Hi kalmax
i wany to sum   sellnote.Paid
ASKER CERTIFIED SOLUTION
Avatar of pvlier
pvlier
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial