DBI202_-_PE_-_SP_2024_-_Block_5_1908.webp
J

DBI202_-_PE_-_SP_2024_-_Block_5_1908.webp

  • Media owner Jogo99
  • Ngày thêm
16
17 89
Ferris Mcfarland 0
Thaddeus Wilkinson 0
Picture 6.1
Question 7:
Write a query to display, for each enrollment concerning the 'Project management' course,the information of the student who enrolled in the course, the semester that the student enrolled in the course and the average mark of this enrollment. Display the results with enrollmentid, Courseld, title, studentld, StudentName, Semester Code, AverageMark as in the following figure. Note that the AverageMark of an enrollment is calculated based on the mark and the percentage (percent attribute) of each assessment of the course corresponding to the enrollment. For example, a course has 2 assessments x1 and x2 and the percentage of these two assessments are respectively 0.4 and 0.6. If a student enrolled in this course in the 'Sp2019' semester and having the mark 5 for x1 and the mark 6 for x2,then the average mark in 'Sp2019' of the student for this course is calculated as 5*0.4 + 6*0.6 5.6. Display the results in ascending order of studentld, then in ascending order of SemesterCode for rows of the same student.
Zoom
+ 100%
Close
Chưa có bình luận nào.

Thông tin

Category
DBI202
Thêm bởi
Jogo99
Ngày thêm
Lượt xem
1,411
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
DBI202_-_PE_-_SP_2024_-_Block_5_1908.webp
File size
425.9 KB
Dimensions
2560px x 1314px

Share this media

Back
Bên trên Bottom