How to count the no of records of a table without using
COUNT function?
Answer Posted / vikram
select col1,col2,1 as SNO,sum(sno) from emp
group by 1,2,3
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is a record in pl/sql?
What is clustered and nonclustered index in sql?
i have a column which may contain this kind of value: 123*67_80,12*8889_5,34*8_874 ,12*7_7 (can contain space before a comma, and this string length can be anything) now i want to split this value into two column like: column1: 123*67,12*8889,34*8,12*7 column2: 80,5,874,7 use function for this
What are the two different parts of the pl/sql packages?
How to place comments in pl/sql?
What is the difference between union and union all command?
How do you remove duplicate records from a table?
What are the two virtual tables available at the time of database trigger execution?
What is %type in sql?
What are stored procedures in mysql?
What will you get by the cursor attribute sql%rowcount?
How do you bind variables in pl sql?
What are user defined functions?
Explain isolation levels. : Transact sql
Why coalesce is used in sql?