SQL - Course Details
SQL
- Introduction to SQL
- What is SQL?
- Features and advantages
- Types of SQL commands (DDL, DML, DCL, TCL)
- Data Definition Language (DDL)
- CREATE (tables, views, indexes)
- ALTER (modify table structure)
- DROP (remove tables, views, indexes)
- TRUNCATE (remove all records)
- Data Manipulation Language (DML)
- INSERT (add data)
- UPDATE (modify data)
- DELETE (remove data)
- SELECT (retrieve data)
- Data Control Language (DCL)
- GRANT (give privileges)
- REVOKE (remove privileges)
- Transaction Control Language (TCL)
- COMMIT (save changes)
- ROLLBACK (undo changes)
- SAVEPOINT (set a point to rollback to)
- Basic SQL Queries
- SELECT statements
- WHERE clause (filtering data)
- ORDER BY (sorting data)
- DISTINCT (unique values)
- LIMIT/OFFSET (restricting results)
- Advanced SQL Queries
- Aggregate functions (COUNT, SUM, AVG, MIN, MAX)
- GROUP BY and HAVING clauses
- Subqueries (nested queries)
- Joins (INNER, LEFT, RIGHT, FULL OUTER)
- Set operations (UNION, INTERSECT, EXCEPT)
- Constraints
- PRIMARY KEY
- FOREIGN KEY
- UNIQUE
- NOT NULL
- CHECK
- DEFAULT
- Views
- Creating and managing views
- Updatable and non-updatable views
- Indexes
- Creating and dropping indexes
- Types of indexes
- Stored Procedures and Functions
- Creating procedures and functions
- Parameters and return values
- Triggers
- Creating and managing triggers
- BEFORE and AFTER triggers
- Cursors
- Declaring and using cursors
- Database Security
- User management
- Roles and privileges
- SQL in Practice
- Importing and exporting data
- Performance tuning basics
← Back to Courses