Guest_imported
New member
- Jan 1, 1970
- 0
Could some one me on this one please.
two tables, one called Ward and the other called Patient.
Column headings for Ward are ward_no,ward_name and number_of_beds.
Column headings for Patient are patient_id,patient_name,consultant_no and ward_no.
Question:Give the name of each ward that is not full (the number of beds is greater than the number of patients in that ward)
I am looking for the SQL query.
Cheers
Bill
two tables, one called Ward and the other called Patient.
Column headings for Ward are ward_no,ward_name and number_of_beds.
Column headings for Patient are patient_id,patient_name,consultant_no and ward_no.
Question:Give the name of each ward that is not full (the number of beds is greater than the number of patients in that ward)
I am looking for the SQL query.
Cheers
Bill