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 / sanjeev

select ename,empno,count(column name) from table name

Is This Answer Correct ?    0 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many types of privileges are available in sql?

973


what are the advantages and disadvantages of views in a database? : Sql dba

767


How do sql databases work?

716


When is the update_statistics command used?

773


How to check if a column is nullable before setting to nullable?

780






What is rank dense_rank and partition in sql?

756


what is the difference between cluster and non cluster index? : Sql dba

734


What do you understand by exception handling in pl/sql?

762


what are the type of locks ? : Sql dba

723


How do you remove duplicates without using distinct in sql?

702


How many primary keys can a table have?

726


List the different type of joins?

752


what is bcp? When does it used? : Sql dba

708


What is record data type?

679


What is a constraint?

731