Patient &bed
Patient &bed
select*
from patient22
where addr='pimparigurav';
delete
from patient22
where pcode in(select bno from bed23 where bno=11 and rno=105);
select count(patient22.pcode)
from patient22,bed23
order by rno;
COUNT(PATIENT22.PCODE)
12
select pname
from patient22,bed23
where patient22.pcode=bed23.pcode and rno=101;
PNAME
mr roy
select dis
from patient22,bed23
where patient22.pcode=bed23.pcode and bno=12;
DIS
dengu
select bno,rno
from patient22,bed23
where patient22.pcode=bed23.pcode and pname='mr roy';
BNO RNO
11 102
13 102
14 101
select*
from patient22,bed23
where patient22.pcode=bed23.pcode and loc='second' and rno=102;