Rdbms
RDBMS refers to a relational database management system.
The RDBMS is the foundation of SQL and is also the foundation of all modern database systems, such as MS SQL Server, IBM DB2, Oracle, MySQL, and Microsoft Access.
Data in an RDBMS is stored in a database object called a table (tables).
A table is a collection of related data items that consists of columns and rows.
SQL DML and DDL
SQL can be divided into two parts: Data manipulation Language (DML) and data definition language (DDL).
SQL (Structured Query language) is the syntax for executing queries. However, the SQL language also contains syntax for updating, inserting, and deleting records.
The query and update Directives form the DML portion of SQL:
- SELECT-Get data from a database table
- Update-updating data in a database table
- Delete-Deletes data from the database table
- INSERT into-inserts data into a database table
The Data definition language (DDL) portion of SQL gives us the ability to create or delete tables. We can also define indexes (keys), specify links between tables, and impose constraints between tables.
The most important DDL statement in SQL:
- Create database-Creating new databases
- ALTER DATABASE-Modify databases
- CREATE table-Creates a new table
- ALTER TABLE-Change (change) database table
- drop table-Delete tables
- Create index-Creating indexes (search key)
- Drop INDEX-Delete indexes
sql--w3c