Formatted DBMS Syntax Guide
Formatted DBMS Syntax Guide
Guide
1. Basic Definitions
- Database: An organized collection of data stored electronically.
- DBMS: A software system that enables users to define, create, maintain, and control
access to databases.
- Table: A set of data elements organized using a model of vertical columns and
horizontal rows.
- INNER JOIN is used to return rows that have matching values in both tables.
Insert a record
INSERT INTO Students (ID, Name, Age) VALUES (1, 'Ali', 20);
Update record
UPDATE Students SET Age = 21 WHERE ID = 1;
Delete a record
DELETE FROM Students WHERE ID = 1;