CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

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 girl. What does the following relational algebra expression produce? (Note: ρ is rename operator)
name(σsex=female(Student))name(Student)
(sex=femalex=malemarksm)ρn,x,m(Student))

A
names of girl student with marks not less than some boy student
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
names of girl students with more marks than all the boy students
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
names of girl students with more marks than some boy student
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
names of girl students with the highest marks
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is B names of girl students with more marks than all the boy students
The given query computes the names of girl students with more marks than all the boy students.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
PYQs Session - 7
OTHER
Watch in App
Join BYJU'S Learning Program
CrossIcon