!doctype html>
View on GitHub
Command | Syntax | Comment |
Rename table | ALTER TABLE [table name or ID] RENAME TO [new name] | Atomic |
Delete table | DROP TABLE [table name or ID] | Atomic |
Copy table | CREATE TABLE [table name] AS SELECT * FROM [source table name or ID] | Composite: copy, rename. If rename fails, the name of the new table defaults to "Copy of [original name]" |
UPDATE | UPDATE TABLE [table name or ID] <filter_condition> | Composite: select ROWIDs for <filter_condition>, 1 update per ROWID. |
DELETE | DELETE FROM [table name or ID] { <filter_condition> } | Composite: select ROWIDs for <filter_condition>, 1 delete per ROWID. |
Ctrl+Alt+R | Execute query under cursor |
Ctrl+Alt+A | Execute all queries sequentially |
Ctrl+Alt+C | Cancel query execution |
Ctrl+Alt+V | View preprocessed query |
Ctrl+T | Show tables |