0% found this document useful (0 votes)
161 views

Advanced SQL - Database MCQ Questions and Answers - Technical Aptitude

Uploaded by

rishu kumar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
161 views

Advanced SQL - Database MCQ Questions and Answers - Technical Aptitude

Uploaded by

rishu kumar
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

7/7/23, 10:51 PM Advanced SQL - Database MCQ Questions and answers- Technical Aptitude

(https://www.examveda.com/)  Login
(https://www.exam
url=https%3A%2F%
mcq-question-
on-advanced-
sql%2F)

Home (https://www.examveda.com/) Aptitude (https://www.examveda.com/mcq-question-on-arithmetic-ability/)

English (https://www.examveda.com/mcq-question-on-competitive-english/)

Reasoning (https://www.examveda.com/mcq-question-on-competitive-reasoning/) DI (https://www.examveda.com/mcq-question-on-data-interpretation/)

GK (https://www.examveda.com/mcq-question-on-general-knowledge/) Current Affairs (https://www.examveda.com/daily-current-affairs/)

Interview (https://www.examveda.com/interview/) Computer  Programming  Engineering  Subject 

Ask Question (https://www.examveda.com/ask-question/)

Advanced SQL - Database MCQ Questions and answers- Technical Aptitude


Home (https://www.examveda.com/) / Database (https://www.examveda.com/mcq-question-on-database/) / Advanced SQL

Write More Effectively Install

Grammarly

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

A. Equi-join

B. Natural join

C. Outer join

D. All of the above

Answer & Solution Discuss in Board (https://www.examveda.com/what-type-of-join-is-needed-when-you-wish-to-include-rows-that-do-not-have-matching-values-24456/) Save for Later

Answer & Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board (https://www.examveda.com/what-type-of-join-is-needed-when-you-
wish-to-include-rows-that-do-not-have-matching-values-24456/)

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

A. Equi-join with our 8-week study planner.

https://www.examveda.com/database/practice-mcq-question-on-advanced-sql/ 1/6
7/7/23, 10:51 PM Advanced SQL - Database MCQ Questions and answers- Technical Aptitude

B. Natural join

C. Outer join

D. All of the above

Answer & Solution Discuss in Board (https://www.examveda.com/what-type-of-join-is-needed-when-you-wish-to-return-rows-that-do-have-matching-values-24457/) Save for Later

Answer & Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board (https://www.examveda.com/what-type-of-join-is-needed-when-you-
wish-to-return-rows-that-do-have-matching-values-24457/)

3. Which of the following is true concerning a procedure?

A. You do not create them with SQL.

B. They do not need to have a unique name.

C. They include procedural and SQL statements.

D. They are the same thing as a function.

Answer & Solution Discuss in Board (https://www.examveda.com/which-of-the-following-is-true-concerning-a-procedure-24458/) Save for Later

Answer & Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board (https://www.examveda.com/which-of-the-following-is-true-
concerning-a-procedure-24458/)

4. A CASE SQL statement is which of the following?

A. A way to establish an IF-THEN-ELSE in SQL.

B. A way to establish a loop in SQL.

C. A way to establish a data definition in SQL.

D. All of the above.

Answer & Solution Discuss in Board (https://www.examveda.com/a-case-sql-statement-is-which-of-the-following-24459/) Save for Later

Answer & Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board (https://www.examveda.com/a-case-sql-statement-is-which-of-the-
following-24459/)

https://www.examveda.com/database/practice-mcq-question-on-advanced-sql/ 2/6
7/7/23, 10:51 PM Advanced SQL - Database MCQ Questions and answers- Technical Aptitude

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

A. Both consist of procedural code.

B. Both have to be called to operate.

C. Both run automatically.

D. Both are stored in the database.

Answer & Solution Discuss in Board (https://www.examveda.com/which-of-the-following-statements-is-true-concerning-routines-and-triggers-24460/) Save for Later

Answer & Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board (https://www.examveda.com/which-of-the-following-statements-is-
true-concerning-routines-and-triggers-24460/)

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

A. Subqueries

B. Union Join

C. Natural join

D. All of the above

Answer & Solution Discuss in Board (https://www.examveda.com/which-of-the-following-is-one-of-the-basic-approaches-for-joining-tables-24461/) Save for Later

Answer & Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board (https://www.examveda.com/which-of-the-following-is-one-of-the-
basic-approaches-for-joining-tables-24461/)

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

A. RDBMS store database definition information in system-created tables.

B. This information can be accessed using SQL.

C. This information often cannot be updated by a user.

D. All of the above.

Answer & Solution Discuss in Board (https://www.examveda.com/which-of-the-following-is-true-concerning-systems-information-in-an-rdbms-24462/) Save for Later

https://www.examveda.com/database/practice-mcq-question-on-advanced-sql/ 3/6
7/7/23, 10:51 PM Advanced SQL - Database MCQ Questions and answers- Technical Aptitude

Answer & Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board (https://www.examveda.com/which-of-the-following-is-true-
concerning-systems-information-in-an-rdbms-24462/)

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

A. Equi-join

B. Natural join

C. Outer join

D. Cartesian join

Answer & Solution

Discuss in Board (https://www.examveda.com/the-following-sql-is-which-type-of-join-select-customer-t-customer-id-order-t-customer-id-name-order-id-from-customer-t-ordert-where-customer-t-


customer-id-order-t-customer-id-24463/)

Save for Later

Answer & Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board (https://www.examveda.com/the-following-sql-is-which-type-of-join-
select-customer-t-customer-id-order-t-customer-id-name-order-id-from-customer-t-ordert-where-customer-t-customer-id-order-t-
customer-id-24463/)

9. Embedded SQL is which of the following?

A. Hard-coded SQL statements in a program language such as Java.

B. The process of making an application capable of generating specific SQL code on the fly.

C. Hard-coded SQL statements in a procedure.

D. Hard-coded SQL statements in a trigger.

Answer & Solution Discuss in Board (https://www.examveda.com/embedded-sql-is-which-of-the-following-24464/) Save for Later

Answer & Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board (https://www.examveda.com/embedded-sql-is-which-of-the-following-
24464/)

https://www.examveda.com/database/practice-mcq-question-on-advanced-sql/ 4/6
7/7/23, 10:51 PM Advanced SQL - Database MCQ Questions and answers- Technical Aptitude

10. A UNION query is which of the following?

A. Combines the output from no more than two queries and must include the same number of columns.

B. Combines the output from no more than two queries and does not include the same number of columns.

C. Combines the output from multiple queries and must include the same number of columns.

D. Combines the output from multiple queries and does not include the same number of columns.

Answer & Solution Discuss in Board (https://www.examveda.com/a-union-query-is-which-of-the-following-24465/) Save for Later

Answer & Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board (https://www.examveda.com/a-union-query-is-which-of-the-following-
24465/)

View BDD Reports In 3 Formats


Automate BDD Test Cases
No more abstraction! Just automated BDD test creation and maintenance.

katalon.com OPEN

1 2 (https://www.examveda.com:443/database/practice-mcq-question-on-advanced-sql/?page=2)

3 (https://www.examveda.com:443/database/practice-mcq-question-on-advanced-sql/?page=3)

 (https://www.examveda.com:443/database/practice-mcq-question-on-advanced-sql/?page=2)

Live Football Score


AiScore

Copyright © 2023 Examveda.com (https://www.examveda.com/)   


(https://www.tw
(https://w
(http

https://www.examveda.com/database/practice-mcq-question-on-advanced-sql/ 5/6
7/7/23, 10:51 PM Advanced SQL - Database MCQ Questions and answers- Technical Aptitude

About Us | (https://www.examveda.com/about/) Terms & Condition | (https://www.examveda.com/terms-and-condition/) Privacy Policy | (https://www.examveda.com/privacy-policy/)


Contact Us (https://www.examveda.com/contact-us/)

https://www.examveda.com/database/practice-mcq-question-on-advanced-sql/ 6/6

You might also like