Skip to content
datastudyguides

DP-900 · 2.1.3 · Identify considerations for relational data on Azure

SQL statement types

Identify common structured query language (SQL) statements

statements fall into three groups by what they touch: database objects (), permissions () or rows ().

Infographic comparing DDL, DCL and DML with representative SQL statements and their purpose.

Sort a statement by what it touches. defines database objects, controls permissions, works with the rows inside a table.

The statements

  • Stands for
    Data Definition Language
    Works on
    Database objects, such as tables
    Statements
    CREATE adds, ALTER changes, DROP removes
  • Stands for
    Data Control Language
    Works on
    Permissions
    Statements
    GRANT allows, DENY blocks, REVOKE takes back
  • Stands for
    Data Manipulation Language
    Works on
    The rows inside a table
    Statements
    SELECT reads, INSERT adds, UPDATE changes, DELETE removes
The three groups of statements

The WHERE clause

UPDATE Product
SET Price = 12.99
WHERE ID = 7;

WHERE limits SELECT, UPDATE and DELETE to matching rows. Leave it out and the statement touches every row in the table. SQL has no "are you sure" prompt.

Dialects

Vendors add their own extensions to standard SQL. SQL Server and the Azure SQL services use ; PostgreSQL has its own dialect.

Key points

  • : CREATE, ALTER and DROP database objects
  • : GRANT, DENY and REVOKE permissions
  • : SELECT, INSERT, UPDATE and DELETE rows
  • WHERE: limits SELECT, UPDATE and DELETE to matching rows
  • No WHERE: the statement runs on every row, without a prompt
  • Dialects: for the Azure family, vendors add extensions

Click an underlined term for a one-line explanation, or see them all in the glossary .

Exam trap

UPDATE or DELETE without a does not fail safely. It changes or removes every row in the table, with no confirmation.

Sources · 1 Microsoft Learn page Show ▾

Checked on October 4, 2026. Report a problem

Go deeper on Microsoft Learn

Checked against Microsoft Learn on October 4, 2026. Report a problem with this card

How well do you know this?