As a data engineer working in ops, SQL is at the core of my daily work. After my post about window functions, I figured I’d share a list of the SQL functions that I use the most: ▶ SELECT ▶ WHERE ▶ ORDER BY ▶ JOINS (INNER, LEFT, FULL) ▶ Aggregation functions (SUM, AVG, COUNT, MAX) ▶ GROUP BY ▶ UNION ▶ CASE STATEMENT ▶ CTEs ▶ Date and Time operations (EXTRACT, DATE_ADD, DATE_SUB) ▶ COALESCE & IFNULL ▶ CAST & CONVERT ▶ Ranking functions (ROW_NUMBER, RANK, DENSE_RANK) ▶ QUALIFY ▶ String functions (SUBSTRING, CONCAT) ▶ LEAD & LAG Even with so many functions available, I usually use these few mentioned above. This is a great example of the 80/20 rule—you really only need about 20% of the available SQL functions to handle 80% of your daily tasks. What are some of the SQL functions that you use on a regular basis? Drop them in the comments—I’m curious to see what others are using! #DataEngineering #SQL
👏👏💚
Can’t ignore SQL!!