Dear Ben Perry ,
can you clarify, why the below 2 query output differs. I am fetching epmdocuments with INWORK Status. why Query1 and Query 2 output differs.
Query 1 :
select
count (*)
from
applicationdata ad,
holdertocontent htc,
epmdocument ed,
epmdocumentmaster edm,
pdmlinkproduct prod
where
ad.ida2a2=htc.ida3b5
and htc.ida3a5=ed.ida2a2
and ed.ida3masterreference=edm.ida2a2
and ed.ida3containerreference=prod.ida2a2
and ad.role='PRIMARY'
and ed.statestate='INWORK'
output : 238563 rows selected
Query 2 :
select count(*) From epmdocument where statestate='INWORK'
output : 449569 rows selected