Code: Select all
select
appt.AptNum,
appt.PatNum,
appt.AptDateTime,
appt.ProcDescript,
pl.ProcFee
from appointment appt
join procedurelog pl on appt.AptNum = pl.AptNum
where appt.PatNum = <Patient>
and appt.AptStatus = 2
Code: Select all
select
appt.AptNum,
appt.PatNum,
appt.AptDateTime,
appt.ProcDescript,
pl.ProcFee
from appointment appt
join procedurelog pl on appt.AptNum = pl.AptNum
where appt.PatNum = <Patient>
and appt.AptStatus = 2