Which of the following is/are correct?
(A) An SQL query automatically eliminates the 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
Answer: (D)
Explanation: An SQL does not remove duplicates like relational algebra projection, we have to remove it using distinct.
An SQL will work slowly but surely if there are no indexes.
An SQL does not permit 2 attributes of same name in a relation.
So, none of the options (a), (b) and (c) are correct. Hence, option (d) is Answer.
Quiz of this Question
Recommended Posts:
- GATE | GATE CS 1999 | Question 36
- GATE | GATE CS 1999 | Question 26
- GATE | GATE CS 1999 | Question 27
- GATE | GATE CS 1999 | Question 28
- GATE | GATE CS 1999 | Question 29
- GATE | GATE CS 1999 | Question 30
- GATE | GATE CS 1999 | Question 32
- GATE | GATE CS 1999 | Question 57
- GATE | GATE CS 1999 | Question 56
- GATE | GATE CS 1999 | Question 48
- GATE | GATE CS 1999 | Question 49
- GATE | GATE CS 1999 | Question 1
- GATE | GATE CS 1999 | Question 2
- GATE | GATE CS 1999 | Question 3
- GATE | GATE CS 1999 | Question 4
- GATE | GATE CS 1999 | Question 5
- GATE | GATE CS 1999 | Question 6
- GATE | GATE CS 1999 | Question 7
- GATE | GATE CS 1999 | Question 8
- GATE | GATE CS 1999 | Question 9

