Re: num_rows not working when used SUM()
I think i got it.
$query = "SELECT items.itemid, count(items.itemid) AS mycount SUM(prices.priceid) AS PR FROM items
JOIN prices ON items.itemid = prices.itemid
WHERE items.clientid = '$clientid'";
Thanks a ton for your help Lord Peter Brawley!
Subject
Written By
Posted
February 28, 2015 12:32AM
February 28, 2015 02:00AM
February 28, 2015 02:32AM
February 28, 2015 11:49AM
Re: num_rows not working when used SUM()
February 28, 2015 03:56AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.