This is my query
select id, status from sale  where user_id = 1 GROUP BY id;
 
I need to know how many rows or how many entries this query returns. I
tried to use "count" and "sum". But the result is wrong.

I want to be able to make select and know how many rows this query
returns. Now, I use mysql_num_rows in php,

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to