Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

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

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

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

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

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

Post New Answer

More SQL Server Interview Questions

Define Unique Key?

0 Answers   HCL,


What are the types of processing and explain each? : sql server analysis services, ssas

0 Answers  


Give an example of SQL injection attack ?

0 Answers   HAL,


Tell me about builtinadministrator?

0 Answers  


how do we insert 100 records at a time in a table without using for loop in database

1 Answers  


What is 3nf normalization?

0 Answers  


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)

5 Answers   Infosys, McAfee,


What are the limitation of the Online Index Rebuild Operation?

1 Answers  


What is #table in sql server?

0 Answers  


Can you type more than one query in the query editor screen at the same time?

0 Answers  


How is sql used in sql server?

0 Answers  


Explain following error properties?

0 Answers  


Categories