i want count no of values in a column i.e
enam eempno phoneno
x 1 (98765,09887,096561,87964579,156678,678900876)
that means if i select phone no from table i want to get
total count of phone numbers i.e 6
Answer Posted / venkat
select count(column_name) from table_name;
if u want to count number of phone numbers then use below
from emp table
select count(phno) from emp;
| Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
What is procedure in pl sql?
How to generate a salary slip like jan 1000 1000 feb 1000 2000 ... dec 1000 12000
What is natural join in sql?
What are the methods of filing?
Explain the commit statement.
Difference between truncate, delete and drop commands?
How does index help in query performance?
what is online transaction processing (oltp)? : Sql dba
What is forward declaration in pl sql?
What is insert command in sql?
What is schema in sql?
What is scalar and vector?
what is the difference between delete and truncate commands? : Sql dba
What is integrity in sql?
Can we have two clustered index on a table?