Question: SQL (S) Expressions coded in the WHERE clause a. can use either aggregate search conditions o non-aggregate search conditions e search conditions te search conditions

SQL

SQL (S) Expressions coded in the WHERE clause a. can use either

(S) Expressions coded in the WHERE clause a. can use either aggregate search conditions o non-aggregate search conditions e search conditions te search conditions but can't use aggregate search conditions b. can use aggregate search conditions but can't use non-aggregat c. can use non-aggrega d. must refer to columns in the SELECT clause 4. (8 points, 4 points each) Consider the following relational schema, where the primary keys are underlined, Students(sid, sname, addrss, dept id) Courses(cid, cname, dept id) Departments(dept id, dname, college) Grades(sid, cid, year semester grade) Write the following queries in relational algebra. (1) Find the total number of stdents in each department of CSTEM college (Le, Departments.college CSTEM). (2) Find the sids and the snames of students who didn't take any courses before 2012

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!