Aggregate functions: counting everything at once
Until now we selected rows as-is. But what if we need total revenue or order count? That is what aggregate functions are for. They take many values and return one—the computed result.
Until now we selected rows as-is. But what if we need total revenue or order count? That is what aggregate functions are for. They take many values and return one—the computed result.