Learning SQL With Me – Day 2 Using SELECT and WHERE Statements Today, I continued my SQL learning journey by practicing how to retrieve and filter data using the SELECT and WHERE statements in PostgreSQL. These two statements are fundamental to working with data, and today’s session helped me better understand how powerful they are when combined. What I Practiced with the SELECT Statement I learned how to control what data is returned using: * to select all columns LIMIT to restrict the number of rows DISTINCT to return unique values Aggregate functions: COUNT MAX MIN AVG AS to rename columns for clarity What I Practiced with the WHERE Statement I also worked on filtering data using: Comparison operators: =, <>, <, > Logical operators: AND, OR Pattern matching with LIKE Handling missing values using IS NULL and IS NOT NULL Filtering multiple values using IN Key Takeaway The SELECT statement defines what you want to see, while the WHERE clause defines which records qualify. Combining both correctly makes queries more accurate and meaningful. Still learning, practicing, and improving one query at a time. #SQL #PostgreSQL #DataAnalytics #buildinginpublic #TechSkills #DataAnalysis #datafam
Keep it up Abdulsalam Sunday
Well done ✅