1. For each student, list the student ID, student name, and his/her average enrollment grade. Only...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
1. For each student, list the student ID, student name, and his/her average enrollment grade. Only list those students who have an average enrollment grade which is greater than the average enrollment grade of all enrollments. Sort the output by student's average grade in ascending order. stuid stulastname / [PK] numeric (5) character varying (12) 567 Au 234 Wong 345 Lai 890 Fung 456 Poon 678 Au 876 Lee 901 Chau 789 Chow stufirstname character varying (12) Taiman Cindy Leon Joe Kenny Cindy Hoyan Joe Chris Average Grade numeric 3.1500000000000000 3.1500000000000000 3.2333333333333333 3.3000000000000000 3.3000000000000000 3.3333333333333333 3.4000000000000000 3.5000000000000000 3.8000000000000000 Student StulD StuFirstName StuLastName StuCity StuDept StuClass StuMentorID 123 Vicky SHATIN IS 124 Ricky MONGKOK FIN 234 Cindy JORDON IS 345 Leon Shatin IS 456 Kenny SHATIN FIN 567 Taiman SHATIN IS TAIWAI FIN ShaTIN FIN SHATIN IS SHATIN IS MONGKOK IS 678 Cindy 789 Chris 876 Hoyan 890 Joe 901 Joe Cheung Wong Lai Poon Au Au Chow Lee Fung Chau University Database DLB302 DLB302 WLB212 WLB207 DLB302 DLB301 WLB212 DLB705 DLB301 AAB707 Course CourseNo CrsDesc FINE300 FUNDAMENTALS OF FINANCE FINE450 PRINCIPLES OF INVESTMENTS FINE480 CORPORATE FINANCE ISB1320 FUNDAMENTALS OF PYTHON PROGRAMMING SYSTEMS ANALYSIS AND DESIGN ISB1460 ISB1470 BUSINESS DATA COMMUNICATIONS ISB1480 DATA MANAGEMENT FOR BUSINESS Wong CHAN Lai Lee Offering OfferNo Course No OffTerm OffYear OffLocation OffTime FacID OffDay ISB1320 SPRING 2023 1111 10:30 Mon 1234 10:30 198 Mon ISB1320 ISB1460 2222 13:30 Thu SUMMER 2022 SUMMER 2023 5555 FINE300 FALL 2021 5678 ISB1480 FALL 2021 8:30 765 Wed 10:30 198 Fri 15:30 654 Tue 5679 ISB1480 6666 FINE450 7777 FINE480 8888 ISB1320 9876 ISB1460 SPRING 2022 FALL 2021 SPRING 2022 Tue 10:30 987 13:30 765 Wed SUMMER 2023 13:30 654 Mon SPRING 2022 13:30 198 Thu Cheung Snape SO SR JR SR SR UR SO JR SR SR SO 198 765 765 198 765 198 765 543 543 654 654 Crs Units 2 3 3 2 3 3 3 Faculty FacID FacFirstName FacLastName FacCity FacDept FacSalary FacSupervisor FacHire Date 543 Mary MONGKOK IS 120000 2015-04-15 654 Leo 2014-05-01 198 Leo 2015-04-15 765 Fanny SHATIN IS SHATIN IS WANCHAI FIN Shatin IS SHATIN FIN 1997-04-11 876 Chris 2015-03-01 987 Micky 2012-02-29 70000 543 35000 654 65000 40000 75000 Enrollment OfferNo StulD EnrGrade 654 765 1234 123 3.3 1234 234 3.5 1234 345 3.2 1234 456 3.1 1234 567 3.8 1234 678 3.4 5555 123 3.2 5555 124 2.7 5678 123 0 5678 234 2.8 5678 345 3.3 5678 456 3.4 5678 567 2.6 5679 123 2 5679 124 3.7 5679 678 3.3 5679 789 3.8 5679 890 2.9 5679 901 3.1 6666 124 2.7 6666 234 3.1 6666 567 3.6 7777 124 2.3 7777 876 3.4 7777 890 3.7 7777 901 3.4 9876 124 3.5 9876 234 3.2 9876 345 3.2 9876 456 3.4 9876 567 2.6 9876 678 9876 901 ME 3.3 4 1. For each student, list the student ID, student name, and his/her average enrollment grade. Only list those students who have an average enrollment grade which is greater than the average enrollment grade of all enrollments. Sort the output by student's average grade in ascending order. stuid stulastname / [PK] numeric (5) character varying (12) 567 Au 234 Wong 345 Lai 890 Fung 456 Poon 678 Au 876 Lee 901 Chau 789 Chow stufirstname character varying (12) Taiman Cindy Leon Joe Kenny Cindy Hoyan Joe Chris Average Grade numeric 3.1500000000000000 3.1500000000000000 3.2333333333333333 3.3000000000000000 3.3000000000000000 3.3333333333333333 3.4000000000000000 3.5000000000000000 3.8000000000000000 Student StulD StuFirstName StuLastName StuCity StuDept StuClass StuMentorID 123 Vicky SHATIN IS 124 Ricky MONGKOK FIN 234 Cindy JORDON IS 345 Leon Shatin IS 456 Kenny SHATIN FIN 567 Taiman SHATIN IS TAIWAI FIN ShaTIN FIN SHATIN IS SHATIN IS MONGKOK IS 678 Cindy 789 Chris 876 Hoyan 890 Joe 901 Joe Cheung Wong Lai Poon Au Au Chow Lee Fung Chau University Database DLB302 DLB302 WLB212 WLB207 DLB302 DLB301 WLB212 DLB705 DLB301 AAB707 Course CourseNo CrsDesc FINE300 FUNDAMENTALS OF FINANCE FINE450 PRINCIPLES OF INVESTMENTS FINE480 CORPORATE FINANCE ISB1320 FUNDAMENTALS OF PYTHON PROGRAMMING SYSTEMS ANALYSIS AND DESIGN ISB1460 ISB1470 BUSINESS DATA COMMUNICATIONS ISB1480 DATA MANAGEMENT FOR BUSINESS Wong CHAN Lai Lee Offering OfferNo Course No OffTerm OffYear OffLocation OffTime FacID OffDay ISB1320 SPRING 2023 1111 10:30 Mon 1234 10:30 198 Mon ISB1320 ISB1460 2222 13:30 Thu SUMMER 2022 SUMMER 2023 5555 FINE300 FALL 2021 5678 ISB1480 FALL 2021 8:30 765 Wed 10:30 198 Fri 15:30 654 Tue 5679 ISB1480 6666 FINE450 7777 FINE480 8888 ISB1320 9876 ISB1460 SPRING 2022 FALL 2021 SPRING 2022 Tue 10:30 987 13:30 765 Wed SUMMER 2023 13:30 654 Mon SPRING 2022 13:30 198 Thu Cheung Snape SO SR JR SR SR UR SO JR SR SR SO 198 765 765 198 765 198 765 543 543 654 654 Crs Units 2 3 3 2 3 3 3 Faculty FacID FacFirstName FacLastName FacCity FacDept FacSalary FacSupervisor FacHire Date 543 Mary MONGKOK IS 120000 2015-04-15 654 Leo 2014-05-01 198 Leo 2015-04-15 765 Fanny SHATIN IS SHATIN IS WANCHAI FIN Shatin IS SHATIN FIN 1997-04-11 876 Chris 2015-03-01 987 Micky 2012-02-29 70000 543 35000 654 65000 40000 75000 Enrollment OfferNo StulD EnrGrade 654 765 1234 123 3.3 1234 234 3.5 1234 345 3.2 1234 456 3.1 1234 567 3.8 1234 678 3.4 5555 123 3.2 5555 124 2.7 5678 123 0 5678 234 2.8 5678 345 3.3 5678 456 3.4 5678 567 2.6 5679 123 2 5679 124 3.7 5679 678 3.3 5679 789 3.8 5679 890 2.9 5679 901 3.1 6666 124 2.7 6666 234 3.1 6666 567 3.6 7777 124 2.3 7777 876 3.4 7777 890 3.7 7777 901 3.4 9876 124 3.5 9876 234 3.2 9876 345 3.2 9876 456 3.4 9876 567 2.6 9876 678 9876 901 ME 3.3 4
Expert Answer:
Related Book For
Data Modeling and Database Design
ISBN: 978-1285085258
2nd edition
Authors: Narayan S. Umanath, Richard W. Scammel
Posted Date:
Students also viewed these databases questions
-
You must have completed Exercise 11 of Chapter 10 before beginning this exercise, and thus have used the SQL Data Definition Language to populate the tables for the three relations COMPANY, STUDENT,...
-
Evaluate each expression if possible. V0.49
-
You are a senior manager for your firm and are responsible for leading the IT governance subcommittee. You just received a text message from a young IT project manager whom you met last week. "We are...
-
In 2024, the Westgate Construction Company entered into a contract to construct a road for Santa Clara County for $10,000,000. The road was completed in 2026. Information related to the contract is...
-
Refer to the information in Exercise 16-14. Prepare journal entries dated June 30 to record: (a) raw materials purchases, (b) direct materials usage, (c) indirect materials usage, (d) direct labor...
-
Sutton Pointers Corporation expects to begin operations on January 1, 2015; it will operate as a specialty sales company that sells laser pointers over the Internet. Sutton expects sales in January...
-
Jane has been offered a research consultancy job to study the impact of inequality of poverty in five SADC countries of her choice. As her former classmate, Jane has asked you to help advise her on...
-
1. Mr. Albert has a piece of property he has used in his business for 25 years. He is moving his business across the country and needs to get rid of the real estate he currently owns, as he won't be...
-
Organizational Development and Sense-Making Approaches from the textbook, Palmer, I., Dunford, R., & Buchanan, D. (2022). Managing organizational change: A multiple perspectives approach McGraw-Hill...
-
The Langosta Company reported data for 1997 and 1998 as follows: 1997 1998 The number of machines produced 60.000 75.000 Labor hours 20.000 18.750 The material used (kg) 600.000 850.000 Selling price...
-
Riah wants to buy a car that costs R125 000. The deposit is R29 00 .the bank charges a once off fee of R1 140; added to the loan amount before the interest is calculated at 9;75% coumpoud per year....
-
What are the journal entries for the following? 1) The bank statement as of December 31, 2018 shows service charges of $240 and NSF checks for items recorded as sales in the amount of $3,400....
-
what is the best way to to report on your tax return the mortgage interest paid on a rental property that has not been placed in service yet ?
-
A crane suspends a 200-lb steel beam horizontally by support cables (with negligible weight) attached from a hook to each end of the beam. The support cables each make an angle of 60 with the beam....
-
A petroleum crude oil having a density of 892 kg/m is flowing, through the piping arrangement shown in the below Figure, at total rate of 1.388 x 10* m'/s entering pipe O. The flow divides equally in...
-
Determine the optimal use of Applichem's plant capacity using the Solver in Excel.
-
Describe the four actions involved in data management.
-
This exercise is a variation of Exercise 18. Consider the following functional dependencies prevailing over the relation schema CLASS (Student, Subject, Teacher): {Student, Subject} Teacher Teacher...
-
What is the difference between the JOIN ... USING and the JOIN ... ON approaches for joining tables? Which approach must be used if the requirement that attributes have unique names over the entire...
-
Please reflect on and explain the role and usefulness of the concept of SD in relation to the protection of the environment.
-
Has the concept of SD achieved the balance between all three pillars: environmental protection; economic development; and social issues?
-
What, if any, is the normative content of the concept of SD?
Study smarter with the SolutionInn App