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 natural join in sql?
How do I view a table in sql?
what is a materialized view? : Sql dba
Can a key be both primary and foreign?
how is myisam table stored? : Sql dba
what is msql? : Sql dba
Which certification is best for sql?
What are the built in functions of sql?
What is the purpose of the sql select top clause?
Can a table have no primary key?
Why do we need sharding?
Which are the different character-manipulation functions in sql?
What is inner join in sql?
What is schema in sql example?
Is it possible to read/write files to-and-from PL/SQL?