Vidyalelo
Database · all questions

Advanced SQL
practice.

Practice every MCQ with options. Use Show answers when you want the correct option and solution.

29

Questions

1/2

Page

Pick an option on a question to see the right answer and solution.

What type of join is needed when you wish to include rows that do not have matching values?

Select an option to see the answer and solution.

What type of join is needed when you wish to return rows that do have matching values?

Select an option to see the answer and solution.

Which of the following is true concerning a procedure?

Select an option to see the answer and solution.

A CASE SQL statement is which of the following?

Select an option to see the answer and solution.

Which of the following statements is true concerning routines and triggers?

Select an option to see the answer and solution.

Which of the following is one of the basic approaches for joining tables?

Select an option to see the answer and solution.

Which of the following is true concerning systems information in an RDBMS?

Select an option to see the answer and solution.

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

Select an option to see the answer and solution.

Embedded SQL is which of the following?

Select an option to see the answer and solution.

A UNION query is which of the following?

Select an option to see the answer and solution.

Which of the following statements is true concerning subqueries?

Select an option to see the answer and solution.

Which of the following is a correlated subquery?

Select an option to see the answer and solution.

How many tables may be included with a join?

Select an option to see the answer and solution.

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 ;

Select an option to see the answer and solution.

Which of the following is true concerning triggers?

Select an option to see the answer and solution.

Triggers are stored blocks of code that have to be called in order to operate.

Select an option to see the answer and solution.

The joining technique is useful when data from several relations are to be retrieved and displayed and the relationships are not necessarily nested.

Select an option to see the answer and solution.

There should be one condition within the WHERE clause for each pair of tables being joined.

Select an option to see the answer and solution.

Subqueries can be nested multiple times.

Select an option to see the answer and solution.

The code to create triggers and routines is stored in only one location and is administered centrally.

Select an option to see the answer and solution.