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

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

(Multiple Choice)
4.9/5
(92)

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

(True/False)
4.8/5
(79)

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

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

(True/False)
4.9/5
(64)

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

(Short Answer)
4.8/5
(85)

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

(True/False)
4.7/5
(74)

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

(Short Answer)
4.9/5
(78)

The syntax for a left outer join is ____.

(Multiple Choice)
4.9/5
(79)

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

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

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

(Multiple Choice)
4.8/5
(90)

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

(True/False)
4.9/5
(79)

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)
5.0/5
(91)

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

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

The Oracle ____ function returns the current date.

(Multiple Choice)
4.9/5
(87)

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

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

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
(79)
Showing 21 - 40 of 100
close modal

Filters

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