Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

RDBMS

Group -2 SELECT/LIKE + WHERE

1) List the names of all the patients.


2) List the names and id of all the male doctors.
3) List the name and patient id of all the male patients being treated either by Dr. Ankit (did=3)
or by Dr. Yugam (did=1).
4) List all the details of the patients not having fever.
5) List all the details of the doctors having salary between 123000 and 160000.
6) List all the details of all the patients whose name has ‘A’ as the second character.
7) List the name, id and salary of all the doctors in increasing order of their salary.
8) Count the number of diseases that the patients suffer from.
9) List the name, salary and PF (salary*0.7) of all the doctors.
10) What is the maximum amount of salary earned by doctors?

You might also like