Answered step by step
Verified Expert Solution
Link Copied!

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 4(30 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 i.e. 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 name/number string, such as FIN 200 from something in the Finance Department where the course number is 200
Print that class name/number 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 name/number string, so FIN 200,FIN 120 and ART 100 would be sorted in the following order: ART 100,FIN 120,FIN 200.
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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Entity Alignment Concepts Recent Advances And Novel Approaches

Authors: Xiang Zhao ,Weixin Zeng ,Jiuyang Tang

1st Edition

9819942527, 978-9819942527

More Books

Students also viewed these Databases questions

Question

What is the definition of algorithm? Please explain

Answered: 1 week ago