Exam 8: Advanced SQL

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

A stored function uses the ____ statement to return a value.

(Multiple Choice)
5.0/5
(32)

Assume you are using the UNION ALL operator to combine the results from two tables with identical structure,CUSTOMER and CUSTOMER_2.The CUSTOMER table contains 10 rows,while the CUSTOMER_2 table contains 7 rows.Customers Dunne and Olowski are included in the CUSTOMER table as well as in the CUSTOMER_2 table.How many records are returned when using the UNION ALL operator?

(Multiple Choice)
4.9/5
(34)

Explain the different types of join operations.What are they and how do they work?

(Essay)
5.0/5
(41)

The ____________________ statement in SQL combines rows from two queries and returns only the rows that appear in the first set but not in the second.

(Short Answer)
4.9/5
(29)

Triggers can only be used to update table values.

(True/False)
4.9/5
(31)

Triggers are critical to proper database operation and management.What are some of the ways that triggers are used?

(Essay)
4.8/5
(34)

Each statement inside the PL/SQL code must end with a period (".").

(True/False)
4.7/5
(32)

SQL supports the conditional execution of procedures (if..then...else statements)that are typically supported by a programming language.

(True/False)
4.7/5
(40)

A(n)____ join returns not only the rows matching the join condition (that is,rows with matching values in the common columns)but also the rows with unmatched values.

(Multiple Choice)
4.9/5
(32)

Stored procedures must have at least one argument.

(True/False)
4.7/5
(31)

In a subquery,the ____ query is executed first.

(Multiple Choice)
4.8/5
(35)

Every PL/SQL block must be given a name.

(True/False)
4.8/5
(35)

One of the disadvantages of stored procedures is that they increase network traffic.

(True/False)
4.9/5
(34)

____ is a relational set operator.

(Multiple Choice)
4.9/5
(29)

Stored procedures are executed using the EXEC command.

(True/False)
4.9/5
(34)

The use of the ____________________ operator allows you to compare a single value with a list of values returned by the first subquery (sqA)using a comparison operator other than EQUALS.

(Short Answer)
4.9/5
(33)

Automating business procedures and automatically maintaining data integrity and consistency are trivial in a modern business environment.

(True/False)
4.8/5
(30)

A(n)____________________ join returns not only the matching rows but also the rows with unmatched attribute values for one or both tables to be joined.

(Short Answer)
4.9/5
(35)

In MS Access,you can use the ____________________ data type to define a column in your table that will be automatically populated with unique numeric values.

(Short Answer)
4.9/5
(35)

Assume you are using the INTERSECT operator to combine the results from two tables with identical structure,CUSTOMER and CUSTOMER_2.The CUSTOMER table contains 10 rows,while the CUSTOMER_2 table contains 7 rows.Customers Dunne and Olowski are included in the CUSTOMER table as well as in the CUSTOMER_2 table.How many records are returned when using the INTERSECT operator?

(Multiple Choice)
4.9/5
(26)
Showing 61 - 80 of 100
close modal

Filters

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