The figure below shows a sample database containing information about: · Students and their registrations · Courses and their sections · Faculty and their qualified courses The sample data is shown in...


The figure below shows a sample database containing information about:


·        Students and their registrations


·        Courses and their sections


·        Faculty and their qualified courses


The sample data is shown in each table for your understanding.





Write SQL DML commands to do the following tasks:



  1. What are the names of the course(s) that student Altvater took during the semester I-2015?

  2. List names of the students who have taken at least one course that Professor Collins is qualified to teach.

  3. How many students did Professor Collins teach during the semester I-2015?

  4. How many students were enrolled in section 2714 during semester I-2015?



Note:


If a faculty member has qualified a course, then he is eligible to teach that course.


Moreover, you can also consider the Qualified table as the Faculty Course Allocation table.


STUDENT (StudentID, StudentName)<br>QUALIFIED (FacultylD. CourselD, DateQualified)<br>StudentID<br>StudentName<br>FacultylD<br>CourselD<br>DateQualified<br>IŠM 3112<br>ISM 3113<br>38214<br>Letersky<br>Altvater<br>2143<br>9/2005<br>54907<br>2143<br>9/2005<br>ISM 4212<br>IŠM 4930<br>ISM 3113<br>ISM 3112<br>66324<br>Aiken<br>Marra<br>3467<br>9/2012<br>9/2013<br>70542<br>3467<br>4756<br>9/2008<br>9/2008<br>4756<br>FACULTY (FacultylD, FacultyName)<br>SECTION (SectionNo, Semester, CourselD)<br>FacultyID<br>FacultyName<br>SectionNo<br>Semester<br>CourselD<br>ISM 3113<br>ISM 3113<br>ISM 4212<br>2143<br>Birkin<br>2712<br>-2015<br>3467<br>Berndt<br>2713<br>-2015<br>Il-2015<br>4756<br>Collins<br>2714<br>2715<br>Il-2015<br>ISM 4930<br>COURSE (CourselD, CourseName)<br>REGISTRATION (StudentID, SectionNo)<br>CourselD<br>StudentID<br>CourseName<br>SectionNo<br>ISM 3113<br>Syst Analysis<br>38214<br>2714<br>ISM 3112<br>IŠM 4212<br>ISM 4930<br>Syst Design<br>Database<br>54907<br>2714<br>54907<br>2715<br>Networking<br>66324<br>2713<br>

Extracted text: STUDENT (StudentID, StudentName) QUALIFIED (FacultylD. CourselD, DateQualified) StudentID StudentName FacultylD CourselD DateQualified IŠM 3112 ISM 3113 38214 Letersky Altvater 2143 9/2005 54907 2143 9/2005 ISM 4212 IŠM 4930 ISM 3113 ISM 3112 66324 Aiken Marra 3467 9/2012 9/2013 70542 3467 4756 9/2008 9/2008 4756 FACULTY (FacultylD, FacultyName) SECTION (SectionNo, Semester, CourselD) FacultyID FacultyName SectionNo Semester CourselD ISM 3113 ISM 3113 ISM 4212 2143 Birkin 2712 -2015 3467 Berndt 2713 -2015 Il-2015 4756 Collins 2714 2715 Il-2015 ISM 4930 COURSE (CourselD, CourseName) REGISTRATION (StudentID, SectionNo) CourselD StudentID CourseName SectionNo ISM 3113 Syst Analysis 38214 2714 ISM 3112 IŠM 4212 ISM 4930 Syst Design Database 54907 2714 54907 2715 Networking 66324 2713
Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here