top of page

Simple Basics of SQL

SQL (Structured Query Language) is a standardized programming language used to manage and manipulate relational databases. It allows users to query, insert, update, and delete data from databases, as well as define and manage database structures such as tables, indexes, and views. SQL is widely used across various industries for database management, data analysis, and reporting tasks. SQL plays a major role in current and future IT industry.

Two fundamental components of SQL are Data Manipulation language (DML) and Data definition language (DDL).

Data Manipulation language (DML) is a subset of SQL that deals with retrieving inserting, updatiog, and deleting data from a data base, lets look at a common DML commands.


A Select statement is used to retrieve data from one or more tables in a database.


The insert statement is used to add a new records to a table.


The update statement is used to modify the existing records in a table.


The delete statement is used to remove records from a table.

Data definition language (DDL) is a subset of SQL that deals with defining and managing the structure of database and here are some DDL commands:


The create statement is used to create new database objects such as tables, views and indexes.


The Alter statement is used to modify existing database objects.

3. DROP:

The DROP statement is used to remove database objects.


In conclusion, SQL (Structured Query Language) serves as a powerful tool for database management, offering both Data Manipulation Language (DML) and Data Definition Language (DDL) capabilities. DML commands like SELECT, INSERT, UPDATE, and DELETE enable users to retrieve, add, modify, and remove data within tables, facilitating dynamic data manipulation and retrieval. On the other hand, DDL commands such as CREATE, ALTER, and DROP empower users to define, modify, and manage database structures like tables, indexes, and constraints. By mastering SQL’s DML and DDL functionalities, users can effectively interact with databases, ensure data integrity, and derive valuable insights to drive informed decision-making in various domains.

28 views0 comments

Recent Posts

See All


Avaliado com 0 de 5 estrelas.
Ainda sem avaliações

Adicione uma avaliação
bottom of page