DBI202_-_FA_2024_-_PE_-_s_-_10_2893.webp
Tokoyami2005

DBI202_-_FA_2024_-_PE_-_s_-_10_2893.webp

29 189 Harry Riley James 1982-08-21 [email protected]
Scott 1986-04-14 [email protected]
Picture 4.1
Question 5:
Write a query to display DoctorID, FirstName, LastName, DepartmentName,NumberOfAppointments corresponding to each doctor of two departments named 'Pediatrics' and 'General Surgery'; where NumberOfAppointments is the number of 'Completed' appointments in 2023 of each doctor. Order the results in descending order of NumberOfAppointments, then in ascending order of DoctorID for rows having the same NumberOfAppointments as in the following figure. Note that all doctors of these two departments must be displayed.
5 of 5
Paper No: 10
DoctorID
1
FirstName
John
LastName
Doe
DepartmentName NumberOfAppointments
Close
+ 100%
Zoom
Pediatrics
2
1
Chưa có bình luận nào.

Thông tin

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

Image metadata

Filename
DBI202_-_FA_2024_-_PE_-_s_-_10_2893.webp
File size
186.4 KB
Dimensions
1920px x 803px

Share this media

Back
Bên trên Bottom