click below
click below
Normal Size Small Size show me how
SQL Ch5 Review
| Question | Answer |
|---|---|
| You can use the ___ command to change rows on which a specific condition is true. | UPDATE |
| During your current work session, you can ___ (save) your changes immediately by executing the ___ command. | commit, COMMIT |
| If you decide that you don't want to save the change you have made during your current work session, you can ____ (reverse) the change by executing the ___ command. | roll back, ROLLBACK |
| The ROLLBACK command reverses only changes made to the data; it does not reverse the changes made to a _____ ____. | table's structure |
| A ___ is a logical unit of work. | transaction |
| A ____ can be viewed as a sequence of steps that accomplishes a single task. | transaction |
| You can use the ___ command to remove rows from a table. | DELETE |
| You can change a table's structure by using the __ ___ command. | ALTER TABLE |
| To add a new column, use the ___ clause of the ALTER TABLE command. | ADD |
| 8.You can change the characteristics of existing columns by using the ___ clause of the ALTER TABLE command. | MODIFY |
| You can use the ____ clause of the ALTER TABLE command to change a column that currently rejects nulls values so that it will accept null values. | MODIFY |