Chapter 06 Manipulating Data Flashcards
The [Blank] statement is used to add new rows to a
table.
INSERT
INSERT INTO [schema.]table_name [(column_list)]
VALUES (data_values)
You can insert using subqueries
The [Blank] statement is used to modify existing rows in a table
UPDATE UPDATE SET = [, = … … …] [WHERE ]
The [Blank] statement is used to remove rows from a table.
DELETE
DELETE [FROM]
[WHERE ]
What is the DESCRIBE command?
list the table columns, the columns are listed in that order.
COMMIT statement
Ends the current transaction, making data changes permanent
and visible to other sessions.
ROLLBACK statement
Undoes all data changes in the current transaction.
ROLLBACK TO SAVEPOINT
Undoes all data changes in the current transactions
going chronologically backward to the optionally
named savepoint.
SAVEPOINT
Sets an optional marker within the transaction to be
able to go back to this position if needed.