File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
Show first name, last name, and gender of patients who' s gender is ' M'
2
2
3
3
SELECT first_name,last_name,gender FROM patients where gender = ' M'
4
- ----------------------------------------------------------------------------
4
+ ----------------------------------------------------------------------------------------------------------------------------------
5
+
5
6
6
7
Show first name and last name of patients who does not have allergies. (null)
7
8
@@ -80,7 +81,8 @@ Show the total number of admissions for patient_id 579.
80
81
select patient_id, count (* ) from admissions a
81
82
where a .patient_id = 579
82
83
83
- -- ----------------------------------------------------------------------------------------------------------
84
+ -- --------------------------------------------------------------------------------------------------------------------------------
85
+
84
86
85
87
Based on the cities that our patients live in , show unique cities that are in province_id ' NS' ?
86
88
@@ -114,4 +116,4 @@ or city like 'i%'
114
116
or city like ' o%'
115
117
or city like ' u%'
116
118
order by city
117
- -- --------------------------------------------------
119
+
You can’t perform that action at this time.
0 commit comments