in how many ways we can use count()
Answers were Sorted based on User's Feedback
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 |
What is Full Outer Join?
When do you use SQL Profiler?
Define inner join? Explain with an example?
Explain transaction server implicit?
Explain log shipping?
What will be the value of @@fetch_status if a row that was a part of the cursor resultset has been deleted from the database after the time the stored procedure that opened the cursor was executed?
Can we perform backup restore operation on tempdb? : sql server database administration
What is a trigger in sql server?
What is the command used to get the version of sql server?
how many clustered indexes can be created on a table? : Sql server database administration
What are sparse columns?
What are explicit and implicit transactions?