Chapter06Review - Database Processing Ninth Edition CHAPTER...

Info icon This 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
Image of page 1

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

View Full Document Right 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
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: True Level: moderate Page: 201 22. The WHERE clause contains the condition that specifies which columns are to be selected.
Image of page 3

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

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

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern