Consider the relational schema below: Students(sid: integer, sname: string, major: string) Courses(cid: integer, cname: string, hours: integer) Enrollment(sid: integer, cid: integer, grade: real) Write a relational algebra expression that satisfies this query? Find the distinct names of all students that take at least three courses and major in "Philosophy".
1 answer:
Solution :
Here, we need to perform JOIN operation of the students and registration.
Use NATURAL JOIN operator and so no need to specify Join condition.
Also we need to selection operator tp select only those course whose major in "philosophy".
Finally we projection operator π to project only distinct students name who took at least three courses.
You might be interested in
1 distraction is phones , texting and driving . They could have a system in their car which activated by a voice assistant who could do it al for them
Answer:
The diagram of the ER and depreciation is in the attachments.
You didn't give the options for us to choose from. But I do think I know what you are talking about. It is "Clipboard".
Answer:
yes I am having the same problem I take a picture and it says something is wrong with connection
Cause they make up half the population of the united states of america