SQL DELETE — Basic UsageIT technician command center
Database · SQL and Database Administration

SQL DELETE — Basic Usage

Use SQL DELETE for a standard administrative task.

Copy-ready commandSQL DELETE — Basic Usage
DELETE FROM users WHERE id = 42;
Production warning

INSERT, UPDATE, DELETE, ALTER, and restore operations can modify or remove data.

Requirements and permissions

Requirements
Appropriate database client and connection
Permissions
Database privileges vary
Last reviewed
2026-07-31

Examples

Basic Usage

Use SQL DELETE for a standard administrative task.

DELETE FROM users WHERE id = 42;

Original command

Delete matching rows.

DELETE FROM users WHERE id = 42;

Common errors

Command not found

Confirm Appropriate database client and connection is installed and available in your current shell.