SQL Id | SQL Text |
03px98fk0yp5x | select POLICYID, AIRCOM, CABIN, FLIGHTTYPE, BEFOREDATE, BEGINTIME, FLIGHTNO, FROMCITY, TOCITY, WEEK, BACKPOINT, PASSTYPE, OTABACKPOINT, TMCBACKPOINT, ISGROUP, SPECIALDISCOUNTMIN, SPECIALDISCOUNTMAX from (select row_number() over( order by backpoint desc , priority asc) as rowno, t.POLICYID, t.AIRCOM, t.CABIN, t.FLIGHTTYPE, t.BEFOREDATE, t.BEGINTIME, t.FLIGHTNO, t.FROMCITY, t.TOCITY, t.WEEK, t.BACKPOINT, t.PASSTYPE, t.OTABACKPOINT, t.TMCBACKPOINT, t.ISGROUP, t.SPECIALDISCOUNTMIN, t.SPECIALDISCOUNTMAX from policy_base t where 1=1 and (instr(FROMCITY, 'HFE')>0 or FROMCITY='*' ) and (instr(TOCITY, 'SZX')>0 or TOCITY='*') and instr(FLYTYPE, '1')>0 AND to_date(BEGINTIME, 'YYYY-MM-DD') <= to_date('2013-11-21', 'YYYY-MM-DD') AND to_date(ENDTIME, 'YYYY-MM-DD') >= to_date('2013-11-21', 'YYYY-MM-DD') AND to_date(TICKETSTART, 'YYYY-MM-DD') <= to_date('2013-11-21', 'YYYY-MM-DD') AND to_date(TICKETEND, 'YYYY-MM-DD') >= to_date('2013-11-21', 'YYYY-MM-DD') and (instr(WEEK, '4')>0 or WEEK is null or WEEK='') and ( instr('B2B_062931, B2B_030318, B2B_042886, B2B_032247, B2B_061054, B2B_023809, B2B_050906, B2B_030319, B2B_009226, B2B_038654, B2B_027658, B2B_027855, B2B_025158, B2B_008295, B2B_024586, B2B_067142, B2B_064404, B2B_001650, B2B_025484, B2B_001541, B2B_059519, B2B_028386, B2B_067213, B2B_027721, B2B_030103, B2B_049278, B2B_011842, B2B_005153, B2B_028549, B2B_004232, B2B_063773, B2B_069403, B2B_046678, B2B_035830, B2B_006707, B2B_022713, B2B_024399, B2B_031699, B2B_062351, B2B_023623, B2B_009296, B2B_005847, B2B_064226, B2B_035374, B2B_069682, B2B_001806, B2B_003360, B2B_008272, B2B_012198, B2B_051729, B2B_010641, B2B_001826, B2B_023136, B2B_064909, B2B_024757, B2B_014451, B2B_005220, B2B_028873, B2B_059689, B2B_001814, B2B_047945, B2B_049836, B2B_069440, B2B_002649, B2B_038745, B2B_064796, B2B_030006, B2B_063330, B2B_002055, B2B_039429, B2B_014231, B2B_046938, B2B_001953, B2B_049308, B2B_043215, B2B_023614, B2B_037828, B2B_002068, B2B_055694, B2B_017255, B2B_069683, B2B_031311, B2B_050647, B2B_047007, B2B_009042, B2B_025721, B2B_001819, B2B_051121, B2B_001570, B2B_039668, B2B_051343, B2B_010891, B2B_002851, B2B_070211, B2B_024933, B2B_062329, B2B_001554, B2B_027605, B2B_037906, B2B_013494, B2B_002618, B2B_057370, B2B_067560, B2B_026841, B2B_016350, B2B_016595, B2B_051620, B2B_069386, B2B_001644, B2B_044460, B2B_058751, B2B_000113, B2B_017165, B2B_047149, B2B_029904, B2B_064331, B2B_047195, B2B_052888, B2B_027767, B2B_032209, B2B_039814, B2B_070286, B2B_069317, B2B_003395, B2B_035542, B2B_068242, B2B_001399, B2B_069770, B2B_013215, B2B_070747, B2B_070482, B2B_070342, B2B_051186', t.agentsine)<=0 or t.agentsine is null or t.agentsine='' ) and (t.TMCBACKPOINT>=3 or t.OTABACKPOINT>=3) and ISSTATUS=1 and ISCHECK=1 AND PASSTYPE !=3 AND LASTESTALTERSTATE !='D' AND (FLIGHTTYPE is null or FLIGHTTYPE!=1) order by backpoint desc) |
0ftwm12w0nfx5 | select orderId, orderfrom, ORDERSTATE from ics_order where (PNR like '%HYPP98%' or BIGPNR like '%HYPP98%') and (ORDERSTATE!=26 and ORDERSTATE!=4) order by ORDERTIME desc |
0k8522rmdzg4k | select privilege# from sysauth$ where (grantee#=:1 or grantee#=1) and privilege#>0 |
0ws7ahf1d78qa | select SYS_CONTEXT('USERENV', 'SERVER_HOST'), SYS_CONTEXT('USERENV', 'DB_UNIQUE_NAME'), SYS_CONTEXT('USERENV', 'INSTANCE_NAME'), SYS_CONTEXT('USERENV', 'SERVICE_NAME'), INSTANCE_NUMBER, STARTUP_TIME, SYS_CONTEXT('USERENV', 'DB_DOMAIN') from v$instance where INSTANCE_NAME=SYS_CONTEXT('USERENV', 'INSTANCE_NAME') |
0wxxrmxbwt2h4 | select * from ics_order where pubid like '%112013112133287385%' |
0xgd8tharbz8k | select orderId, orderfrom, FLIGHTNO , PNR, ORDERSTATE from ics_order where (PNR like '%HYPP98%' or BIGPNR like '%HYPP98%') and (ORDERSTATE=36 or ORDERSTATE=37) |
0ysnwzqnurd79 | select POLICYID, AIRCOM, CABIN, FLIGHTTYPE, BEFOREDATE, BEGINTIME, FLIGHTNO, FROMCITY, TOCITY, WEEK, BACKPOINT, PASSTYPE, OTABACKPOINT, TMCBACKPOINT, ISGROUP, SPECIALDISCOUNTMIN, SPECIALDISCOUNTMAX from (select row_number() over( order by backpoint desc , priority asc) as rowno, t.POLICYID, t.AIRCOM, t.CABIN, t.FLIGHTTYPE, t.BEFOREDATE, t.BEGINTIME, t.FLIGHTNO, t.FROMCITY, t.TOCITY, t.WEEK, t.BACKPOINT, t.PASSTYPE, t.OTABACKPOINT, t.TMCBACKPOINT, t.ISGROUP, t.SPECIALDISCOUNTMIN, t.SPECIALDISCOUNTMAX from policy_base t where 1=1 and (instr(FROMCITY, 'SZX')>0 or FROMCITY='*' ) and (instr(TOCITY, 'HLD')>0 or TOCITY='*') and instr(FLYTYPE, '1')>0 AND to_date(BEGINTIME, 'YYYY-MM-DD') <= to_date('2014-01-25', 'YYYY-MM-DD') AND to_date(ENDTIME, 'YYYY-MM-DD') >= to_date('2014-01-25', 'YYYY-MM-DD') AND to_date(TICKETSTART, 'YYYY-MM-DD') <= to_date('2013-11-21', 'YYYY-MM-DD') AND to_date(TICKETEND, 'YYYY-MM-DD') >= to_date('2013-11-21', 'YYYY-MM-DD') and (instr(WEEK, '6')>0 or WEEK is null or WEEK='') and ( instr('B2B_062931, B2B_030318, B2B_042886, B2B_032247, B2B_061054, B2B_023809, B2B_050906, B2B_030319, B2B_009226, B2B_038654, B2B_027658, B2B_027855, B2B_025158, B2B_008295, B2B_024586, B2B_067142, B2B_064404, B2B_001650, B2B_025484, B2B_001541, B2B_059519, B2B_028386, B2B_067213, B2B_027721, B2B_030103, B2B_049278, B2B_011842, B2B_005153, B2B_028549, B2B_004232, B2B_063773, B2B_069403, B2B_046678, B2B_035830, B2B_006707, B2B_022713, B2B_024399, B2B_031699, B2B_062351, B2B_023623, B2B_009296, B2B_005847, B2B_064226, B2B_035374, B2B_069682, B2B_001806, B2B_003360, B2B_008272, B2B_012198, B2B_051729, B2B_010641, B2B_001826, B2B_023136, B2B_064909, B2B_024757, B2B_014451, B2B_005220, B2B_028873, B2B_059689, B2B_001814, B2B_047945, B2B_049836, B2B_069440, B2B_002649, B2B_038745, B2B_064796, B2B_030006, B2B_063330, B2B_002055, B2B_039429, B2B_014231, B2B_046938, B2B_001953, B2B_049308, B2B_043215, B2B_023614, B2B_037828, B2B_002068, B2B_055694, B2B_017255, B2B_069683, B2B_031311, B2B_050647, B2B_047007, B2B_009042, B2B_025721, B2B_001819, B2B_051121, B2B_001570, B2B_039668, B2B_051343, B2B_010891, B2B_002851, B2B_070211, B2B_024933, B2B_062329, B2B_001554, B2B_027605, B2B_037906, B2B_013494, B2B_002618, B2B_057370, B2B_067560, B2B_026841, B2B_016350, B2B_016595, B2B_051620, B2B_069386, B2B_001644, B2B_044460, B2B_058751, B2B_000113, B2B_017165, B2B_047149, B2B_029904, B2B_064331, B2B_047195, B2B_052888, B2B_027767, B2B_032209, B2B_039814, B2B_070286, B2B_069317, B2B_003395, B2B_035542, B2B_068242, B2B_001399, B2B_069770, B2B_013215, B2B_070747, B2B_070482, B2B_070342, B2B_051186', t.agentsine)<=0 or t.agentsine is null or t.agentsine='' ) and (t.TMCBACKPOINT>=3 or t.OTABACKPOINT>=3) and ISSTATUS=1 and ISCHECK=1 AND PASSTYPE !=3 AND LASTESTALTERSTATE !='D' AND (FLIGHTTYPE is null or FLIGHTTYPE!=1) order by backpoint desc) |
175kn3t7qqrrz | select * from ics_order where pubid like '%T2013112180477%' |
1cd2krbdzrhvq | insert into wrh$_tempstatxs (snap_id, dbid, instance_number, file#, creation_change#, phyrds, phywrts, singleblkrds, readtim, writetim, singleblkrdtim, phyblkrd, phyblkwrt, wait_count, time) select :snap_id, :dbid, :instance_number, tf.tfnum, to_number(tf.tfcrc_scn) creation_change#, ftio.kcftiopyr, ftio.kcftiopyw, ftio.kcftiosbr, floor(ftio.kcftioprt / 10000), floor(ftio.kcftiopwt / 10000), floor(ftio.kcftiosbt / 10000), ftio.kcftiopbr, ftio.kcftiopbw, fw.count, fw.time from x$kcftio ftio, x$kcctf tf, x$kcbfwait fw, x$kccfn fn, x$kccts ts where ts.tstsn = tf.tftsn and ftio.kcftiofno = fn.fnfno and tf.tfnum = fn.fnfno and tf.tffnh = fn.fnnum and tf.tfdup <> 0 and fn.fntyp = 7 and fn.fnnam is not null and bitand(tf.tfsta, 32) <> 32 and fw.indx+1 = (fn.fnfno + :db_files) |
1gv747j5pzk2d | select * from ICS_OTHERORDER_SYNCH |
1vzp1yq17vt4r | select POLICYID, AIRCOM, CABIN, FLIGHTTYPE, BEFOREDATE, BEGINTIME, FLIGHTNO, FROMCITY, TOCITY, WEEK, BACKPOINT, PASSTYPE, OTABACKPOINT, TMCBACKPOINT, ISGROUP, SPECIALDISCOUNTMIN, SPECIALDISCOUNTMAX from (select row_number() over( order by backpoint desc , priority asc) as rowno, t.POLICYID, t.AIRCOM, t.CABIN, t.FLIGHTTYPE, t.BEFOREDATE, t.BEGINTIME, t.FLIGHTNO, t.FROMCITY, t.TOCITY, t.WEEK, t.BACKPOINT, t.PASSTYPE, t.OTABACKPOINT, t.TMCBACKPOINT, t.ISGROUP, t.SPECIALDISCOUNTMIN, t.SPECIALDISCOUNTMAX from policy_base t where 1=1 and (instr(FROMCITY, 'SZX')>0 or FROMCITY='*' ) and (instr(TOCITY, 'HLD')>0 or TOCITY='*') and instr(FLYTYPE, '1')>0 AND to_date(BEGINTIME, 'YYYY-MM-DD') <= to_date('2013-12-25', 'YYYY-MM-DD') AND to_date(ENDTIME, 'YYYY-MM-DD') >= to_date('2013-12-25', 'YYYY-MM-DD') AND to_date(TICKETSTART, 'YYYY-MM-DD') <= to_date('2013-11-21', 'YYYY-MM-DD') AND to_date(TICKETEND, 'YYYY-MM-DD') >= to_date('2013-11-21', 'YYYY-MM-DD') and (instr(WEEK, '3')>0 or WEEK is null or WEEK='') and ( instr('B2B_062931, B2B_030318, B2B_042886, B2B_032247, B2B_061054, B2B_023809, B2B_050906, B2B_030319, B2B_009226, B2B_038654, B2B_027658, B2B_027855, B2B_025158, B2B_008295, B2B_024586, B2B_067142, B2B_064404, B2B_001650, B2B_025484, B2B_001541, B2B_059519, B2B_028386, B2B_067213, B2B_027721, B2B_030103, B2B_049278, B2B_011842, B2B_005153, B2B_028549, B2B_004232, B2B_063773, B2B_069403, B2B_046678, B2B_035830, B2B_006707, B2B_022713, B2B_024399, B2B_031699, B2B_062351, B2B_023623, B2B_009296, B2B_005847, B2B_064226, B2B_035374, B2B_069682, B2B_001806, B2B_003360, B2B_008272, B2B_012198, B2B_051729, B2B_010641, B2B_001826, B2B_023136, B2B_064909, B2B_024757, B2B_014451, B2B_005220, B2B_028873, B2B_059689, B2B_001814, B2B_047945, B2B_049836, B2B_069440, B2B_002649, B2B_038745, B2B_064796, B2B_030006, B2B_063330, B2B_002055, B2B_039429, B2B_014231, B2B_046938, B2B_001953, B2B_049308, B2B_043215, B2B_023614, B2B_037828, B2B_002068, B2B_055694, B2B_017255, B2B_069683, B2B_031311, B2B_050647, B2B_047007, B2B_009042, B2B_025721, B2B_001819, B2B_051121, B2B_001570, B2B_039668, B2B_051343, B2B_010891, B2B_002851, B2B_070211, B2B_024933, B2B_062329, B2B_001554, B2B_027605, B2B_037906, B2B_013494, B2B_002618, B2B_057370, B2B_067560, B2B_026841, B2B_016350, B2B_016595, B2B_051620, B2B_069386, B2B_001644, B2B_044460, B2B_058751, B2B_000113, B2B_017165, B2B_047149, B2B_029904, B2B_064331, B2B_047195, B2B_052888, B2B_027767, B2B_032209, B2B_039814, B2B_070286, B2B_069317, B2B_003395, B2B_035542, B2B_068242, B2B_001399, B2B_069770, B2B_013215, B2B_070747, B2B_070482, B2B_070342, B2B_051186', t.agentsine)<=0 or t.agentsine is null or t.agentsine='' ) and (t.TMCBACKPOINT>=3 or t.OTABACKPOINT>=3) and ISSTATUS=1 and ISCHECK=1 AND PASSTYPE !=3 AND LASTESTALTERSTATE !='D' AND (FLIGHTTYPE is null or FLIGHTTYPE!=1) order by backpoint desc) |
20ny5g0f6g8x4 | select * from ICS_OTHERORDER_SYNCH where othercompanyname=:othercompanyname |
21wx30xh4utxg | select * from (select replace(strcat(psname), ';', '</BR>') as psname, replace(strcat(PSPIAOHAO), ';', '</BR>') as PSPIAOHAO, replace(strcat(PSPIAOJIA), ';', '</BR>') as PSPIAOJIA, replace(strcat(PSJICHANGRANYOU), ';', '</BR>') as PSJICHANGRANYOU, replace(strcat(ZIFUJIN), ';', '</BR>') as ZIFUJIN, replace(strcat(sendtime), ';', '</BR>') as sendtime, replace(strcat(applytime), ';', '</BR>') as applytime, fstate, orderid, APPLICANT, SOURCEHALL, IMGURL, BUYID, FLIGHTNO, SEGMENTINFO, toport, pnr, flightDate, fromTime, eremark, ROW_NUMBER() OVER (ORDER BY orderid) rn from (SELECT x.orderid, x.psname, x.PSPIAOHAO, x.PSPIAOJIA, x.PSJICHANGRANYOU, x.ZIFUJIN, x.APPLICANT, x.SOURCEHALL, x.sendtime, x.applytime, x.eremark, x.IMGURL, case when x.fstate=0 then '???' when x.fstate=1 then '???' when x.fstate=2 then '???' when x.fstate=3 then '???' else '????' end fstate, o.BUYID, o.FLIGHTNO, o.fromport || '-' || o.toport as SEGMENTINFO, o.toport, o.pnr, o.flightDate, o.fromTime from ics_feipiao x left join icsorder o on x.orderid = o.orderid WHERE 1 = 1 AND FSTATE=0 AND sendtime between '2013-11-21' and '2013-11-22' AND operatetype =6 and o.orderfrom!='51BK' and o.orderfrom!='517' and o.orderfrom!='??' and o.orderfrom!='19E' and o.orderfrom!='??' and o.orderfrom!='19E??' and o.orderfrom!='??' and o.orderfrom!='????' and o.orderfrom!='517SZX' and o.orderfrom!='??' and o.orderfrom!='51BKSZX' and o.orderfrom!='??SZX' and o.orderfrom!='517SZX??' and o.orderfrom!='517??' and x.psname is not null order by x.sendtime asc) t group by orderid, APPLICANT, SOURCEHALL, IMGURL, BUYID, FLIGHTNO, SEGMENTINFO, toport, pnr, flightDate, fromTime, eremark, fstate) WHERE rn between 1 and 20 order by sendtime |
2qz2wt9txf2vc | select POLICYID, AIRCOM, CABIN, FLIGHTTYPE, BEFOREDATE, BEGINTIME, FLIGHTNO, FROMCITY, TOCITY, WEEK, BACKPOINT, PASSTYPE, OTABACKPOINT, TMCBACKPOINT, ISGROUP, SPECIALDISCOUNTMIN, SPECIALDISCOUNTMAX from (select row_number() over( order by backpoint desc , priority asc) as rowno, t.POLICYID, t.AIRCOM, t.CABIN, t.FLIGHTTYPE, t.BEFOREDATE, t.BEGINTIME, t.FLIGHTNO, t.FROMCITY, t.TOCITY, t.WEEK, t.BACKPOINT, t.PASSTYPE, t.OTABACKPOINT, t.TMCBACKPOINT, t.ISGROUP, t.SPECIALDISCOUNTMIN, t.SPECIALDISCOUNTMAX from policy_base t where 1=1 and (instr(FROMCITY, 'JXA')>0 or FROMCITY='*' ) and (instr(TOCITY, 'PEK')>0 or TOCITY='*') and instr(FLYTYPE, '1')>0 AND to_date(BEGINTIME, 'YYYY-MM-DD') <= to_date('2014-02-08', 'YYYY-MM-DD') AND to_date(ENDTIME, 'YYYY-MM-DD') >= to_date('2014-02-08', 'YYYY-MM-DD') AND to_date(TICKETSTART, 'YYYY-MM-DD') <= to_date('2013-11-21', 'YYYY-MM-DD') AND to_date(TICKETEND, 'YYYY-MM-DD') >= to_date('2013-11-21', 'YYYY-MM-DD') and (instr(WEEK, '6')>0 or WEEK is null or WEEK='') and ( instr('B2B_062931, B2B_030318, B2B_042886, B2B_032247, B2B_061054, B2B_023809, B2B_050906, B2B_030319, B2B_009226, B2B_038654, B2B_027658, B2B_027855, B2B_025158, B2B_008295, B2B_024586, B2B_067142, B2B_064404, B2B_001650, B2B_025484, B2B_001541, B2B_059519, B2B_028386, B2B_067213, B2B_027721, B2B_030103, B2B_049278, B2B_011842, B2B_005153, B2B_028549, B2B_004232, B2B_063773, B2B_069403, B2B_046678, B2B_035830, B2B_006707, B2B_022713, B2B_024399, B2B_031699, B2B_062351, B2B_023623, B2B_009296, B2B_005847, B2B_064226, B2B_035374, B2B_069682, B2B_001806, B2B_003360, B2B_008272, B2B_012198, B2B_051729, B2B_010641, B2B_001826, B2B_023136, B2B_064909, B2B_024757, B2B_014451, B2B_005220, B2B_028873, B2B_059689, B2B_001814, B2B_047945, B2B_049836, B2B_069440, B2B_002649, B2B_038745, B2B_064796, B2B_030006, B2B_063330, B2B_002055, B2B_039429, B2B_014231, B2B_046938, B2B_001953, B2B_049308, B2B_043215, B2B_023614, B2B_037828, B2B_002068, B2B_055694, B2B_017255, B2B_069683, B2B_031311, B2B_050647, B2B_047007, B2B_009042, B2B_025721, B2B_001819, B2B_051121, B2B_001570, B2B_039668, B2B_051343, B2B_010891, B2B_002851, B2B_070211, B2B_024933, B2B_062329, B2B_001554, B2B_027605, B2B_037906, B2B_013494, B2B_002618, B2B_057370, B2B_067560, B2B_026841, B2B_016350, B2B_016595, B2B_051620, B2B_069386, B2B_001644, B2B_044460, B2B_058751, B2B_000113, B2B_017165, B2B_047149, B2B_029904, B2B_064331, B2B_047195, B2B_052888, B2B_027767, B2B_032209, B2B_039814, B2B_070286, B2B_069317, B2B_003395, B2B_035542, B2B_068242, B2B_001399, B2B_069770, B2B_013215, B2B_070747, B2B_070482, B2B_070342, B2B_051186', t.agentsine)<=0 or t.agentsine is null or t.agentsine='' ) and (t.TMCBACKPOINT>=3 or t.OTABACKPOINT>=3) and ISSTATUS=1 and ISCHECK=1 AND PASSTYPE !='3' AND LASTESTALTERSTATE !='D' AND (FLIGHTTYPE is null or FLIGHTTYPE!=1) order by backpoint desc) |
2tkw12w5k68vd | select user#, password, datats#, tempts#, type#, defrole, resource$, ptime, decode(defschclass, NULL, 'DEFAULT_CONSUMER_GROUP', defschclass), spare1, spare4, ext_username, spare2 from user$ where name=:1 |
39cn676x1wsdp | select PolicyID, FromCity, ToCity, AirCom, FlyType, Week, FlightType, FlightNo, Cabin, BeginTime, EndTime, R_SDate, R_EDate, TicketStart, TicketEnd, TicketType, DisCount, B2BBackPoint, PassType, OfficeNo, Ei_Shengcang, BeforeDate, Ei_Gaiqian, Ei_Tuipiao, PolicyType, PolicySource, PubTime, IsStatus, Remark, WorkTime, Fei_WorkTIme, Priority, Price, LastEstalterState, IsView, AUTHORIZATIONOFFICE from (select row_number() over( order by backpoint desc , priority asc) as rowno, t.PolicyID, t.FromCity, t.ToCity, t.AirCom, t.FlyType, t.Week, t.FlightType, t.FlightNo, t.Cabin, t.BeginTime, t.EndTime, t.R_SDate, t.R_EDate, t.TicketStart, t.TicketEnd, t.TicketType, t.DisCount, t.B2BBackPoint, t.PassType, t.OfficeNo, t.Ei_Shengcang, t.BeforeDate, t.Ei_Gaiqian, t.Ei_Tuipiao, t.PolicyType, t.PolicySource, t.PubTime, t.IsStatus, t.Remark, t.WorkTime, t.Fei_WorkTIme, t.Priority, t.Price, t.LastEstalterState, t.IsView, t.AUTHORIZATIONOFFICE from policy_base t where 1=1 and (instr(FROMCITY, 'SHA')>0 or FROMCITY='*' ) and (instr(TOCITY, 'SZX')>0 or TOCITY='*') and instr(FLYTYPE, '1')>0 AND to_date(BEGINTIME, 'YYYY-MM-DD') <= to_date('2013-11-22', 'YYYY-MM-DD') AND to_date(ENDTIME, 'YYYY-MM-DD') >= to_date('2013-11-22', 'YYYY-MM-DD') AND to_date(TICKETSTART, 'YYYY-MM-DD') <= to_date('2013-11-21', 'YYYY-MM-DD') AND to_date(TICKETEND, 'YYYY-MM-DD') >= to_date('2013-11-21', 'YYYY-MM-DD') and (instr(WEEK, '5')>0 or WEEK is null or WEEK='') and backpoint>=3 and ISSTATUS=1 and ISCHECK=1 AND LASTESTALTERSTATE !='D' and PASSTYPE='1' order by backpoint desc) |
3bd3k79zy2w3p | SELECT COUNT(*) FROM TBICS_PASSENGERINFO WHERE ORDERID=(SELECT ORDERID FROM ICS_ORDER WHERE (ORDERID=:B2 OR COUPONID=:B1 )) |
3pwsz56qj4u4g | select * from ics_order where pubid like '%112013112133287149%' |
3vvhvgdrwxnmh | select * from ics_order where pubid like '%f18588841%' |
3y709bqj5x87v | select OrderId from ICS_Order where COUPONID=:out_OrderId |
459f3z9u4fb3u | select value$ from props$ where name = 'GLOBAL_DB_NAME' |
45xsf2qa56h92 | select UserId, UserName, realname, email, phone, sex, describe, groupid, pricture, logintime, mobile, extension, cornet from TBICS_user where userid=:userid |
486ppy6x0nxk2 | select * from suspendsuppliermgr |
4ddw5un28xmt9 | select * from (select replace(strcat(psname), ';', '</BR>') as psname, replace(strcat(PSPIAOHAO), ';', '</BR>') as PSPIAOHAO, replace(strcat(PSPIAOJIA), ';', '</BR>') as PSPIAOJIA, replace(strcat(PSJICHANGRANYOU), ';', '</BR>') as PSJICHANGRANYOU, replace(strcat(ZIFUJIN), ';', '</BR>') as ZIFUJIN, replace(strcat(sendtime), ';', '</BR>') as sendtime, replace(strcat(applytime), ';', '</BR>') as applytime, fstate, orderid, APPLICANT, SOURCEHALL, IMGURL, BUYID, FLIGHTNO, SEGMENTINFO, toport, pnr, flightDate, fromTime, eremark, ROW_NUMBER() OVER (ORDER BY orderid) rn from (SELECT x.orderid, x.psname, x.PSPIAOHAO, x.PSPIAOJIA, x.PSJICHANGRANYOU, x.ZIFUJIN, x.APPLICANT, x.SOURCEHALL, x.sendtime, x.applytime, x.eremark, x.IMGURL, case when x.fstate=0 then '???' when x.fstate=1 then '???' when x.fstate=2 then '???' when x.fstate=3 then '???' else '????' end fstate, o.BUYID, o.FLIGHTNO, o.fromport || '-' || o.toport as SEGMENTINFO, o.toport, o.pnr, o.flightDate, o.fromTime from ics_feipiao x left join icsorder o on x.orderid = o.orderid WHERE 1 = 1 AND FSTATE=0 AND sendtime between '2013-11-21' and '2013-11-22' AND operatetype =1 and o.orderfrom!='51BK' and o.orderfrom!='517' and o.orderfrom!='??' and o.orderfrom!='19E' and o.orderfrom!='??' and o.orderfrom!='19E??' and o.orderfrom!='??' and o.orderfrom!='????' and o.orderfrom!='517SZX' and o.orderfrom!='??' and o.orderfrom!='51BKSZX' and o.orderfrom!='??SZX' and o.orderfrom!='517SZX??' and o.orderfrom!='517??' and x.psname is not null order by x.sendtime asc) t group by orderid, APPLICANT, SOURCEHALL, IMGURL, BUYID, FLIGHTNO, SEGMENTINFO, toport, pnr, flightDate, fromTime, eremark, fstate) WHERE rn between 1 and 20 order by sendtime |
4h55kwz846wz2 | SELECT TBICS_LOG_ID.NEXTVAL FROM DUAL |
4m7m0t6fjcs5x | update seq$ set increment$=:2, minvalue=:3, maxvalue=:4, cycle#=:5, order$=:6, cache=:7, highwater=:8, audit$=:9, flags=:10 where obj#=:1 |
4vs91dcv7u1p6 | insert into sys.aud$( sessionid, entryid, statement, ntimestamp#, userid, userhost, terminal, action#, returncode, obj$creator, obj$name, auth$privileges, auth$grantee, new$owner, new$name, ses$actions, ses$tid, logoff$pread, logoff$lwrite, logoff$dead, comment$text, spare1, spare2, priv$used, clientid, sessioncpu, proxy$sid, user$guid, instance#, process#, xid, scn, auditid, sqlbind, sqltext, obj$edition, dbid) values(:1, :2, :3, SYS_EXTRACT_UTC(SYSTIMESTAMP), :4, :5, :6, :7, :8, :9, :10, :11, :12, :13, :14, :15, :16, :17, :18, :19, :20, :21, :22, :23, :24, :25, :26, :27, :28, :29, :30, :31, :32, :33, :34, :35, :36) |
4y8r9b9w28bgn | select * from tbics_passengerinfo where orderid = (select orderid from ics_order where ordertime = (select max(ORDERTIME) from ics_order where bigpnr = 'NX60FS') and bigpnr='NX60FS') |
54h3gvyvk4fkf | select * from ics_order where pubid like '%112013112133286363%' |
5dnh6xvw13j8p | begin pr_ImportHisData(intorderid=>:intorderid, outorderid=>:outorderid); end; |
5nwqnvv6tn881 | select count(*) from ics_order where (orderstate='26' or orderState = '4') and to_char(ordertime, 'yyyy')=:year and to_char(ordertime, 'mm')=:month and to_char(ordertime, 'dd')=:day |
5ur69atw3vfhj | select decode(failover_method, NULL, 0 , 'BASIC', 1, 'PRECONNECT', 2 , 'PREPARSE', 4 , 0), decode(failover_type, NULL, 1 , 'NONE', 1 , 'SESSION', 2, 'SELECT', 4, 1), failover_retries, failover_delay, flags from service$ where name = :1 |
6t67sxtgjb39y | select PolicyID, FromCity, ToCity, AirCom, FlyType, Week, FlightType, FlightNo, Cabin, BeginTime, EndTime, R_SDate, R_EDate, TicketStart, TicketEnd, TicketType, DisCount, B2BBackPoint, OTABACKPOINT, PassType, OfficeNo, Ei_Shengcang, BeforeDate, Ei_Gaiqian, Ei_Tuipiao, PolicyType, PolicySource, PubTime, IsStatus, Remark, WorkTime, Fei_WorkTIme, Priority, Price, LastEstalterState, IsView, AUTHORIZATIONOFFICE, ISGROUP from (select PolicyID, FromCity, ToCity, AirCom, FlyType, Week, FlightType, FlightNo, Cabin, BeginTime, EndTime, R_SDate, R_EDate, TicketStart, TicketEnd, TicketType, DisCount, B2BBackPoint, OTABACKPOINT, PassType, OfficeNo, Ei_Shengcang, BeforeDate, Ei_Gaiqian, Ei_Tuipiao, PolicyType, PolicySource, PubTime, IsStatus, Remark, WorkTime, Fei_WorkTIme, Priority, Price, LastEstalterState, IsView, AUTHORIZATIONOFFICE, ISGROUP from Policy_Base where PubTime>to_timestamp('2013-11-21 09:20:51.000', 'yyyy-mm-dd hh24:mi:ssxff') and FLYTYPE !='6' and PASSTYPE='1' and policyid like 'SD%' order by PubTime asc) where rownum<=10000 |
6uj2q1qvt2csk | select orderId, orderfrom, FLIGHTNO , PNR, ORDERSTATE from ics_order where (PNR like '%HYS09E%' or BIGPNR like '%HYS09E%') and (ORDERSTATE=36 or ORDERSTATE=37) |
7agy84jm4njfy | select POLICYID, AIRCOM, CABIN, FLIGHTTYPE, BEFOREDATE, BEGINTIME, FLIGHTNO, FROMCITY, TOCITY, WEEK, BACKPOINT, PASSTYPE, OTABACKPOINT, TMCBACKPOINT, ISGROUP, SPECIALDISCOUNTMIN, SPECIALDISCOUNTMAX from (select row_number() over( order by backpoint desc , priority asc) as rowno, t.POLICYID, t.AIRCOM, t.CABIN, t.FLIGHTTYPE, t.BEFOREDATE, t.BEGINTIME, t.FLIGHTNO, t.FROMCITY, t.TOCITY, t.WEEK, t.BACKPOINT, t.PASSTYPE, t.OTABACKPOINT, t.TMCBACKPOINT, t.ISGROUP, t.SPECIALDISCOUNTMIN, t.SPECIALDISCOUNTMAX from policy_base t where 1=1 and (instr(FROMCITY, 'CAN')>0 or FROMCITY='*' ) and (instr(TOCITY, 'NGB')>0 or TOCITY='*') and instr(FLYTYPE, '1')>0 AND to_date(BEGINTIME, 'YYYY-MM-DD') <= to_date('2013-12-01', 'YYYY-MM-DD') AND to_date(ENDTIME, 'YYYY-MM-DD') >= to_date('2013-12-01', 'YYYY-MM-DD') AND to_date(TICKETSTART, 'YYYY-MM-DD') <= to_date('2013-11-21', 'YYYY-MM-DD') AND to_date(TICKETEND, 'YYYY-MM-DD') >= to_date('2013-11-21', 'YYYY-MM-DD') and (instr(WEEK, '7')>0 or WEEK is null or WEEK='') and ( instr('B2B_062931, B2B_030318, B2B_042886, B2B_032247, B2B_061054, B2B_023809, B2B_050906, B2B_030319, B2B_009226, B2B_038654, B2B_027658, B2B_027855, B2B_025158, B2B_008295, B2B_024586, B2B_067142, B2B_064404, B2B_001650, B2B_025484, B2B_001541, B2B_059519, B2B_028386, B2B_067213, B2B_027721, B2B_030103, B2B_049278, B2B_011842, B2B_005153, B2B_028549, B2B_004232, B2B_063773, B2B_069403, B2B_046678, B2B_035830, B2B_006707, B2B_022713, B2B_024399, B2B_031699, B2B_062351, B2B_023623, B2B_009296, B2B_005847, B2B_064226, B2B_035374, B2B_069682, B2B_001806, B2B_003360, B2B_008272, B2B_012198, B2B_051729, B2B_010641, B2B_001826, B2B_023136, B2B_064909, B2B_024757, B2B_014451, B2B_005220, B2B_028873, B2B_059689, B2B_001814, B2B_047945, B2B_049836, B2B_069440, B2B_002649, B2B_038745, B2B_064796, B2B_030006, B2B_063330, B2B_002055, B2B_039429, B2B_014231, B2B_046938, B2B_001953, B2B_049308, B2B_043215, B2B_023614, B2B_037828, B2B_002068, B2B_055694, B2B_017255, B2B_069683, B2B_031311, B2B_050647, B2B_047007, B2B_009042, B2B_025721, B2B_001819, B2B_051121, B2B_001570, B2B_039668, B2B_051343, B2B_010891, B2B_002851, B2B_070211, B2B_024933, B2B_062329, B2B_001554, B2B_027605, B2B_037906, B2B_013494, B2B_002618, B2B_057370, B2B_067560, B2B_026841, B2B_016350, B2B_016595, B2B_051620, B2B_069386, B2B_001644, B2B_044460, B2B_058751, B2B_000113, B2B_017165, B2B_047149, B2B_029904, B2B_064331, B2B_047195, B2B_052888, B2B_027767, B2B_032209, B2B_039814, B2B_070286, B2B_069317, B2B_003395, B2B_035542, B2B_068242, B2B_001399, B2B_069770, B2B_013215, B2B_070747, B2B_070482, B2B_070342, B2B_051186', t.agentsine)<=0 or t.agentsine is null or t.agentsine='' ) and (t.TMCBACKPOINT>=3 or t.OTABACKPOINT>=3) and ISSTATUS=1 and ISCHECK=1 AND PASSTYPE !=3 AND LASTESTALTERSTATE !='D' AND (FLIGHTTYPE is null or FLIGHTTYPE!=1) order by backpoint desc) |
8ggqyrz3b3hu3 | SELECT COUNT(*) FROM ICS_ORDER WHERE (ORDERID=:B2 OR COUPONID=:B1 ) |
8n51rybdy4r4f | select orderId, orderfrom, ORDERSTATE from ics_order where (PNR like '%JVQYWV%' or BIGPNR like '%JVQYWV%') and (ORDERSTATE!=26 and ORDERSTATE!=4) order by ORDERTIME desc |
94h2a7cs7a7fc | select * from ICS_AutoTicketTask where Status=4 order by InTime asc, TaskId asc |
9a1unjt3njs9m | select PolicyID, FromCity, ToCity, AirCom, FlyType, Week, FlightType, FlightNo, Cabin, BeginTime, EndTime, R_SDate, R_EDate, TicketStart, TicketEnd, TicketType, DisCount, B2BBackPoint, PassType, OfficeNo, Ei_Shengcang, BeforeDate, Ei_Gaiqian, Ei_Tuipiao, PolicyType, PolicySource, PubTime, IsStatus, Remark, WorkTime, Fei_WorkTIme, Priority, Price, LastEstalterState, IsView, AUTHORIZATIONOFFICE from (select row_number() over( order by backpoint desc , priority asc) as rowno, t.PolicyID, t.FromCity, t.ToCity, t.AirCom, t.FlyType, t.Week, t.FlightType, t.FlightNo, t.Cabin, t.BeginTime, t.EndTime, t.R_SDate, t.R_EDate, t.TicketStart, t.TicketEnd, t.TicketType, t.DisCount, t.B2BBackPoint, t.PassType, t.OfficeNo, t.Ei_Shengcang, t.BeforeDate, t.Ei_Gaiqian, t.Ei_Tuipiao, t.PolicyType, t.PolicySource, t.PubTime, t.IsStatus, t.Remark, t.WorkTime, t.Fei_WorkTIme, t.Priority, t.Price, t.LastEstalterState, t.IsView, t.AUTHORIZATIONOFFICE from policy_base t where 1=1 and (instr(FROMCITY, 'SZX')>0 or FROMCITY='*' ) and (instr(TOCITY, 'XIY')>0 or TOCITY='*') and instr(FLYTYPE, '1')>0 AND to_date(BEGINTIME, 'YYYY-MM-DD') <= to_date('2013-11-22', 'YYYY-MM-DD') AND to_date(ENDTIME, 'YYYY-MM-DD') >= to_date('2013-11-22', 'YYYY-MM-DD') AND to_date(TICKETSTART, 'YYYY-MM-DD') <= to_date('2013-11-21', 'YYYY-MM-DD') AND to_date(TICKETEND, 'YYYY-MM-DD') >= to_date('2013-11-21', 'YYYY-MM-DD') and (instr(WEEK, '5')>0 or WEEK is null or WEEK='') and backpoint>=3 and ISSTATUS=1 and ISCHECK=1 AND LASTESTALTERSTATE !='D' and PASSTYPE='1' order by backpoint desc) |
9rkx7dk6m8959 | SELECT TBICS_OPERATE_LOG_SQN.NEXTVAL FROM DUAL |
9zynd5rbnpr02 | select PolicyID, FromCity, ToCity, AirCom, FlyType, Week, FlightType, FlightNo, Cabin, BeginTime, EndTime, R_SDate, R_EDate, TicketStart, TicketEnd, TicketType, DisCount, B2BBackPoint, PassType, OfficeNo, Ei_Shengcang, BeforeDate, Ei_Gaiqian, Ei_Tuipiao, PolicyType, PolicySource, PubTime, IsStatus, Remark, WorkTime, Fei_WorkTIme, Priority, Price, LastEstalterState, IsView, AUTHORIZATIONOFFICE from (select row_number() over( order by backpoint desc , priority asc) as rowno, t.PolicyID, t.FromCity, t.ToCity, t.AirCom, t.FlyType, t.Week, t.FlightType, t.FlightNo, t.Cabin, t.BeginTime, t.EndTime, t.R_SDate, t.R_EDate, t.TicketStart, t.TicketEnd, t.TicketType, t.DisCount, t.B2BBackPoint, t.PassType, t.OfficeNo, t.Ei_Shengcang, t.BeforeDate, t.Ei_Gaiqian, t.Ei_Tuipiao, t.PolicyType, t.PolicySource, t.PubTime, t.IsStatus, t.Remark, t.WorkTime, t.Fei_WorkTIme, t.Priority, t.Price, t.LastEstalterState, t.IsView, t.AUTHORIZATIONOFFICE from policy_base t where 1=1 and (instr(FROMCITY, 'XIY')>0 or FROMCITY='*' ) and (instr(TOCITY, 'SZX')>0 or TOCITY='*') and instr(FLYTYPE, '1')>0 AND to_date(BEGINTIME, 'YYYY-MM-DD') <= to_date('2013-11-24', 'YYYY-MM-DD') AND to_date(ENDTIME, 'YYYY-MM-DD') >= to_date('2013-11-24', 'YYYY-MM-DD') AND to_date(TICKETSTART, 'YYYY-MM-DD') <= to_date('2013-11-21', 'YYYY-MM-DD') AND to_date(TICKETEND, 'YYYY-MM-DD') >= to_date('2013-11-21', 'YYYY-MM-DD') and (instr(WEEK, '7')>0 or WEEK is null or WEEK='') and backpoint>=3 and ISSTATUS=1 and ISCHECK=1 AND LASTESTALTERSTATE !='D' and PASSTYPE='1' order by backpoint desc) |
a1xy4s4yh62hj | insert into tbics_log(userid, ip, operateid, remark) values(:userid, :ip, :operateid, :remark) |
axfds3xc99mpp | select POLICYID, AIRCOM, CABIN, FLIGHTTYPE, BEFOREDATE, BEGINTIME, FLIGHTNO, FROMCITY, TOCITY, WEEK, BACKPOINT, PASSTYPE, OTABACKPOINT, TMCBACKPOINT, ISGROUP, SPECIALDISCOUNTMIN, SPECIALDISCOUNTMAX from (select row_number() over( order by backpoint desc , priority asc) as rowno, t.POLICYID, t.AIRCOM, t.CABIN, t.FLIGHTTYPE, t.BEFOREDATE, t.BEGINTIME, t.FLIGHTNO, t.FROMCITY, t.TOCITY, t.WEEK, t.BACKPOINT, t.PASSTYPE, t.OTABACKPOINT, t.TMCBACKPOINT, t.ISGROUP, t.SPECIALDISCOUNTMIN, t.SPECIALDISCOUNTMAX from policy_base t where 1=1 and (instr(FROMCITY, 'WEF')>0 or FROMCITY='*' ) and (instr(TOCITY, 'XIY')>0 or TOCITY='*') and instr(FLYTYPE, '1')>0 AND to_date(BEGINTIME, 'YYYY-MM-DD') <= to_date('2013-11-22', 'YYYY-MM-DD') AND to_date(ENDTIME, 'YYYY-MM-DD') >= to_date('2013-11-22', 'YYYY-MM-DD') AND to_date(TICKETSTART, 'YYYY-MM-DD') <= to_date('2013-11-21', 'YYYY-MM-DD') AND to_date(TICKETEND, 'YYYY-MM-DD') >= to_date('2013-11-21', 'YYYY-MM-DD') and (instr(WEEK, '5')>0 or WEEK is null or WEEK='') and ( instr('B2B_062931, B2B_030318, B2B_042886, B2B_032247, B2B_061054, B2B_023809, B2B_050906, B2B_030319, B2B_009226, B2B_038654, B2B_027658, B2B_027855, B2B_025158, B2B_008295, B2B_024586, B2B_067142, B2B_064404, B2B_001650, B2B_025484, B2B_001541, B2B_059519, B2B_028386, B2B_067213, B2B_027721, B2B_030103, B2B_049278, B2B_011842, B2B_005153, B2B_028549, B2B_004232, B2B_063773, B2B_069403, B2B_046678, B2B_035830, B2B_006707, B2B_022713, B2B_024399, B2B_031699, B2B_062351, B2B_023623, B2B_009296, B2B_005847, B2B_064226, B2B_035374, B2B_069682, B2B_001806, B2B_003360, B2B_008272, B2B_012198, B2B_051729, B2B_010641, B2B_001826, B2B_023136, B2B_064909, B2B_024757, B2B_014451, B2B_005220, B2B_028873, B2B_059689, B2B_001814, B2B_047945, B2B_049836, B2B_069440, B2B_002649, B2B_038745, B2B_064796, B2B_030006, B2B_063330, B2B_002055, B2B_039429, B2B_014231, B2B_046938, B2B_001953, B2B_049308, B2B_043215, B2B_023614, B2B_037828, B2B_002068, B2B_055694, B2B_017255, B2B_069683, B2B_031311, B2B_050647, B2B_047007, B2B_009042, B2B_025721, B2B_001819, B2B_051121, B2B_001570, B2B_039668, B2B_051343, B2B_010891, B2B_002851, B2B_070211, B2B_024933, B2B_062329, B2B_001554, B2B_027605, B2B_037906, B2B_013494, B2B_002618, B2B_057370, B2B_067560, B2B_026841, B2B_016350, B2B_016595, B2B_051620, B2B_069386, B2B_001644, B2B_044460, B2B_058751, B2B_000113, B2B_017165, B2B_047149, B2B_029904, B2B_064331, B2B_047195, B2B_052888, B2B_027767, B2B_032209, B2B_039814, B2B_070286, B2B_069317, B2B_003395, B2B_035542, B2B_068242, B2B_001399, B2B_069770, B2B_013215, B2B_070747, B2B_070482, B2B_070342, B2B_051186', t.agentsine)<=0 or t.agentsine is null or t.agentsine='' ) and (t.TMCBACKPOINT>=3 or t.OTABACKPOINT>=3) and ISSTATUS=1 and ISCHECK=1 AND PASSTYPE !='3' AND LASTESTALTERSTATE !='D' AND (FLIGHTTYPE is null or FLIGHTTYPE!=1) order by backpoint desc) |
axmdf8vq7k1rh | select increment$, minvalue, maxvalue, cycle#, order$, cache, highwater, audit$, flags from seq$ where obj#=:1 |
b0n3qqkkxrka6 | select orderId, orderfrom, ORDERSTATE from ics_order where (PNR like '%HNLQ4H%' or BIGPNR like '%HNLQ4H%') and (ORDERSTATE!=26 and ORDERSTATE!=4) order by ORDERTIME desc |
ba6n0vrmtz8vu | UPDATE CHANNEL_ORDER SET ORDERID = :B31 , ORDERTIME = :B30 , SEATNUM = :B29 , SEGTYPE = :B28 , PNR = :B27 , ORDERSTATE = :B26 , POLICYID = :B25 , TICKETTYPE = :B24 , TOTALPRICE = :B23 , BUYID = :B22 , ORDERFROM = :B21 , SEGMENTINFO = :B20 , AIRCOM = :B19 , FROMCITY = :B18 , TOCITY = :B17 , FLIGHTDATE = :B16 , FLIGHTNO = :B15 , FROMPORT = :B14 , TOPORT = :B13 , FROMTIME = :B12 , TOTIME = :B11 , CABIN = :B10 , PAYTYPE = :B9 , PAYTIME = :B8 , COPEPRICE = :B7 , GENERATEDATE = :B6 , MONEYOFF = :B5 , HANDLETIME = :B4 , FACTDEFRAYAL = :B3 , PUBOFFICE = :B2 , POUNDAGE = :B1 WHERE ORDERID = :B32 |
bc7gjv3ppdtbz | BEGIN dbms_workload_repository.create_snapshot(); END; |
c1u68tgz8y5px | SELECT COUNT(*) FROM ICS_FANDIAN WHERE ORDERID=(SELECT ORDERID FROM ICS_ORDER WHERE (ORDERID=:B2 OR COUPONID=:B1 )) |
c5422ddu64q8p | select count(*) from ics_order where 1=1 and orderfrom in('51BK', '517', '??', '19E', '??', '19E??', '??', '????', '517SZX', '??', '51BKSZX', '??SZX', '517SZX??', '517??') and orderfrom != 'SHBJDLS' |
chf20zq23a82a | select * from (select /*+ FIRST_ROWS(15) */ DISTINCT A.orderid, A.oldOrderID, A.ORDERTIME, A.PNR||'-'||A.bigpnr PNR, A.psgs, A.fromport||'-'||A.toport||'('||A.segtype||')' PORT, A.flightno, A.APPLICATIONSAKE, A.aircom, A.flightdate, to_char(A.TOTALPRICE, 'fm9999999990.00') As TOTALPRICE, decode(orderstate, '0', '???', '16', '??????', '3', '?????', '35', '???????', '44', '???, ??????', '45', '???, ??????', '52', '??????, ???, ???', '53', '??????, ???, ???', '54', '??????, ???, ???', '55', '??????', '56', '??????, ??????', '59', '?????????', '47', '????', '60', '????????') orderstate, A.commision, case A.Orderfrom when 'TEMPUSB2B' then A.Orderfrom||'-'||A.logname else A.orderfrom end orderfrom, A.logname, A.OT_TYPE, IFSORT||'<br/>'||COOPERATION||puboffice as backpoint, ISCLOSE, CLOSER from ics_order A where (A.orderstate='0' or A.orderstate='16' or A.orderstate='3' or A.orderstate='30' or A.orderstate='44' or A.orderstate='45' or A.orderstate='52' or A.orderstate='53' or A.orderstate='54' or A.orderstate='55' or A.orderstate='56' or A.orderstate='59' or A.orderstate='47' or a.orderstate='60') and (oldorderid is null or oldorderid='') and A.orderfrom!='51BK' and A.orderfrom!='517' and A.orderfrom!='??' and A.orderfrom!='19E' and A.orderfrom!='??' and A.orderfrom!='19E??' and A.orderfrom!='??' and A.orderfrom!='????' and A.orderfrom!='517SZX' and A.orderfrom!='??' and A.orderfrom!='51BKSZX' and A.orderfrom!='??SZX' and A.orderfrom!='517SZX??' and A.orderfrom!='517??' and A.orderfrom != 'SHBJDLS') z, (select a.orderid, REPLACE(wmsys.wm_concat(a.PASSENGERNAME), ', ', '<br>') as pgname, REPLACE(wmsys.wm_concat(a.TICKETPRICE), ', ', '<br>') as pgprice, REPLACE(wmsys.wm_concat(a.UFUELTAX||'/'||a.AIRPORTTAX), ', ', '<br>') as ranji from TBICS_PASSENGERINFO a, ics_order b where a.orderid=b.orderid and (b.orderstate='0' or b.orderstate='16' or b.orderstate='3' or b.orderstate='30' or b.orderstate='44' or b.orderstate='45' or b.orderstate='52' or b.orderstate='53' or b.orderstate='54' or b.orderstate='55' or b.orderstate='56' or b.orderstate='59'or b.orderstate='47' or b.orderstate='60') group by a.orderid) y where z.orderid = y.orderid order by z.ordertime |
cm5vu20fhtnq1 | select /*+ connect_by_filtering */ privilege#, level from sysauth$ connect by grantee#=prior privilege# and privilege#>0 start with grantee#=:1 and privilege#>0 |
ct78468spkzrt | select count(*) from v$lock |
cvn54b7yz0s8u | select /*+ index(idl_ub1$ i_idl_ub11) +*/ piece#, length, piece from idl_ub1$ where obj#=:1 and part=:2 and version=:3 order by piece# |
d1sfptpna4jrz | select * from ics_order where pubid like '%T2013112122174%' |
dqdyqmq1g00as | select POLICYID, AIRCOM, CABIN, FLIGHTTYPE, BEFOREDATE, BEGINTIME, FLIGHTNO, FROMCITY, TOCITY, WEEK, BACKPOINT, PASSTYPE, OTABACKPOINT, TMCBACKPOINT, ISGROUP, SPECIALDISCOUNTMIN, SPECIALDISCOUNTMAX from (select row_number() over( order by backpoint desc , priority asc) as rowno, t.POLICYID, t.AIRCOM, t.CABIN, t.FLIGHTTYPE, t.BEFOREDATE, t.BEGINTIME, t.FLIGHTNO, t.FROMCITY, t.TOCITY, t.WEEK, t.BACKPOINT, t.PASSTYPE, t.OTABACKPOINT, t.TMCBACKPOINT, t.ISGROUP, t.SPECIALDISCOUNTMIN, t.SPECIALDISCOUNTMAX from policy_base t where 1=1 and (instr(FROMCITY, 'CTU')>0 or FROMCITY='*' ) and (instr(TOCITY, 'SZX')>0 or TOCITY='*') and instr(FLYTYPE, '1')>0 AND to_date(BEGINTIME, 'YYYY-MM-DD') <= to_date('2013-11-21', 'YYYY-MM-DD') AND to_date(ENDTIME, 'YYYY-MM-DD') >= to_date('2013-11-21', 'YYYY-MM-DD') AND to_date(TICKETSTART, 'YYYY-MM-DD') <= to_date('2013-11-21', 'YYYY-MM-DD') AND to_date(TICKETEND, 'YYYY-MM-DD') >= to_date('2013-11-21', 'YYYY-MM-DD') and (instr(WEEK, '4')>0 or WEEK is null or WEEK='') and ( instr('B2B_062931, B2B_030318, B2B_042886, B2B_032247, B2B_061054, B2B_023809, B2B_050906, B2B_030319, B2B_009226, B2B_038654, B2B_027658, B2B_027855, B2B_025158, B2B_008295, B2B_024586, B2B_067142, B2B_064404, B2B_001650, B2B_025484, B2B_001541, B2B_059519, B2B_028386, B2B_067213, B2B_027721, B2B_030103, B2B_049278, B2B_011842, B2B_005153, B2B_028549, B2B_004232, B2B_063773, B2B_069403, B2B_046678, B2B_035830, B2B_006707, B2B_022713, B2B_024399, B2B_031699, B2B_062351, B2B_023623, B2B_009296, B2B_005847, B2B_064226, B2B_035374, B2B_069682, B2B_001806, B2B_003360, B2B_008272, B2B_012198, B2B_051729, B2B_010641, B2B_001826, B2B_023136, B2B_064909, B2B_024757, B2B_014451, B2B_005220, B2B_028873, B2B_059689, B2B_001814, B2B_047945, B2B_049836, B2B_069440, B2B_002649, B2B_038745, B2B_064796, B2B_030006, B2B_063330, B2B_002055, B2B_039429, B2B_014231, B2B_046938, B2B_001953, B2B_049308, B2B_043215, B2B_023614, B2B_037828, B2B_002068, B2B_055694, B2B_017255, B2B_069683, B2B_031311, B2B_050647, B2B_047007, B2B_009042, B2B_025721, B2B_001819, B2B_051121, B2B_001570, B2B_039668, B2B_051343, B2B_010891, B2B_002851, B2B_070211, B2B_024933, B2B_062329, B2B_001554, B2B_027605, B2B_037906, B2B_013494, B2B_002618, B2B_057370, B2B_067560, B2B_026841, B2B_016350, B2B_016595, B2B_051620, B2B_069386, B2B_001644, B2B_044460, B2B_058751, B2B_000113, B2B_017165, B2B_047149, B2B_029904, B2B_064331, B2B_047195, B2B_052888, B2B_027767, B2B_032209, B2B_039814, B2B_070286, B2B_069317, B2B_003395, B2B_035542, B2B_068242, B2B_001399, B2B_069770, B2B_013215, B2B_070747, B2B_070482, B2B_070342, B2B_051186', t.agentsine)<=0 or t.agentsine is null or t.agentsine='' ) and (t.TMCBACKPOINT>=3 or t.OTABACKPOINT>=3) and ISSTATUS=1 and ISCHECK=1 AND PASSTYPE !=3 AND LASTESTALTERSTATE !='D' AND (FLIGHTTYPE is null or FLIGHTTYPE!=1) order by backpoint desc) |
dw94kutvhh845 | select * from ics_order where pubid like '%T2013112136326%' |
f4r6ndbr8fzmu | select POLICYID, AIRCOM, CABIN, FLIGHTTYPE, BEFOREDATE, BEGINTIME, FLIGHTNO, FROMCITY, TOCITY, WEEK, BACKPOINT, PASSTYPE, OTABACKPOINT, TMCBACKPOINT, ISGROUP, SPECIALDISCOUNTMIN, SPECIALDISCOUNTMAX from (select row_number() over( order by backpoint desc , priority asc) as rowno, t.POLICYID, t.AIRCOM, t.CABIN, t.FLIGHTTYPE, t.BEFOREDATE, t.BEGINTIME, t.FLIGHTNO, t.FROMCITY, t.TOCITY, t.WEEK, t.BACKPOINT, t.PASSTYPE, t.OTABACKPOINT, t.TMCBACKPOINT, t.ISGROUP, t.SPECIALDISCOUNTMIN, t.SPECIALDISCOUNTMAX from policy_base t where 1=1 and (instr(FROMCITY, 'CGO')>0 or FROMCITY='*' ) and (instr(TOCITY, 'UYN')>0 or TOCITY='*') and instr(FLYTYPE, '1')>0 AND to_date(BEGINTIME, 'YYYY-MM-DD') <= to_date('2013-11-23', 'YYYY-MM-DD') AND to_date(ENDTIME, 'YYYY-MM-DD') >= to_date('2013-11-23', 'YYYY-MM-DD') AND to_date(TICKETSTART, 'YYYY-MM-DD') <= to_date('2013-11-21', 'YYYY-MM-DD') AND to_date(TICKETEND, 'YYYY-MM-DD') >= to_date('2013-11-21', 'YYYY-MM-DD') and (instr(WEEK, '6')>0 or WEEK is null or WEEK='') and ( instr('B2B_062931, B2B_030318, B2B_042886, B2B_032247, B2B_061054, B2B_023809, B2B_050906, B2B_030319, B2B_009226, B2B_038654, B2B_027658, B2B_027855, B2B_025158, B2B_008295, B2B_024586, B2B_067142, B2B_064404, B2B_001650, B2B_025484, B2B_001541, B2B_059519, B2B_028386, B2B_067213, B2B_027721, B2B_030103, B2B_049278, B2B_011842, B2B_005153, B2B_028549, B2B_004232, B2B_063773, B2B_069403, B2B_046678, B2B_035830, B2B_006707, B2B_022713, B2B_024399, B2B_031699, B2B_062351, B2B_023623, B2B_009296, B2B_005847, B2B_064226, B2B_035374, B2B_069682, B2B_001806, B2B_003360, B2B_008272, B2B_012198, B2B_051729, B2B_010641, B2B_001826, B2B_023136, B2B_064909, B2B_024757, B2B_014451, B2B_005220, B2B_028873, B2B_059689, B2B_001814, B2B_047945, B2B_049836, B2B_069440, B2B_002649, B2B_038745, B2B_064796, B2B_030006, B2B_063330, B2B_002055, B2B_039429, B2B_014231, B2B_046938, B2B_001953, B2B_049308, B2B_043215, B2B_023614, B2B_037828, B2B_002068, B2B_055694, B2B_017255, B2B_069683, B2B_031311, B2B_050647, B2B_047007, B2B_009042, B2B_025721, B2B_001819, B2B_051121, B2B_001570, B2B_039668, B2B_051343, B2B_010891, B2B_002851, B2B_070211, B2B_024933, B2B_062329, B2B_001554, B2B_027605, B2B_037906, B2B_013494, B2B_002618, B2B_057370, B2B_067560, B2B_026841, B2B_016350, B2B_016595, B2B_051620, B2B_069386, B2B_001644, B2B_044460, B2B_058751, B2B_000113, B2B_017165, B2B_047149, B2B_029904, B2B_064331, B2B_047195, B2B_052888, B2B_027767, B2B_032209, B2B_039814, B2B_070286, B2B_069317, B2B_003395, B2B_035542, B2B_068242, B2B_001399, B2B_069770, B2B_013215, B2B_070747, B2B_070482, B2B_070342, B2B_051186', t.agentsine)<=0 or t.agentsine is null or t.agentsine='' ) and (t.TMCBACKPOINT>=3 or t.OTABACKPOINT>=3) and ISSTATUS=1 and ISCHECK=1 AND PASSTYPE !='3' AND LASTESTALTERSTATE !='D' AND (FLIGHTTYPE is null or FLIGHTTYPE!=1) order by backpoint desc) |
f5tz11uhm37fs | select * from (select /*+ FIRST_ROWS(15) */ DISTINCT A.orderid, A.oldOrderID, A.ORDERTIME, A.PNR||'-'||A.bigpnr PNR, A.psgs, A.fromport||'-'||A.toport||'('||A.segtype||')' PORT, A.flightno, A.APPLICATIONSAKE, A.aircom, A.flightdate, to_char(A.TOTALPRICE, 'fm9999999990.00') As TOTALPRICE, decode(orderstate, '0', '???', '16', '??????', '3', '?????', '35', '???????', '44', '???, ??????', '45', '???, ??????', '52', '??????, ???, ???', '53', '??????, ???, ???', '54', '??????, ???, ???', '55', '??????', '56', '??????, ??????', '59', '?????????', '60', '????????') orderstate, A.commision, A.GENERATEDATE, case A.Orderfrom when 'TEMPUSB2B' then A.Orderfrom||'-'||A.logname else A.orderfrom end orderfrom, A.logname, A.OT_TYPE, IFSORT||'<br/>'||COOPERATION||puboffice as officeNO, ISCLOSE, CLOSER from ics_order A where (A.orderstate='0' or A.orderstate='16' or A.orderstate='3' or A.orderstate='30' or A.orderstate='44' or A.orderstate='45' or A.orderstate='52' or A.orderstate='53' or A.orderstate='54' or A.orderstate='55' or A.orderstate='56' or A.orderstate='59' or a.orderstate='60' ) and (oldorderid is null or oldorderid='') and A.orderfrom in('51BK', '517', '??', '19E', '??', '19E??', '??', '????', '517SZX', '??', '51BKSZX', '??SZX', '517SZX??', '517??') and A.orderfrom != 'SHBJDLS' ) z, (select a.orderid, REPLACE(wmsys.wm_concat(a.PASSENGERNAME), ', ', '<br>') as pgname, REPLACE(wmsys.wm_concat(a.TICKETPRICE), ', ', '<br>') as pgprice, REPLACE(wmsys.wm_concat(a.UFUELTAX||'/'||a.AIRPORTTAX), ', ', '<br>') as ranji from TBICS_PASSENGERINFO a, ics_order b where a.orderid=b.orderid and (b.orderstate='0' or b.orderstate='16' or b.orderstate='3' or b.orderstate='30' or b.orderstate='44' or b.orderstate='45' or b.orderstate='52' or b.orderstate='53' or b.orderstate='54' or b.orderstate='55' or b.orderstate='56' or b.orderstate='59' or b.orderstate='60') group by a.orderid) y where z.orderid = y.orderid order by z.ordertime |
f711myt0q6cma | insert into sys.aud$( sessionid, entryid, statement, ntimestamp#, userid, userhost, terminal, action#, returncode, logoff$lread, logoff$pread, logoff$lwrite, logoff$dead, logoff$time, comment$text, spare1, clientid, sessioncpu, proxy$sid, user$guid, instance#, process#, auditid, dbid) values(:1, :2, :3, SYS_EXTRACT_UTC(SYSTIMESTAMP), :4, :5, :6, :7, :8, :9, :10, :11, :12, cast(SYS_EXTRACT_UTC(systimestamp) as date), :13, :14, :15, :16, :17, :18, :19, :20, :21, :22) |
fc9x73fttz38u | select PolicyID, FromCity, ToCity, AirCom, FlyType, Week, FlightType, FlightNo, Cabin, BeginTime, EndTime, R_SDate, R_EDate, TicketStart, TicketEnd, TicketType, DisCount, B2BBackPoint, PassType, OfficeNo, Ei_Shengcang, BeforeDate, Ei_Gaiqian, Ei_Tuipiao, PolicyType, PolicySource, PubTime, IsStatus, Remark, WorkTime, Fei_WorkTIme, Priority, Price, LastEstalterState, IsView, AUTHORIZATIONOFFICE from (select row_number() over( order by backpoint desc , priority asc) as rowno, t.PolicyID, t.FromCity, t.ToCity, t.AirCom, t.FlyType, t.Week, t.FlightType, t.FlightNo, t.Cabin, t.BeginTime, t.EndTime, t.R_SDate, t.R_EDate, t.TicketStart, t.TicketEnd, t.TicketType, t.DisCount, t.B2BBackPoint, t.PassType, t.OfficeNo, t.Ei_Shengcang, t.BeforeDate, t.Ei_Gaiqian, t.Ei_Tuipiao, t.PolicyType, t.PolicySource, t.PubTime, t.IsStatus, t.Remark, t.WorkTime, t.Fei_WorkTIme, t.Priority, t.Price, t.LastEstalterState, t.IsView, t.AUTHORIZATIONOFFICE from policy_base t where 1=1 and (instr(FROMCITY, 'SHE')>0 or FROMCITY='*' ) and (instr(TOCITY, 'PVG')>0 or TOCITY='*') and instr(FLYTYPE, '1')>0 AND to_date(BEGINTIME, 'YYYY-MM-DD') <= to_date('2013-11-30', 'YYYY-MM-DD') AND to_date(ENDTIME, 'YYYY-MM-DD') >= to_date('2013-11-30', 'YYYY-MM-DD') AND to_date(TICKETSTART, 'YYYY-MM-DD') <= to_date('2013-11-21', 'YYYY-MM-DD') AND to_date(TICKETEND, 'YYYY-MM-DD') >= to_date('2013-11-21', 'YYYY-MM-DD') and (instr(WEEK, '6')>0 or WEEK is null or WEEK='') and backpoint>=3 and ISSTATUS=1 and ISCHECK=1 AND LASTESTALTERSTATE !='D' and PASSTYPE='1' order by backpoint desc) |
gzauf0b286tn3 | select orderId, orderfrom, ORDERSTATE from ics_order where (PNR like '%JGMER0%' or BIGPNR like '%JGMER0%') and (ORDERSTATE!=26 and ORDERSTATE!=4) order by ORDERTIME desc |