Which SQL function is used to count the number of rows in a SQL query ?
COUNT(*)
Reason — The SQL function COUNT(*) is used to count the number of rows in an SQL query, including duplicates and rows with NULL values.