SQL & Databases
15 steps · Beginner to Advanced
Master SQL for managing relational databases. Learn queries, joins, aggregations, indexes, transactions, window functions, and query optimization.
play_arrow Start LearningIntroduction to SQL
Understand relational databases, SQL syntax, and database management systems.
SELECT and Filtering
Query data from tables with SELECT, WHERE, and comparison operators.
Sorting and Limiting
Order results with ORDER BY and limit output with LIMIT and OFFSET.
Aggregate Functions
Summarize data with COUNT, SUM, AVG, MIN, MAX, and GROUP BY.
Joins - INNER and OUTER
Combine data from multiple tables using different join types.
Subqueries
Write queries within queries for complex data retrieval.
INSERT, UPDATE, DELETE
Modify data in tables with DML statements.
CREATE TABLE and Constraints
Design tables with data types, primary keys, and foreign keys.
Indexes
Improve query performance with indexes and understand their trade-offs.
String and Date Functions
Manipulate text and dates with built-in SQL functions.
Views
Create virtual tables with views for simplified data access.
Transactions
Ensure data integrity with ACID transactions and isolation levels.
Window Functions
Perform calculations across rows with OVER, PARTITION BY, and ROW_NUMBER.
Stored Procedures
Encapsulate reusable SQL logic in stored procedures and functions.
Query Optimization
Analyze and optimize slow queries with EXPLAIN, indexing strategies, and best practices.