Question Details

Detailed explanation and options for the selected question.

What does the SQL COUNT function do?

A. Returns the number of rows in a table
B. Returns the sum of a column
C. Filters rows based on conditions
D. Combines rows from multiple tables

Explanation:

COUNT returns the number of rows in a query result. SUM adds column values, WHERE filters rows, and JOIN combines rows.