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 |
What is the difference between dbcc indexdefrag and dbcc reindex?
How do you make a trace?
SYNTAX FOR VIEWS WITH EXAMPLE HOW TO LINK TWO TABLES
can we give the identity for existing column of the table? (already table contains 10(1-10) unique randam records)
What is difference between equi join and natural join?
my name is sejal I have cleared the sbi clerk exam. I am BCA graduate My favorite subject RDBMS Relational database management system. so please send me rRDBMS related interview questions
application server is slow what may be the problem
we have emp table like Ename,EDOJ,EDOB with Column structure.but we want to know the employee Age.How? Any Body Plz
Can we use Truncate command on a table which is referenced by FOREIGN KEY?
What is model database? : SQL Server Architecture
What is intellisense?
Define compound operators?
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)