select count(1) from emp? what is the o/p?

Answer Posted / ankur saini er.ankur861@gmail.

count(1) means it will count based on the first columnin
the table ..say first column is a_id and data ia

a_id a_nm
1 a
2 b
3 c
4 d
? e

so here count(1) will be =4 where as count(*) =5
so count(1) give the count for column 1 excluding nulls

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to partition the Session?

730


my source is junk data how will u remove that junk data by using unix please any one replay me

3356


What is the difference between SOURCE and TARGET BASED COMMITS? What are the deliverables?in your project?

1740


Which transformation is needed while using the Cobol sources as source definitions?

817


hi friends .i designed mapping in windows but i want to run mapping in linux.should i install the server components in linux?

1621






what is mean by complex business rule ?

1800


What happens when a session fails and you click on recover?

744


Hi, I am planning to take Infa Certification exam but am unable to find its dumps anywhere on web. If anybody has it, plz share them with me. jkinfo22@gmail.com Thanks in advance

1725


What is the scenario which compels informatica server to reject files?

710


How to load data in informatica ?

665


can u any challenge your project?

1696


What is the need for an etl tool?

738


can anyone suggest best free Talend data integration training online

1348


Explain the etl program with few examples.

638


Under which circumstances, informatica server creates reject files?

685