Copy-ready commandSQL INSERT
INSERT INTO users (name,email) VALUES ('Jane Smith','jane@example.com');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 example
Insert a row.
INSERT INTO users (name,email) VALUES ('Jane Smith','jane@example.com');Common errors
Command not found
Confirm Appropriate database client and connection is installed and available in your current shell.