| |
| META TOPICPARENT |
name="CSC210SylS2026" |
SQL Lab 2
This lab uses the enrollment data.
|
| |
- Display the day (including the time) of each reservation of a boat. NOTE: this is using the sailors data, not the enrollment data. Also be aware what is stored in the data affects what results are seen.
- Display the max course number and min course number offered by each semester and year
- Display the number of students take have taken the same course more than twice.
|
|
< < |
- For each student, classify them based upon how often they have retaken a course: at most 1 -> standard, 2 -> learned lesson, 3 -> stubborn, > 4 -> struggling
|
> > |
- Extra Credit: For each student, classify them based upon how often they have retaken a course: at most 1 -> standard, 2 -> learned lesson, 3 -> stubborn, > 4 -> struggling
|
| |
- List the codes for the courses that have at least one class with an enrollment greater than 300 during the year of 2003
- Display all students names sorted alphabetically by last name then first name. You may assume that each student only has two names listed.
Part B (using only joins) Do not use the word "join" in any sql statement
- Display the title of each course you were enrolled in last semester
|
|
< < |
- Display the all the rooms associated with the classes you took last spring
|
> > |
- Display the all the rooms associated with the classes a student took in a specific semester (you get to pick which semester and which student)
|
| |
- Find the names of all the instructors teaching in the Religion and Philosophy department last year.
- Display your schedule from last fall
- Display the name, email, and major of all students majoring last spring in one major of your choice.
|