Exam 9: Joining Data From Multiple Tables

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

   Structure of the BOOKS table     Structure of the PUBLISHER table -Which of the following SQL statements will display the title of each book in the BOOKS table and the name of its publisher? Structure of the BOOKS table    Structure of the BOOKS table     Structure of the PUBLISHER table -Which of the following SQL statements will display the title of each book in the BOOKS table and the name of its publisher? Structure of the PUBLISHER table -Which of the following SQL statements will display the title of each book in the BOOKS table and the name of its publisher?

(Multiple Choice)
4.9/5
(34)

Which of the following types of joins is created by matching equivalent values in each table?

(Multiple Choice)
4.9/5
(36)

By default, use of the JOIN keyword creates an inner join.

(True/False)
4.9/5
(41)

If a Cartesian join is used to link table A which contains five rows to table B which contains eight rows, there will be 13 rows in the results.

(True/False)
4.9/5
(37)

A join that is based upon data having equivalent data in common columns is known as a(n) ____________________ join.

(Short Answer)
4.9/5
(30)

If a Cartesian join is used to link table A which contains two rows to table B which contains eight rows, there will be sixteen rows in the results.

(True/False)
4.9/5
(30)

Tables can be joined in the  FROM \underline {\text { FROM } } clause or the WHERE clause of a SELECT statement. _________________________

(True/False)
4.8/5
(40)

By default, the  JOIN \underline { \text { JOIN } } keyword creates an inner join. _________________________

(True/False)
4.8/5
(31)

   Structure of the ORDERS table     Structure of the CUSTOMERS table -Which of the following SQL statements will list the name of each customer stored in the customers table, and, if the customer has placed an order that is contained in the ORDERS table, the order# of any order each customer has placed? Structure of the ORDERS table    Structure of the ORDERS table     Structure of the CUSTOMERS table -Which of the following SQL statements will list the name of each customer stored in the customers table, and, if the customer has placed an order that is contained in the ORDERS table, the order# of any order each customer has placed? Structure of the CUSTOMERS table -Which of the following SQL statements will list the name of each customer stored in the customers table, and, if the customer has placed an order that is contained in the ORDERS table, the order# of any order each customer has placed?

(Multiple Choice)
4.8/5
(31)

A table alias can be assigned in the FROM clause, even when tables are being joined using the NATURAL JOIN keywords.

(True/False)
4.8/5
(27)

   Structure of the BOOKS table     Structure of the PUBLISHER table -Which of the following SQL statements will display the name of each publisher that publishes a book classified in the COMPUTER category? Structure of the BOOKS table    Structure of the BOOKS table     Structure of the PUBLISHER table -Which of the following SQL statements will display the name of each publisher that publishes a book classified in the COMPUTER category? Structure of the PUBLISHER table -Which of the following SQL statements will display the name of each publisher that publishes a book classified in the COMPUTER category?

(Multiple Choice)
4.9/5
(31)

   Structure of the ORDERS table     Structure of the CUSTOMERS table -Which of the following SQL statements will return the names of all customers who placed an order on April 12, 2003? Structure of the ORDERS table    Structure of the ORDERS table     Structure of the CUSTOMERS table -Which of the following SQL statements will return the names of all customers who placed an order on April 12, 2003? Structure of the CUSTOMERS table -Which of the following SQL statements will return the names of all customers who placed an order on April 12, 2003?

(Multiple Choice)
4.7/5
(36)

A(n) ____________________ is an alternate name temporarily assigned to a table.

(Short Answer)
4.8/5
(34)

A column qualifier is used to indicate the table containing the column being referenced.

(True/False)
5.0/5
(32)

If you are joining  five \underline {\text { five } } tables in a SELECT statement, five joining conditions will be required. _________________________

(True/False)
4.9/5
(33)

Equality, non-equality, and self-joins are all categorized as inner joins.

(True/False)
4.8/5
(25)

   Structure of the BOOKS table     Structure of the PUBLISHER table -Which of the following SQL statements will display the title and cost of each book stored in the BOOKS table, as well as the name of the contact person and the phone number to call to reorder the book? Structure of the BOOKS table    Structure of the BOOKS table     Structure of the PUBLISHER table -Which of the following SQL statements will display the title and cost of each book stored in the BOOKS table, as well as the name of the contact person and the phone number to call to reorder the book? Structure of the PUBLISHER table -Which of the following SQL statements will display the title and cost of each book stored in the BOOKS table, as well as the name of the contact person and the phone number to call to reorder the book?

(Multiple Choice)
4.7/5
(22)

If the first table in a Cartesian join has five rows and the second table has three rows, the results will consist of ____________________ rows.

(Short Answer)
4.8/5
(35)

The USING clause must be used with the JOIN keyword when linking tables that do not contain a commonly named column.

(True/False)
4.8/5
(42)

If a table alias is assigned in the  SELECT \underline { \text { SELECT } } clause, it must be used any time the table is referenced in that SQL statement. _________________________

(True/False)
4.8/5
(42)
Showing 81 - 100 of 131
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)