hi every one ,
im doing a project in which backend is mysql i have a problem , i some how managed to find the querry..
this is the querry
SELECT convert count(t.custID as custid,t.merchant as merchant,m.mName as mName, c.cname as cname,t.eDT as eDT,t.term as term , b.voucher as voucher, b.merchant as merchant, count(b.iCode) as itemcount, sum((b.qty*b.rate)) as bamount FROM tbl_bills t left join tbl_bill_items b on(t.voucher = b.voucher and t.term=b.term and t.merchant=b.merchant) left outer join tbl_customers c on (t.custID = c.custID and t.merchant=c.merchant) left outer join tbl_merchants m on (t.merchant=m.merchant) where b.voucher Is Not null group by b.voucher,b.term, b.merchant)
and the answer is this
in this you can see there are 85 rows fetched . i wasnt that no of rows as my result. how can i do that. im stuck in here. please help me
thanks in advance