Data Definition
CREATE, to create a new database object
ALTER, to change an aspect of the structure of an existing database object
DROP, to drop (remove) a database object
Data Manipulation and Transactions
INSERT, to add rows to a table
UPDATE, to change column values of existing rows
DELETE, to remove rows from a table
COMMIT, to confirm all pending changes of the current transaction
ROLLBACK, to cancel all pending changes and restore the original situation
DELETE empties a table; DROP removes a table. TRUNCATE allows you to delete all the rows in a table in an efficient (but irrevocable) way.
UPDATE changes the contents of a table; ALTER changes its structure.
You can undo the consequences of data manipulation with ROLLBACK; data definition commands are irrevocable.
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。