Complete SQL
Complete SQL
4. Aggregate Functions:
SUM, AVG, COUNT, MIN, MAX
GROUP BY clause
HAVING clause
5. Data Constraints:
Primary Key
Foreign Key
Unique
NOT NULL
CHECK
6. Joins:
INNER JOIN
LEFT JOIN
RIGHT JOIN
FULL OUTER JOIN
Self Join
Cross Join
7. Subqueries:
Types of subqueries (scalar, column, row, table)
Nested subqueries
Correlated subqueries
9. Views:
Creating views
Modifying views
Dropping views
10. Indexes:
Creating indexes
Using indexes for query optimization
11. Transactions:
ACID properties
Transaction management (BEGIN, COMMIT, ROLLBACK, SAVEPOINT)
Transaction isolation levels