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 |
How do you rebuild an identity column?
What is bit data type? What's the information that can be stored inside a bit column?
one table has four field id,name,design,salary. i have to find maximum salary .
How to start sql server browser service?
What is the distinction amongst delete and truncate?
How to declare and use cursor variables?
What is explicit cursors?
Is it possible to call a stored procedure within a stored procedure?
What is dbcc?
How do I view a stored procedure in sql server?
What is an sql server agent?
What are the properties and different types of sub-queries?
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)