CRC
August 30, 2024
Sliding-Window-Protocol
August 31, 2024
CRC
August 30, 2024
Sliding-Window-Protocol
August 31, 2024

Relational-Algebra

Question 17

Consider the relation Student (name, sex, marks), where the primary key is shown underlined, pertaining to students in a class that has at least one boy and one girl. What does the following relational algebra expression produce? (Note: p is the rename operator).

The condition in join is “(sex = female ^ x = male ^ marks ≤ m)”

A
names of girl students with the highest marks
B
names of girl students with more marks than some boy student
C
names of girl students with marks not less than some boy students
D
names of girl students with more marks than all the boy students
Question 17 Explanation: 
In the operator ‘-‘ between the two subexpression gives the names of all female students whose marks are greater than the all the male students of the class.
Correct Answer: D
Question 17 Explanation: 
In the operator ‘-‘ between the two subexpression gives the names of all female students whose marks are greater than the all the male students of the class.
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!