Database-Management-System
December 7, 2023
Database-Management-System
December 7, 2023
Database-Management-System
December 7, 2023
Database-Management-System
December 7, 2023

Database-Management-System

Question 39

Which of the following is/are correct?

A
An SQL query automatically eliminates duplicates
B
An SQL query will not work if there are no indexes on the relations
C
SQL permits attribute names to be repeated in the same relation
D
None of the above
Question 39 Explanation: 
→ SQL won’t remove duplicates like relational algebra projection, we have to remove it explicitly by distinct.
→ If there are no indexes on the relation SQL, then also it works.
→ SQL does not permit 2 attributes to have same name in a relation.
Correct Answer: D
Question 39 Explanation: 
→ SQL won’t remove duplicates like relational algebra projection, we have to remove it explicitly by distinct.
→ If there are no indexes on the relation SQL, then also it works.
→ SQL does not permit 2 attributes to have same name in a relation.

Leave a Reply

Your email address will not be published. Required fields are marked *