Computer Science

Which function is used to display the total number of records from a table in a database?

  1. Sum(*)
  2. Total(*)
  3. Count(*)
  4. Return(*)

SQL Queries

1 Like

Answer

Count(*)

Reason — The Count(*) function counts the total number of records/rows satisfying the condition along with NULL values, if any, in the table.

Answered By

3 Likes


Related Questions