Relational Database Design Final Exam - 600 Verified Questions

Page 1


Relational Database Design

Final Exam

Course Introduction

Relational Database Design explores the fundamental concepts and practices involved in designing efficient, reliable, and scalable relational database systems. The course covers the principles of data modeling, normalization, entity-relationship diagrams, and schema refinement to ensure data integrity and reduce redundancy. Students learn Structured Query Language (SQL) for creating, querying, and maintaining databases, as well as best practices for indexing and optimizing database performance. Real-world case studies and hands-on projects provide practical experience in designing robust databases to meet the needs of various applications and industries.

Recommended Textbook

A Guide to SQL 8th Edition by Philip J. Pratt

Available Study Resources on Quizplus

8 Chapters

600 Verified Questions

600 Flashcards

Source URL: https://quizplus.com/study-set/1123 Page 2

Chapter 1: Introduction to Premiere Products, Henry Books, and Alexamara Marina Group

Available Study Resources on Quizplus for this Chatper

75 Verified Questions

75 Flashcards

Source URL: https://quizplus.com/quiz/22071

Sample Questions

Q1) Alexamara stores information about the boat owners to whom it rents slips in the ____________________ table.

Answer: OWNER

Q2) Each branch of Henry Books has a number that uniquely identifies the branch.

A)True

B)False

Answer: True

Q3) Each publisher has a ____ that uniquely identifies the publisher at Henry Books.

A) city

B) number

C) name

D) code

Answer: D

Q4) Ray tracks the branch's name, location, and number of ____________________ for Henry Books.

Answer: employees

Q5) The part description is stored with the information about parts.

A)True

B)False

Answer: True

To view all questions and flashcards with answers, click on the resource link above. Page 3

Chapter 2: Database Design Fundamentals

Available Study Resources on Quizplus for this Chatper

75 Verified Questions

75 Flashcards

Source URL: https://quizplus.com/quiz/22072

Sample Questions

Q1) At Premiere Products, there is a ____ relationship between sales reps and customers.

A) one-to-one

B) one-to-two

C) one-to-many

D) many-to-many

Answer: C

Q2) You can indicate a table's primary key by underlining the column or collection of columns that comprises the primary key for each table in the database.

A)True

B)False

Answer: True

Q3) A relational database is a collection of ____________________. Answer: relations tables

Q4) Each column in a table of a relational database should have a distinct name.

A)True

B)False Answer: True

To view all questions and flashcards with answers, click on the resource link above. Page 4

Chapter 3: Creating Tables

Available Study Resources on Quizplus for this Chatper

75 Verified Questions

75 Flashcards

Source URL: https://quizplus.com/quiz/22073

Sample Questions

Q1) To view the data in a table, you use the ____________________ command.

Answer: SELECT

Q2) If you added a row that should not be in a table, use a REMOVE command to remove it.

A)True

B)False

Answer: False

Q3) Table names cannot contain spaces.

A)True

B)False

Answer: True

Q4) To delete an entire table, use the ____ command and then re-create the table.

A) REMOVE TABLE

B) DELETE TABLE

C) ERASE TABLE

D) DROP TABLE

Answer: D

Q5) SQL is Structured ____________________ Language.

Answer: Query

To view all questions and flashcards with answers, click on the resource link above. Page 5

Chapter 4: Single-Table Queries

Available Study Resources on Quizplus for this Chatper

75 Verified Questions

75 Flashcards

Source URL: https://quizplus.com/quiz/22074

Sample Questions

Q1) The GROUP BY clause sorts the data in a particular order.

A)True

B)False

Q2) The ____ operator finds rows that do not contain a null value in the specified column.

A) IS NULL

B) NOT NULL

C) !NULL

D) IS NOT NULL

Q3) In SQL, you specify the order of data in query results by using the ____________________ clause.

Q4) In SQL for Oracle and for SQL Server, the ____ symbol is used as a wildcard to represent any collection of characters.

A) (*)

B) (%)

C) (?)

D) (!)

Q5) Oracle supports only the <> version of the "not equal to" comparison operator.

A)True

B)False

6

To view all questions and flashcards with answers, click on the resource link above.

Chapter 5: Multiple-Table Queries

Available Study Resources on Quizplus for this Chatper

75 Verified Questions

75 Flashcards

Source URL: https://quizplus.com/quiz/22075

Sample Questions

Q1) You can join tables by using a condition in the ____ clause.

A) FROM

B) WHERE

C) SELECT

D) JOIN

Q2) To retrieve data from multiple tables in a query you can use the ____ operator with a subquery.

A) AND

B) IN C) OR

D) NOT

Q3) To produce the same results as the MINUS operator, use NOT, the IN operator and a subquery.

A)True

B)False

Q4) The ____________________ of two tables is a table containing every row that is in either the first table, the second table, or both tables.

Q5) What steps should you take to construct the SQL command to join (relate) tables?

Q6) Joining a table to itself is called a(n) ____________________.

Page 7

To view all questions and flashcards with answers, click on the resource link above.

Chapter 6: Updating Data

Available Study Resources on Quizplus for this Chatper

75 Verified Questions

75 Flashcards

Source URL: https://quizplus.com/quiz/22076

Sample Questions

Q1) Which of the following is a valid SQL command?

A) COMMIT TABLE;

B) COMMIT CHANGES;

C) COMMIT DB;

D) COMMIT;

Q2) In a transaction, it is acceptable if some steps fail.

A)True

B)False

Q3) If you decide that you do not want to save the changes you have made during your current work session, you can reverse the changes by executing the ____________________ command.

Q4) One of the nicest features of a relational DBMS, such as Oracle, is the ease with which you can change table structures.

A)True

B)False

Q5) How can you use the COMMIT and ROLLBACK commands to support transactions?

Q6) To add a new column, use the ____________________ clause of the ALTER TABLE command.

Q7) You use the ____________________ command to remove rows from a table.

Page 8

Q8) Describe the format of the ALTER TABLE command to add a new column.

To view all questions and flashcards with answers, click on the resource link above.

Chapter 7: Database Administration

Available Study Resources on Quizplus for this Chatper

75 Verified Questions

75 Flashcards

Source URL: https://quizplus.com/quiz/22077

Sample Questions

Q1) With a view, the display of data can be customized to meet each user's needs.

A)True

B)False

Q2) To ensure the uniqueness of values in a non-primary key column, you can create a unique index by using the ____________________ command.

Q3) When renaming columns, you include the new column names in ____ following the name of the view.

A) single quotes

B) double quotes

C) parentheses

D) square brackets

Q4) An auxiliary key is a column in one table whose values match the primary key in another table.

A)True

B)False

Q5) A view cannot involve statistics.

A)True

B)False

Q6) ____________________ is the prevention of unauthorized access to a database.

Page 9

To view all questions and flashcards with answers, click on the resource link above.

Chapter 8: SQL Functions and Procedures

Available Study Resources on Quizplus for this Chatper

75 Verified Questions

75 Flashcards

Source URL: https://quizplus.com/quiz/22078

Sample Questions

Q1) In Access, use the & symbol to concatenate columns.

A)True

B)False

Q2) In procedural languages, you can accomplish many tasks using a single command.

A)True

B)False

Q3) A(n) ____________________ is a procedure that is executed automatically in response to an associated database operation, such as an INSERT, UPDATE, or DELETE command.

Q4) A function can have more than one argument.

A)True

B)False

Q5) You use aggregate functions to perform calculations based on groups of records.

A)True

B)False

Q6) To concatenate columns in Oracle, you type two ____________________ between the column names.

Q7) Oracle uses ____________________ as an extension of SQL to accomplish procedural tasks.

Page 10

Q8) A procedure that updates data is called a(n) ____________________ procedure.

To view all questions and flashcards with answers, click on the resource link above. Page 11

Turn static files into dynamic content formats.

CreateΒ aΒ flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.
Relational Database Design Final Exam - 600 Verified Questions by Quizplus - Issuu