Roadmap to Learn SQL in 30 Days ?
Roadmap to Learn SQL in 30 Days ?
● Learn:
○ Fundamentals of databases and how they work.
○ Basic SQL commands: CREATE, INSERT, SELECT,
UPDATE, DELETE.
○ Using WHERE clauses, functions, aliases (AS), and
pattern matching with LIKE.
● Learn:
○ Different types of keys: Primary Key, Foreign Key,
Candidate Key.
○ Implementing constraints: UNIQUE, NOT NULL, CHECK
to ensure data integrity.
● Learn:
○ Sorting and grouping data using ORDER BY and GROUP
BY.
○ Removing data with TRUNCATE and deleting tables with
DROP.
○ Introduction to aggregate functions: SUM, COUNT, MIN,
MAX, AVG.
Days 16-20: Advanced Querying Techniques
● Learn:
○ Utilising aggregate functions in combination with GROUP
BY.
○ Filtering grouped data using the HAVING clause.
○ Writing subqueries for complex data retrieval.
○ Using advanced operators: IN, BETWEEN, EXISTS, ANY,
ALL.
● Learn:
○ Performing joins: INNER JOIN, LEFT JOIN, RIGHT
JOIN, FULL OUTER JOIN.
○ Combining query results with UNION and UNION ALL.
○ Understanding and using Common Table Expressions
(CTEs) with the WITH clause.
● Learn:
○ Implementing window functions: ROW_NUMBER(),
RANK(), DENSE_RANK(), LAG(), LEAD().
○ Using CASE statements for conditional logic.
○ Applying CTEs and window functions in complex
queries.