Database - Advanced SQL

Exercise : Advanced SQL - General Questions
6.
Which of the following is one of the basic approaches for joining tables?
Subqueries
Union Join
Natural join
All of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

7.
Which of the following is true concerning systems information in an RDBMS?
RDBMS store database definition information in system-created tables.
This information can be accessed using SQL.
This information often cannot be updated by a user.
All of the above.
Answer: Option
Explanation:
No answer description is available. Let's discuss.

8.
The following SQL is which type of join: SELECT CUSTOMER_T. CUSTOMER_ID, ORDER_T. CUSTOMER_ID, NAME, ORDER_ID FROM CUSTOMER_T,ORDER_T WHERE CUSTOMER_T. CUSTOMER_ID = ORDER_T. CUSTOMER_ID
Equi-join
Natural join
Outer join
Cartesian join
Answer: Option
Explanation:
No answer description is available. Let's discuss.

9.
Embedded SQL is which of the following?
Hard-coded SQL statements in a program language such as Java.
The process of making an application capable of generating specific SQL code on the fly.
Hard-coded SQL statements in a procedure.
Hard-coded SQL statements in a trigger.
Answer: Option
Explanation:
No answer description is available. Let's discuss.

10.
A UNION query is which of the following?
Combines the output from no more than two queries and must include the same number of columns.
Combines the output from no more than two queries and does not include the same number of columns.
Combines the output from multiple queries and must include the same number of columns.
Combines the output from multiple queries and does not include the same number of columns.
Answer: Option
Explanation:
No answer description is available. Let's discuss.