Exam 7: Advanced SQL

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

The following query will execute without errors. select customer.customer_name, salesman.sales_quota from customer where customer.salesman_id = (select salesman_id where lname = 'SMITH');

(True/False)
4.9/5
(79)

IF-THEN-ELSE logical processing cannot be accomplished within an SQL statement.

(True/False)
4.7/5
(85)

What strategies can be used to write queries that run more efficiently?

(Essay)
4.9/5
(71)

A join operation:

(Multiple Choice)
4.8/5
(79)

Transaction integrity commands are not used to identify whole units of database changes that must be completed in full for the database to retain integrity.

(True/False)
4.7/5
(89)

What are some tips for developing queries?

(Essay)
4.9/5
(82)

________ takes a value of TRUE if a subquery returns an intermediate results table which contains one or more rows.

(Multiple Choice)
4.8/5
(93)

A named set of SQL statements that are considered when a data modification occurs are called:

(Multiple Choice)
4.8/5
(71)

Discuss some of the SQL:2008 enhancements and extensions to SQL.

(Essay)
4.9/5
(81)

The ________ DBA view shows information about all users of the database in Oracle.

(Multiple Choice)
4.8/5
(85)

The UNION clause is used to combine the output from multiple queries into a single result table.

(True/False)
4.8/5
(80)

Dynamic SQL:

(Multiple Choice)
4.8/5
(78)

SQL:2008 allows one to calculate linear regressions, moving averages and correlations without moving the data outside of the database.

(True/False)
4.8/5
(76)

The joining condition of an equi-join is based upon an equality.

(True/False)
5.0/5
(88)

The following code is an example of a(n): SELECT Customer_T.CustomerID, Order_T.CustomerID, CustomerName, OrderID FROM Customer_T, Order_T WHERE Customer_T.CustomerID = Order_T. CustomerID;

(Multiple Choice)
4.9/5
(94)

Establishing IF-THEN-ELSE logical processing within an SQL statement can be accomplished by:

(Multiple Choice)
4.8/5
(89)

EXISTS takes a value of false if the subquery returns an intermediate result set.

(True/False)
4.9/5
(75)

The following code would include: SELECT Customer_T.CustomerID,CustomerName, OrderID FROM Customer_T LEFT OUTER JOIN Order_T ON Customer_T.CustomerID = Order_T.CustomerID;

(Multiple Choice)
4.8/5
(80)

A join in which the joining condition is based on equality between values in the common column is called an equi-join.

(True/False)
5.0/5
(74)

The natural join is very rarely used.

(True/False)
4.9/5
(80)
Showing 41 - 60 of 107
close modal

Filters

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