Experiment-5 Solution: 10. Select D - Name From Doctor Where D - Specs "Cardiologist" 11
The document describes 15 SQL queries on patient, takes, test, and doctor tables. Query 1 selects all patient names ordered by name. Query 2 selects names of patients whose consultant is "PRANAY". Query 3 adds a condition to query 2 to select patients of consultant "PRANAY" and department ID '2'. The remaining queries select names or other fields based on various conditions.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
67 views2 pages
Experiment-5 Solution: 10. Select D - Name From Doctor Where D - Specs "Cardiologist" 11
The document describes 15 SQL queries on patient, takes, test, and doctor tables. Query 1 selects all patient names ordered by name. Query 2 selects names of patients whose consultant is "PRANAY". Query 3 adds a condition to query 2 to select patients of consultant "PRANAY" and department ID '2'. The remaining queries select names or other fields based on various conditions.