he 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: List the IDs of all faculty members who are qualified to teach both ISM 3112 and ISM 3113. Modify the query above in part 16 so that both qualifications must have been earned after the year 2005. List the ID of the faculty member who has been assigned to teach ISM 4212 during the semester II-2015. Display the course ID and course name for all courses with an ISM prefix

Np Ms Office 365/Excel 2016 I Ntermed
1st Edition
ISBN:9781337508841
Author:Carey
Publisher:Carey
Chapter7: Developing An Excel Application
Section: Chapter Questions
Problem 3RA
icon
Related questions
Question

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. List the IDs of all faculty members who are qualified to teach both ISM 3112 and ISM 3113.
  2. Modify the query above in part 16 so that both qualifications must have been earned after the year 2005.
  3. List the ID of the faculty member who has been assigned to teach ISM 4212 during the semester II-2015.
  4. Display the course ID and course name for all courses with an ISM prefix.
  5. Display all courses for which Professor Berndt has been qualified.
  6. Display the class roster, including student name, for all students enrolled in section 2714 of ISM 4212. Class roster means attendance list.
  7. Which instructors are qualified to teach ISM 3113?
  8. Is any instructor qualified to teach ISM 3113 and not qualified to teach ISM 4930?
  9. What are the names of the course(s) that student Altvater took during the semester I-2015?
  10. List names of the students who have taken at least one course that Professor Collins is qualified to teach.
  11. How many students did Professor Collins teach during the semester I-2015?
  12. How many students were enrolled in section 2714 during semester I-2015?
  13. How many students were enrolled in ISM 3113 during semester I-2015?
  14. Which students were not enrolled in any courses during semester I-2015?
  15. Find the name of faculty member who taught ISM 3113 course in I-2015 semester.

 

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)
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
Transcribed Image 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
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
SQL Query
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage