What Is an Aggregate Function in SQL? Syntax, Examples, and Use Cases