Hi All, i have a table and i want count as well as sum together eg below
Status ----Count 1 ---- 2 2 ----- 3 3 ---- 4 4 ---- 5 Total ---- 14 i want this output how to get it pls help me for count i am using this query select status,count(*) from table group by status
pls let me know which query is used to generate above output.
HiAll it is showing error undefined function is it work in toad also oracle or it should be used with case statement only .
In oracle also there is Rollup function... This is SQL Server related forums. You can get better and quick solutions from Oracle forums like www.dbforums.com