Aug 7, 2024
SELECT * FROM public.patients
(selects all columns from patients table)SELECT first, last, birth_date FROM public.patients
(specific columns)SELECT * FROM public.encounters WHERE encounter_class = 'inpatient'
SELECT description, COUNT(*) FROM public.conditions GROUP BY description