SQL Notes IMPORTANT
SQL Notes IMPORTANT
SQL
Contents
SQL Concepts
SQL Commands
SQL Syntax
SQL Concepts
SQL allows access and manipulation of databases.
Function of SQL in database
◦ Create Databases
◦ Create Tables
◦ Create stored procedures
◦ Create views
◦ Set permissions on tables, procedures, and views
◦ Execute queries
◦ Insert records
◦ Update records
◦ Delete records
◦ Retrieve data
SQL Commands
Constraints
◦ NOT NULL
◦ UNIQUE
◦ PRIMARY KEY
◦ FOREIGN KEY
◦ CHECK
◦ DEFAULT
◦ INDEX
References
Silberschatz, A., Korth, H. F., & Sudarshan, S. (2016). Introduction
to Data base Management System.
Rob, P., Coronel, C., Silberschatz, A., Korth, H., & Sudarshan, S.
(2006). Database systems: Design, implementation. Management.
Seventh Edition. Course Technology.
Elmasri, R., & Navathe, S. (2016). Fundamentals of database
systems. London: Pearson.
Queries??