Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Exercise 4 ( 3 0 points ) : Professor Victoria Emmerline is set to retire immediately before spring semester. You want to generate a list
Exercise points:
Professor Victoria Emmerline is set to retire immediately before spring semester. You want to generate a list of all students who are currently enrolled in any class she is teaching this spring, so you can reach out to them and let them know there will be a different professor. Assume each class she teaches could be assigned to a different professor ie if Professor Emmerline was set to teach Calculus I and Calculus II its possible Calculus I will be assigned to Professor X and Calculus II will be assigned to Professor Y
Generate SQL code to make a report which will do the following
Generate a concatenated class namenumber string, such as FIN from something in the Finance Department where the course number is
Print that class namenumber string in the first column of your report
Print the class description such as Introduction to Finance
List the students first name and then last name
List the offering term and the format online or in person
List the professors first name and last name
Sort your output ascending by the class namenumber string, so FIN FIN and ART would be sorted in the following order: ART FIN FIN
Within the same class, further sort your output so its alphabetical by student last name, student first name
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started