1. <p>Which aggregate function returns the total number of rows that match a condition?</p>
- SUM()
- TOTAL()
- COUNT()
- AVG()
Hint: <p><code>COUNT()</code> returns the number of rows matching the query. <code>SUM()</code> adds up numeric values, <code>AVG()</code> returns the average, and <code>TOTAL()</code> is not a standard SQL function.</p>