CHAPTER - 4 :๐ AGGREGATE FUNCTIONS
SECTION 0: YOUR FIRST QUERY IN 10 SECONDS
Before we talk, let's just do it.
Imagine a table called employees with 6 salaries. If you run this:
SELECT
COUNT(*) AS total_staff,
SUM(salary) AS t
detailsnotes.hashnode.dev19 min read