Exam 6: Procedural Language Sql and Advanced Sql

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

The following SQL statement uses a(n) ____. SELECT P_CODE, P_DESCRIPT, P_PRICE, V_NAME FROM PRODUCT, VENDOR WHERE PRODUCT.V_CODE = VENDOR.V_CODE;

(Multiple Choice)
4.8/5
(34)

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

(True/False)
4.8/5
(38)

A trigger is procedural SQL code that is automatically invoked by the RDBMS upon the occurrence of a given data manipulation event.

(True/False)
4.8/5
(21)

An alternate syntax for a join is SELECT column-list FROM table1 JOIN table2 ____________________ (common-column).

(Short Answer)
4.8/5
(41)

How many rows would be returned from a cross join of tables A and B, if A contains 8 rows and B contains 18?

(Multiple Choice)
4.9/5
(34)

What are SQL functions and when are they used? Provide a couple of examples of situations in which they are necessary.

(Essay)
4.8/5
(27)

In a subquery, the ____ query is executed first.

(Multiple Choice)
4.8/5
(33)

The NEXT command for a cursor is used to retrieve a row from the cursor and place it in the respective PL/SQL variables.

(True/False)
4.9/5
(30)

The ____________________ join is the traditional join in which only rows that meet a given criteria are selected.

(Short Answer)
4.9/5
(33)

One of the major advantages of stored procedures is that they can be used to encapsulate and represent business transactions.

(True/False)
4.8/5
(36)

The Oracle string concatenation function is ____.

(Multiple Choice)
4.8/5
(39)

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.8/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.8/5
(44)

"Linked SQL" is a term used to refer to SQL statements that are contained within an application programming language such as COBOL, C++, ASP, Java, or ColdFusion.

(True/False)
4.9/5
(25)

Procedural code is executed on the database client machine.

(True/False)
4.8/5
(31)

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

(True/False)
4.9/5
(41)

Assume you are using the MINUS 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 MINUS operator?

(Multiple Choice)
4.9/5
(31)

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
(31)

In Oracle, ____ make(s) it possible to merge SQL and traditional programming constructs, such as variables, conditional processing (IF-THEN-ELSE), basic loops (FOR and WHILE loops,) and error trapping.

(Multiple Choice)
4.9/5
(32)

Assume you are using the UNION 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 operator?

(Multiple Choice)
4.8/5
(23)
Showing 41 - 60 of 100
close modal

Filters

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