What does “select count(*) from tab” result?

Answer Posted / brajesh kr.

select count(1) from table. will return values without null
values. count(*) will return values aceept null also.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is native sql query?

554


How do I find duplicates in a single column in sql?

540


in oracle 10g sw after compiling procedure how to pass parameter values ,if we (v_empid out number)how to give empid after successful compilation program.This site exact suitable for 10g with respect to question & answer same format , im trying sql browser & sql command prompt using exec procedure name & respective parameters.

1648


Which join is like an inner join?

528


What is user defined functions?

580






what are the different tables present in mysql? : Sql dba

506


what is a control file ? : Sql dba

581


What are data types in pl sql?

566


How to create a menu in sqlplus or pl/sql?

613


Does group by remove duplicates?

554


How to avoid using cursors?

599


What is the left table in sql?

520


What are reports usually used for?

569


Is primary key clustered index?

524


Is natural join same as inner join?

509