Question: Would the following two queries ever return different results? ( disregard ordering ) select PAT _ ID from PATIENT where PATIENT.PAT _ ID in (
Would the following two queries ever return different results? disregard ordering
select PATID
from PATIENT
where
PATIENT.PATID in select PATIENTID from MYCUSTOMTABLE
Select PATID
from PATIENT
where
exists select null from MYCUSTOMTABLE where MYCUSTOMTABLE.PATIENTID PATIENT.PATID
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
