hi
i have one table and it's contain column with name 'status' , i want do sql command to fetch total number of rows , and total number of rows which it's value = 1 and total number of rows which it's value = 0 , i tried to do it using join , but's it's result 2 results ! not one , so plz help me with true command




, but you didn't use count instead of sum ?




Bookmarks