Question: Consider the following GRADEBOOK relational schema describing the data for a grade book of a particular instructor. CATALOG(Cno, Ctitle) STUDENTS(Sid, Fname, Lname, Minit) COURSES(Term, Sec_no,
Consider the following GRADEBOOK relational schema describing the data for a grade book of a particular instructor.
CATALOG(Cno, Ctitle)
STUDENTS(Sid, Fname, Lname, Minit)
COURSES(Term, Sec_no, Cno, A, B, C, D)
ENROLLS(Sid, Term, Sec_no)
Specify and execute the following queries using the RA interpreter on the GRADEBOOK database schema.
a. Retrieve the names of students enrolled in the Automata class during the fall 2009 term.
b. Retrieve the Sid values of students who have enrolled in CSc226 and CSc227.
c. Retrieve the Sid values of students who have enrolled in CSc226 or CSc227.
d. Retrieve the names of students who have not enrolled in any class.
e. Retrieve the names of students who have enrolled in all courses in the CATALOG table.
Step by Step Solution
3.33 Rating (183 Votes )
There are 3 Steps involved in it
a SQL Thomas has enrolled SQL select catalogcno ctitle 2 from catalog courses enrolls students 3 whe... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
1013-C-S-O-S (797).docx
120 KBs Word File
