POSTGRES SQL QUERY SEQUENCES
a. SELECT clause: Specify the columns you want to retrieve or manipulate
b. FROM clause: Specify the table(s) from which you are retrieving data.
c. WHERE clause (optional): Filter rows based on specified conditions.
d. GROUP BY clause: Group rows that have the same values into summary rows.
e. Aggregate functions: Perform calculations on the grouped data.
f. HAVING clause (optional): Filter groups based on specified conditions.
g. ORDER BY clause (optional): Sort the result set based on specified columns.