Exam 8: Advanced SQL
Exam 1: Database Systems70 Questions
Exam 2: Data Models70 Questions
Exam 3: The Relational Database Model100 Questions
Exam 4: Entity Relationship (ER)Modeling100 Questions
Exam 5: Advanced Data Modeling70 Questions
Exam 6: Normalization of Database Tables100 Questions
Exam 7: Introduction to Structured Query Language (SQL)100 Questions
Exam 8: Advanced SQL100 Questions
Exam 9: Database Design100 Questions
Exam 10: Transaction Management and Concurrency Control70 Questions
Exam 11: Database Performance Tuning and Query Optimization70 Questions
Exam 12: Distributed Database Management Systems70 Questions
Exam 13: Business Intelligence and Data Warehouses100 Questions
Exam 14: Database Connectivity and Web Technologies100 Questions
Exam 15: Database Administration and Security100 Questions
Select questions type
Cursor-style processing involves retrieving data from the cursor,one row at a time.
(True/False)
4.8/5
(35)
In Oracle,you can use the SQL*Plus command SHOW ERRORS to help you diagnose errors found in PL/SQL blocks.
(True/False)
4.9/5
(36)
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.7/5
(35)
The ____ operator could be used in place of MINUS if the RDBMS does not support it.
(Multiple Choice)
4.9/5
(37)
An alternate syntax for a join is SELECT column-list FROM table1 JOIN table2 ____________________ (common-column).
(Short Answer)
4.8/5
(36)
A(n)____ join will select only the rows with common values in the common attribute(s).
(Multiple Choice)
4.9/5
(33)
Using Oracle ____________________,you can write a PL/SQL code block by enclosing the commands inside BEGIN and END clauses.
(Short Answer)
4.8/5
(47)
An implicit cursor is automatically created in procedural SQL when the SQL statement returns only one value.
(True/False)
4.8/5
(34)
Stored procedures help reduce code duplication by means of code isolation and code sharing.
(True/False)
4.8/5
(37)
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.7/5
(31)
What are the four different result types that can be returned from a subquery? For each type,explain what it is and when it is used.
(Essay)
4.8/5
(41)
The ____________________ statement can be used to combine rows from two queries,returning only the rows that appear in both sets.
(Short Answer)
4.9/5
(29)
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
(31)
A(n)____________________ query can be used to produce a relation that retains the duplicate rows.
(Short Answer)
4.7/5
(40)
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
(36)
Showing 81 - 100 of 100
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)