The Difference between 'Count' and 'Count(*)'
Answers were Sorted based on User's Feedback
Answer / anand
COUNT(column_name): COUNT THE NUMBER OF ROWS EXCLUDING NULL
VALUES.
COUNT(*):COUNT THE NUMBER OF ROWS INCLUDING NULL VALUES AND
DUPLICATES.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / pradip jain
COUNT(column_name): COUNT THE NUMBER OF ROWS EXCLUDING NULL
VALUES BUT INCLUDING DUPLICATES
COUNT(*):COUNT THE NUMBER OF ROWS INCLUDING NULL VALUES AND
DUPLICATES.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / mahavir bansal
COUNT(Exp): COUNT the no of not NULL Records Including
Duplicates values
COUNT(*):returns the No of Records in the Table.
| Is This Answer Correct ? | 0 Yes | 0 No |
Define Unique Key?
What are the types of processing and explain each? : sql server analysis services, ssas
Give an example of SQL injection attack ?
Tell me about builtinadministrator?
how do we insert 100 records at a time in a table without using for loop in database
What is 3nf normalization?
How to delete duplicate records from a table?(for suppose in a table we have 1000 Records in that we have 200 duplicate Records , so ,how to findout that duplicate Records , how to delete those Records and arranged into sequence order? one more thing that there is no primary key at all)
What are the limitation of the Online Index Rebuild Operation?
What is #table in sql server?
Can you type more than one query in the query editor screen at the same time?
How is sql used in sql server?
Explain following error properties?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)