DBI202_-_FA_2024_-_PE_-_s_-_3_2890.webp
I

DBI202_-_FA_2024_-_PE_-_s_-_3_2890.webp

11 8
13 10
Emergency Medicine 43
Psychiatry
General Surgery 48
Justin Roberts
7
24
George Rodrigu... 10
Keith Evans 11
Picture 6.1
Question 7:
Write a query to display, for each department, the number of distinct patients who have appointments with a doctor in that department for the years 2022, 2023 and 2024. The results must include DepartmentID, Name, NumberOfPatientsIn2022,NumberOfPatientsIn2023 and NumberOfPatientsIn2024, as shown in the following figure.Note that all departments must be displayed in the results.
6 of 6
Paper No: 3
DepartmentID Name
NumberOfPatientsIn2022 NumberOfPatientsIn2023 NumberOfPatientsIn2024
1
1
Cardiology 5 Neurology 6
4
17
2
2
7
9
3
3
Pediatrics 5
8
13
4
4
Orthopedics 3
2
15
5
5
Dermatology 4
1
15
6
6
Radiology Oncology
2
2
6
7
7
1
3
Zoom
+ 94%
Close
Chưa có bình luận nào.

Thông tin

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

Image metadata

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

Share this media

Back
Bên trên Bottom