midterm2

midterm2 - TCSS445A Design Database Systems Spring 2004...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
TCSS445A Database Systems Design Spring 2004 First Name:____________ Last Name:____________________________ ID: Final Midterm Part I (20%, each question is worth 1 point) Check the letter of the choice that best completes the statement or answers the question. 1. The SQL command that lets you insert data into a table, one row at a time, is (check only one): a. commit. b. insert. c. select. d. update. 2. The SQL command that lets you save your work to disk, is (check only one) a. insert. b. rollback. c. commit. d. update. 3. To list all the contents of a PRODUCT table you would use (check only one) a. LIST * FROM PRODUCT; b. SELECT * FROM PRODUCT; c. DISPLAY * FROM PRODUCT; d. SELECT ALL FROM PRODUCT; 4. To restore the table contents, the command to be used is (check only one) a. commit; rollback; b. rollback; c. commit; restore; d. commit; backup; 5. The basic SQL aggregate function that gives the total of all values for a selected attribute in a given column is (check only one) a. COUNT. b. MIN. c. SUM. d. AVG. 6. A trigger is a procedural SQL code that is automatically invoked by the RDBMS upon the occurrence of a data manipulation event (check only one) a. A trigger is always invoked before or after a data row is selected, inserted, or updated. b. A trigger cannot be associated with a database table. c. Each database table must have one or more triggers. d. All of the above. 7. The coding, testing, and debugging are part of the (check only one) 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
TCSS445A Database Systems Design Spring 2004 a. Maintenance phase. b.
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 9

midterm2 - TCSS445A Design Database Systems Spring 2004...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online