Exam 8: Advanced SQL

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

A ____ is a query (SELECT statement)inside a query.

(Multiple Choice)
4.8/5
(45)

When using a(n)____ join,only rows that meet the given criteria are returned.

(Multiple Choice)
4.9/5
(42)

Stored procedures help reduce code duplication by means of code isolation and code sharing.

(True/False)
4.8/5
(29)

In Oracle,you can use the SQL*Plus command SHOW ERRORS to help you diagnose errors found in PL/SQL blocks.

(True/False)
4.8/5
(41)

PL/SQL functions are executed in the same way as functions such as MIN and AVG.

(True/False)
4.9/5
(24)

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

(Short Answer)
4.8/5
(32)

Just like database triggers,stored procedures are stored in the database.

(True/False)
4.7/5
(31)

Oracle uses the ____________________ function to extract the various parts of a date.

(Short Answer)
4.9/5
(37)

The syntax for a left outer join is ____.

(Multiple Choice)
4.9/5
(41)

"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
(33)

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

The ____ query combines rows from two queries and excludes duplicates.

(Multiple Choice)
4.8/5
(34)

To test a trigger,you should use the EXECUTE TRIGGER command.

(True/False)
4.8/5
(35)

The Oracle ____ function compares an attribute or expression with a series of values and returns an associated value or a default value if no match is found.

(Multiple Choice)
4.9/5
(37)

The ____________________ function compares an attribute or expression with a series of values and returns an associated value or a default value if no match is found.

(Short Answer)
4.9/5
(33)

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

The Oracle ____ function returns the current date.

(Multiple Choice)
4.9/5
(31)

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

If you wish to create an inner join,but the two tables do not have a commonly named attribute,you can use a(n)____ clause.

(Multiple Choice)
4.9/5
(38)

UNION,INTERSECT,and MINUS work properly only if relations are union-compatible,which means that the names of the relation attributes and their data types must be different.

(True/False)
4.8/5
(27)
Showing 21 - 40 of 100
close modal

Filters

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