Chapter06Review

Chapter06Review - Database Processing Ninth Edition CHAPTER...

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

View Full Document Right Arrow Icon
Database Processing, Ninth Edition CHAPTER 6 Introduction to Structured Query Language (SQL) True-False Questions 1. SQL stands for Standard Query Language . Answer: False Level: easy Page: 191 2. In addition to being a data sublanguage, SQL is also a programming language, like COBOL. Answer: False Level: moderate Page: 191 3. SQL commands can be embedded in application programs. Answer: True Level: hard Page: 191 4. SQL was developed by IBM in the late 1970s. Answer: True Level: easy Page: 192 5. SQL, although very popular, has never become a national standard. Answer: False Level: moderate Page: 192 6. SQL is only a data manipulation language (DML). Answer: False Level: hard Page: 192 7. SQL statements are ended with a colon. Answer: False Level: easy Page: 193 8. The SQL keyword CREATE is used to name a new table and describe the table's columns. Answer: True Level: easy Page: 194 9. The SQL keyword MODIFY is used to change the structure, properties or constraints of a table. Answer: False Level: easy Page: 196 6 - 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
Chapter 6 - Introduction to Structured Query Language (SQL) 10. One advantage of using the ALTER command to define a primary key is that the database designer controls the name of the primary key. Answer: False Level: moderate Page: 195 11. If the table PRODUCT has a column PRICE, and PRICE has the data type Numeric (8,2), then the values stored for this attribute will be stored as eight digits with no stored decimal point. Answer: True Level: moderate Page: 195 12. If the table PRODUCT has a column PRICE that has the data type Numeric (8,2), the value 98765 will be displayed by the DBMS as 98765.00 Answer: False Level: moderate Page: 195 13. All constraints are stored in the database metadata. Answer: True Level: hard Page: 195 14. The SQL keyword DELETE is used to delete a table's structure. Answer: False Level: easy Page: 198 15. When the correct SQL command is used to delete a table's structure, the command can only be used with a table that has already had its data removed. Answer: False Level: moderate Page: 198 16. SQL can only query a single table. Answer: False Level: moderate Page: 208 17. The SQL keyword FROM is used to specify the table to be used. Answer: True Level: easy Page: 200 18. The columns to be obtained by an SQL command are listed after the FROM keyword. Answer: False Level: moderate Page: 200 19. The result of an SQL SELECT operation can contain duplicate rows. Answer: True Level: moderate Page: 200 20. To have SQL automatically eliminate duplicate rows from a result, use the qualifier DISTINCT with the FROM keyword. Answer: False Level: hard Page: 200 6 - 2
Background image of page 2
Chapter 6 - Introduction to Structured Query Language (SQL) 21. An asterisk (*) following the SELECT verb means that all columns are to be obtained. Answer:
Background image of page 3

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

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 09/20/2009 for the course DBMS 3730 taught by Professor Lucas during the Spring '09 term at Georgia State.

Page1 / 23

Chapter06Review - Database Processing Ninth Edition CHAPTER...

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

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