in how many ways we can use count()

Answers were Sorted based on User's Feedback



in how many ways we can use count()..

Answer / pravati

In two ways we can use count
1. SELECT COUNT(*) FROM table name.
2.SELECT COUNT(DISTINCT *) from table name.

Is This Answer Correct ?    0 Yes 0 No

in how many ways we can use count()..

Answer / krishna

select count(1) from table name

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL Server Interview Questions

What is the difference RDBMS and Graph Database?

0 Answers   EXL,


What is the difference between seek predicate and predicate?

0 Answers  


how to rest identity columns in sql server

3 Answers   Matrix,


What is constraints and its types?

0 Answers  


Does a sql server 2005 select statement require a from?

0 Answers  






Explain about local stored procedure?

0 Answers  


What is difference between getdate and sysdatetime in sql server 2008?

0 Answers  


hi i gone though satyam interview. what is Acid Properties?

2 Answers   Satyam,


Why are you getting errors when creating a new odbc dsn?

0 Answers  


What is the difference between for xml raw and for xml auto?

0 Answers  


How to delete duplicate rows in sql server?

0 Answers  


Do you know what is difference between stored procedure and user defined function?

0 Answers  


Categories