Useful Links
Computer Science
Databases
Database Management Systems
1. Introduction to Databases and DBMS
2. Data Models
3. The Relational Model
4. Database Design
5. SQL (Structured Query Language)
6. Storage and File Structure
7. Query Processing and Optimization
8. Transaction Management
9. Recovery Systems
10. Database Security
11. Distributed Database Systems
12. NoSQL Database Systems
13. Data Warehousing and OLAP
14. Emerging Database Technologies
SQL (Structured Query Language)
SQL Fundamentals
History and Evolution of SQL
SQL Standards
ANSI SQL Standards
ISO SQL Standards
Vendor-Specific Extensions
SQL Components Overview
Data Definition Language
Database Creation and Management
CREATE DATABASE
ALTER DATABASE
DROP DATABASE
Table Definition and Management
CREATE TABLE
Column Definitions
Data Types
Constraints
ALTER TABLE
Adding Columns
Modifying Columns
Dropping Columns
Adding Constraints
Dropping Constraints
DROP TABLE
TRUNCATE TABLE
Index Management
CREATE INDEX
DROP INDEX
Index Types
View Management
CREATE VIEW
ALTER VIEW
DROP VIEW
Data Types
Numeric Types
Character Types
Date and Time Types
Boolean Type
Binary Types
Constraints
PRIMARY KEY
FOREIGN KEY
UNIQUE
CHECK
NOT NULL
DEFAULT
Data Manipulation Language
INSERT Operations
Single Row Insertion
Multiple Row Insertion
INSERT with SELECT
UPDATE Operations
Simple Updates
Conditional Updates
Correlated Updates
DELETE Operations
Simple Deletions
Conditional Deletions
Cascading Deletions
Data Query Language
Basic SELECT Structure
SELECT Clause
FROM Clause
WHERE Clause
Filtering and Sorting
WHERE Conditions
Comparison Operators
Logical Operators
Pattern Matching with LIKE
NULL Value Handling
ORDER BY Clause
Aggregate Functions
COUNT Function
SUM Function
AVG Function
MIN Function
MAX Function
GROUP BY Clause
HAVING Clause
Join Operations
INNER JOIN
LEFT OUTER JOIN
RIGHT OUTER JOIN
FULL OUTER JOIN
CROSS JOIN
SELF JOIN
Natural Join
Subqueries
Scalar Subqueries
Row Subqueries
Table Subqueries
Correlated Subqueries
EXISTS and NOT EXISTS
IN and NOT IN
Set Operations
UNION
UNION ALL
INTERSECT
EXCEPT
Advanced Query Features
Window Functions
Common Table Expressions
Recursive Queries
Views
View Creation
View Modification
View Deletion
Updatable Views
View Limitations
Materialized Views
Data Control Language
User Management
CREATE USER
ALTER USER
DROP USER
Privilege Management
GRANT Statement
REVOKE Statement
Privilege Types
Role Management
CREATE ROLE
GRANT ROLE
REVOKE ROLE
Transaction Control Language
Transaction Boundaries
BEGIN TRANSACTION
COMMIT
ROLLBACK
Savepoints
SAVEPOINT
ROLLBACK TO SAVEPOINT
Transaction Isolation Levels
Autocommit Mode
Previous
4. Database Design
Go to top
Next
6. Storage and File Structure