Exam 6: Advanced SQL
Exam 1: The Database Environment and Development Process119 Questions
Exam 2: Modeling Data in the Organization102 Questions
Exam 3: The Enhanced E-R Model102 Questions
Exam 4: Logical Database Design and the Relational Model101 Questions
Exam 5: Introduction to SQL102 Questions
Exam 6: Advanced SQL95 Questions
Exam 7: Databases in Applications93 Questions
Exam 8: Physical Database Design and Database Infrastructure167 Questions
Exam 9: Data Warehousing and Data Integration150 Questions
Exam 10: Big Data Technologies69 Questions
Exam 11: Analytics and Its Implications32 Questions
Exam 12: Data and Database Administration With Focus on Data Quality66 Questions
Exam 13: Distributed Databases100 Questions
Exam 14: Object-Oriented Data Modeling104 Questions
Select questions type
The following code is an example of a correlated subquery.
SELECT CustomerName, CustomerAddress, CustomerCity, CustomerState,
CustomerPostalCode
FROM Customer_T
WHERE Customer_T.CustomerID =
(SELECT Order_T.CustomerID
FROM Order_T
WHERE OrderID = 1008);
(True/False)
4.9/5
(78)
SQL provides the ________ technique, which involves placing an inner query within the WHERE or HAVING clause of an outer query.
(Multiple Choice)
4.9/5
(86)
All of the following are advantages of SQL-invoked routines EXCEPT:
(Multiple Choice)
4.8/5
(78)
The ________ DBA view shows information about all users of the database in Oracle.
(Multiple Choice)
4.9/5
(74)
The advantages of SQL-invoked routines are flexibility, efficiency, sharability, and applicability.
(True/False)
4.9/5
(75)
A function has only input parameters but can return multiple values.
(True/False)
5.0/5
(81)
The ________ operator is used to combine the output from multiple queries into a single result table.
(Multiple Choice)
4.9/5
(85)
The following SQL statement is an example of a correlated subquery.
SELECT First_Name, Last_Name, Total_Sales
FROM Salesman s1
WHERE Total_Sales > all
(SELECT Total_Sales FROM Salesman s2
WHERE s1.Salesman_ID != s2.Salesman_ID);
(True/False)
4.9/5
(79)
The UNION clause is used to combine the output from multiple queries into a single result table.
(True/False)
4.8/5
(82)
A subquery in which processing the inner query depends on data from the outer query is called a codependent query.
(True/False)
4.9/5
(84)
The following code would include:
SELECT Customer_T.CustomerID,CustomerName, OrderID
FROM Customer_T RIGHT OUTER JOIN Order_T ON
Customer_T.CustomerID = Order_T.CustomerID;
(Multiple Choice)
4.8/5
(90)
Establishing IF-THEN-ELSE logical processing within an SQL statement can be accomplished by:
(Multiple Choice)
4.9/5
(88)
In order to find out what customers have not placed an order for a particular item, one might use the NOT qualifier along with the IN qualifier.
(True/False)
4.8/5
(84)
Discuss some of the SQL:2011 and SQL:2016 enhancements and extensions to SQL.
(Essay)
4.9/5
(81)
Showing 41 - 60 of 95
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)