The Difference between 'Count' and 'Count(*)'

Answer Posted / rajeeva tripathi

count - It returns the non null values
count(*) - It returns the null values and duplicate values

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sub query and its properties?

768


How many triggers you can have on a table?

741


How do I perform an unattended install of sql server 2000?

806


List out the difference between union and union all in sql server?

730


What is microsoft sql server?

738


How to delete database objects with "drop" statements in ms sql server?

811


What is the name of the system variable that returns the number of rows affected by a SQL statement?

819


What types of replication are supported in sql server?

779


How to create percentile function?

124


What are commonly used odbc functions in php?

766


I create a separate index on each column of a table. What are the advantages and disadvantages of this approach? : Sql server database administration

869


What is the difference between for trigger and after trigger?

789


What is the purpose of the master database?

856


Mention the differences between sql server and mysql.

724


What is normalization? What number of normalization shapes are there?

850