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

select count(&a) from emp

enter the column name at run time it will give the exact
count.

I have tested it. It works.

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to display Row Number with Records in Oracle SQL Plus?

775


What is dynamic query?

742


How many postgresql users are there, worldwide?

787


Explain normalization and what are the advantages of it?

700


How do you identify a primary key?

827


Difference between global and parameter variables?

1668


Why are sql stored procedures used?

812


Where do we use pl sql?

734


What is primary and foreign key?

822


How do I create an index in word?

742


what is a join? : Sql dba

782


What does trigger mean in psychology?

718


Which are sql * plus commands?

730


What are inner and outer joins examples of both?

702


What is a scalar value in sql?

815