Question: Given te Transcript database (XML document). Assume that each CrsTaken element has Grade subelement/child. Write the following queries in XQuery. Create a list of courses

Given te Transcript database (XML document). Assume that each CrsTaken element has Grade subelement/child. Write the following queries in XQuery.

Create a list of courses with the semester when the course was taught.

Find all students who had A for CS 140.

Find the courses that have been taken by at least 20 students.

List each course with the number of students taken this course in a particular semester.

Find the courses that have been taken by a student with name Kate Jones or a student having Stuid 2234.

Given te Transcript database (XML document). Assume that each CrsTaken element has

Find students who have taken at least 4 courses in Fall 2017.

List all courses in which every enrolled student took CS 242

Transcripts> = CS308 F1997 A MAT 12 3 F1 9974/Semester> A- eCrsTaken> CS305 F1995 B+ cs30S F1995 A- - "12345" "Joe Blow"w"jbloe"/> Name- CS315 F1997 A CS305 S1996 B+ MAT123/CrsCode. semester>F1997 A Transcripts> = CS308 F1997 A MAT 12 3 F1 9974/Semester> A- eCrsTaken> CS305 F1995 B+ cs30S F1995 A- - "12345" "Joe Blow"w"jbloe"/> Name- CS315 F1997 A CS305 S1996 B+ MAT123/CrsCode. semester>F1997 A

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!