File indexing completed on 2023-03-17 11:15:36
0001 select
0002 r.runnumber as rNb
0003 , m.modedescription as modeT
0004 , p.partitionname as pName
0005
0006
0007
0008
0009
0010
0011
0012
0013 , s2.fedversionmajorid||'.'||s2.fedversionminorid as new_fed
0014
0015
0016
0017 from
0018 run r
0019 , partition p
0020 , modetype m
0021 , statehistory s
0022 , statehistory s2
0023 where
0024 m.runmode=r.runmode
0025 and r.runmode =2
0026
0027 and s2.connectionversionmajorid!=2
0028 and r.partitionid=p.partitionid
0029 and r.partitionid=s.partitionid
0030 and r.statehistoryid=s.statehistoryid
0031 and s.partitionid = s2.partitionid
0032 and s2.statehistoryid = (
0033 select min(s3.statehistoryid)
0034 from statehistory s3
0035 where
0036 s3.statehistoryid > ( decode( s.statehistoryid, null, 0, s.statehistoryid) )
0037 and s3.partitionid = s.partitionid
0038 )
0039 and (
0040 r.runmode=2 or
0041 exists (
0042 select x.analysisid
0043 from analysis x
0044 where x.runnumber = r.runnumber
0045 and x.partitionid = r.partitionid
0046 )
0047 )
0048 and r.runnumber>49800
0049 ;