Question: We will use the database schema from the SQL assignment: student | sid cours e cidprerequisite | cid pre.cid record sid cid qtr year grade

We will use the database schema from the SQL assignment: student | sid cours e cidprerequisite | cid pre.cid record sid cid qtr year grade Find the courses taken by every student who has taken MATH202A. Note that, if no student has taken MATH202A, then all courses should be in the answer. Do the following i) write the query in relational calculus using (at least one) universal quantification V (ii) rewrite the query in (i) in using only existential quantification (ii) write the SQL query corresponding directly to the relational calculus query in (ii), that uses only NOT EXISTS tests on nested queries We will use the database schema from the SQL assignment: student | sid cours e cidprerequisite | cid pre.cid record sid cid qtr year grade Find the courses taken by every student who has taken MATH202A. Note that, if no student has taken MATH202A, then all courses should be in the answer. Do the following i) write the query in relational calculus using (at least one) universal quantification V (ii) rewrite the query in (i) in using only existential quantification (ii) write the SQL query corresponding directly to the relational calculus query in (ii), that uses only NOT EXISTS tests on nested queries
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
