Detailed explanation and options for the selected question.
COUNT returns the number of rows in a query result. SUM adds column values, WHERE filters rows, and JOIN combines rows.