Sitemap
kehinde abdul-azeez

kehinde abdul-azeez

Microsoft Certified Data Analyst | Business Intelligence & Analytics | I help brands make informed decisions by combining deep analysis, and intuitive visuals.

SQL COMMANDS & STATEMENTS

2 min readSep 8, 2025

--

Press enter or click to view image in full size
SQL Statement_Rofiah

SQL goes far beyond the simple SELECT statement. It provides a complete set of tools to define structures, manipulate data, and control access within a database.

Press enter or click to view image in full size

The Three Core SQL Command Types Every Data Analyst Must Learn

1. DDL — Data Definition Language

Defines, creates, and modifies the structure of database objects (tables, schemas, and indexes).

2. DML — Data Manipulation Language

Works with the data itself — inserting, updating, and deleting records.

3. DQL — Data Query Language

Focuses on retrieving and querying data.

Get kehinde abdul-azeez’s stories in your inbox

Join Medium for free to get updates from this writer.

SQL Command vs SQL Statement — What’s the difference?

Press enter or click to view image in full size

SQL Command → The category (DDL, DML, DQL, etc.).

SQL Statement → The specific complete instruction written by the user.

Example: DDL is the command type, while CREATE TABLE customers (…) is a statement.

Press enter or click to view image in full size

Revisiting these concepts through ID Analytics provided a valuable refresher and reinforced best practices in SQL usage.

Fellow Data Analysts, what other SQL command types would you add to this list (maybe DCL or TCL)? Drop your examples in the comments

--

--

kehinde abdul-azeez
kehinde abdul-azeez

Written by kehinde abdul-azeez

Microsoft Certified Data Analyst | Business Intelligence & Analytics | I help brands make informed decisions by combining deep analysis, and intuitive visuals.