SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002275s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000614s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.003008s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.147' ) [ RunTime:0.000400s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002192s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000354s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 186 LIMIT 1 [ RunTime:0.000482s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 186 [ RunTime:0.000262s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 26 [ RunTime:0.000258s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002403s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 186 ) AND `u`.`lockUser` = '0' [ RunTime:0.002843s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` = 186 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013273s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND `s`.`id` IN ('951','953','13416','6840','3600','13397','654','896','3980','892','1132','954','895','4761','1610','901','955','6682','2978','900') ORDER BY FIELD(s.id, 951,953,13416,6840,3600,13397,654,896,3980,892,1132,954,895,4761,1610,901,955,6682,2978,900) [ RunTime:0.004549s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002729s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 951 LIMIT 4 [ RunTime:0.006624s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002605s ]
SELECT * FROM `stock_price` WHERE `stockid` = 951 ORDER BY `minOrder` ASC [ RunTime:0.000491s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002022s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 951 ORDER BY `unit` DESC [ RunTime:0.000262s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001715s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 951 LIMIT 2 [ RunTime:0.000245s ]
SELECT * FROM `stock_price` WHERE `stockid` = 951 ORDER BY `minOrder` ASC [ RunTime:0.000231s ]
select * from pdf where partno='1393774-1' and brandshort='AXICOM - TE CONNECTIVITY' limit 1 [ RunTime:0.005364s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001768s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1393774-1' OR `brand` LIKE 'AXICOM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002867s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 953 LIMIT 4 [ RunTime:0.004118s ]
SELECT * FROM `stock_price` WHERE `stockid` = 953 ORDER BY `minOrder` ASC [ RunTime:0.003050s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 953 ORDER BY `unit` DESC [ RunTime:0.000445s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 953 LIMIT 2 [ RunTime:0.002049s ]
SELECT * FROM `stock_price` WHERE `stockid` = 953 ORDER BY `minOrder` ASC [ RunTime:0.003792s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RTE24024' OR `brand` LIKE 'SCHRACK - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.003902s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13416 LIMIT 4 [ RunTime:0.001141s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13416 ORDER BY `minOrder` ASC [ RunTime:0.004280s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13416 ORDER BY `unit` DESC [ RunTime:0.000395s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13416 LIMIT 2 [ RunTime:0.007257s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13416 ORDER BY `minOrder` ASC [ RunTime:0.004853s ]
select * from pdf where partno='106529-2.' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.003059s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '106529-2.' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001447s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6840 LIMIT 4 [ RunTime:0.001475s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6840 ORDER BY `minOrder` ASC [ RunTime:0.003060s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6840 ORDER BY `unit` DESC [ RunTime:0.006653s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6840 LIMIT 2 [ RunTime:0.001181s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6840 ORDER BY `minOrder` ASC [ RunTime:0.001860s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VO1400AEFTR' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.009228s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3600 LIMIT 4 [ RunTime:0.000634s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3600 ORDER BY `minOrder` ASC [ RunTime:0.000776s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3600 ORDER BY `unit` DESC [ RunTime:0.002514s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3600 LIMIT 2 [ RunTime:0.000533s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3600 ORDER BY `minOrder` ASC [ RunTime:0.000418s ]
select * from pdf where partno='PYC-A1.' and brandshort='OMRON INDUSTRIAL AUTOMATION' limit 1 [ RunTime:0.001338s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PYC-A1.' OR `brand` LIKE 'OMRON INDUSTRIAL AUTOMATION%' ) ) LIMIT 1 [ RunTime:0.005084s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13397 LIMIT 4 [ RunTime:0.001059s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13397 ORDER BY `minOrder` ASC [ RunTime:0.000346s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13397 ORDER BY `unit` DESC [ RunTime:0.004270s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13397 LIMIT 2 [ RunTime:0.000721s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13397 ORDER BY `minOrder` ASC [ RunTime:0.000239s ]
select * from pdf where partno='G6K-2P DC5' and brandshort='OMRON ELECTRONIC COMPONENTS' limit 1 [ RunTime:0.001982s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'G6K-2P DC5' OR `brand` LIKE 'OMRON ELECTRONIC COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.001257s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 654 LIMIT 4 [ RunTime:0.001070s ]
SELECT * FROM `stock_price` WHERE `stockid` = 654 ORDER BY `minOrder` ASC [ RunTime:0.000281s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 654 ORDER BY `unit` DESC [ RunTime:0.001725s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 654 LIMIT 2 [ RunTime:0.002484s ]
SELECT * FROM `stock_price` WHERE `stockid` = 654 ORDER BY `minOrder` ASC [ RunTime:0.000165s ]
select * from pdf where partno='TX2-24V' and brandshort='PANASONIC' limit 1 [ RunTime:0.004647s ]
select foldpath,foldpath2,filename from pdf_file where id=1060653 limit 1 [ RunTime:0.001901s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TX2-24V' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.014808s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 896 LIMIT 4 [ RunTime:0.000492s ]
SELECT * FROM `stock_price` WHERE `stockid` = 896 ORDER BY `minOrder` ASC [ RunTime:0.001171s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 896 ORDER BY `unit` DESC [ RunTime:0.005911s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 896 LIMIT 2 [ RunTime:0.000415s ]
SELECT * FROM `stock_price` WHERE `stockid` = 896 ORDER BY `minOrder` ASC [ RunTime:0.000340s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '62.82.8.230.0000' OR `brand` LIKE 'FINDER%' ) ) LIMIT 1 [ RunTime:0.001800s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3980 LIMIT 4 [ RunTime:0.000479s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3980 ORDER BY `minOrder` ASC [ RunTime:0.000636s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3980 ORDER BY `unit` DESC [ RunTime:0.001465s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3980 LIMIT 2 [ RunTime:0.000285s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3980 ORDER BY `minOrder` ASC [ RunTime:0.000190s ]
select * from pdf where partno='6-1415537-5' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.001550s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '6-1415537-5' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.011461s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 892 LIMIT 4 [ RunTime:0.000435s ]
SELECT * FROM `stock_price` WHERE `stockid` = 892 ORDER BY `minOrder` ASC [ RunTime:0.000313s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 892 ORDER BY `unit` DESC [ RunTime:0.000248s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 892 LIMIT 2 [ RunTime:0.001639s ]
SELECT * FROM `stock_price` WHERE `stockid` = 892 ORDER BY `minOrder` ASC [ RunTime:0.003266s ]
select * from pdf where partno='40.52.7.024.0000' and brandshort='FINDER' limit 1 [ RunTime:0.001477s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '40.52.7.024.0000' OR `brand` LIKE 'FINDER%' ) ) LIMIT 1 [ RunTime:0.000657s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1132 LIMIT 4 [ RunTime:0.000261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1132 ORDER BY `minOrder` ASC [ RunTime:0.000990s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1132 ORDER BY `unit` DESC [ RunTime:0.000820s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1132 LIMIT 2 [ RunTime:0.004400s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1132 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
select * from pdf where partno='TX2-5V' and brandshort='PANASONIC' limit 1 [ RunTime:0.001542s ]
select foldpath,foldpath2,filename from pdf_file where id=1152169 limit 1 [ RunTime:0.005333s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TX2-5V' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.005057s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 954 LIMIT 4 [ RunTime:0.000326s ]
SELECT * FROM `stock_price` WHERE `stockid` = 954 ORDER BY `minOrder` ASC [ RunTime:0.001480s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 954 ORDER BY `unit` DESC [ RunTime:0.003543s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 954 LIMIT 2 [ RunTime:0.000295s ]
SELECT * FROM `stock_price` WHERE `stockid` = 954 ORDER BY `minOrder` ASC [ RunTime:0.000200s ]
select * from pdf where partno='1-1393243-8' and brandshort='SCHRACK - TE CONNECTIVITY' limit 1 [ RunTime:0.002984s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-1393243-8' OR `brand` LIKE 'SCHRACK - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000734s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 895 LIMIT 4 [ RunTime:0.000909s ]
SELECT * FROM `stock_price` WHERE `stockid` = 895 ORDER BY `minOrder` ASC [ RunTime:0.000256s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 895 ORDER BY `unit` DESC [ RunTime:0.007072s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 895 LIMIT 2 [ RunTime:0.000272s ]
SELECT * FROM `stock_price` WHERE `stockid` = 895 ORDER BY `minOrder` ASC [ RunTime:0.000183s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '94.82SMA' OR `brand` LIKE 'FINDER%' ) ) LIMIT 1 [ RunTime:0.003955s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4761 LIMIT 4 [ RunTime:0.000274s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4761 ORDER BY `minOrder` ASC [ RunTime:0.000386s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4761 ORDER BY `unit` DESC [ RunTime:0.000254s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4761 LIMIT 2 [ RunTime:0.000232s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4761 ORDER BY `minOrder` ASC [ RunTime:0.000154s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AGQ200S03Z' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.005318s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1610 LIMIT 4 [ RunTime:0.002317s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1610 ORDER BY `minOrder` ASC [ RunTime:0.001761s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1610 ORDER BY `unit` DESC [ RunTime:0.003685s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1610 LIMIT 2 [ RunTime:0.001222s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1610 ORDER BY `minOrder` ASC [ RunTime:0.001609s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '32.21.7.005.2000' OR `brand` LIKE 'FINDER%' ) ) LIMIT 1 [ RunTime:0.000804s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 901 LIMIT 4 [ RunTime:0.000299s ]
SELECT * FROM `stock_price` WHERE `stockid` = 901 ORDER BY `minOrder` ASC [ RunTime:0.000244s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 901 ORDER BY `unit` DESC [ RunTime:0.000251s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 901 LIMIT 2 [ RunTime:0.002548s ]
SELECT * FROM `stock_price` WHERE `stockid` = 901 ORDER BY `minOrder` ASC [ RunTime:0.002425s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '95.85.3SMA' OR `brand` LIKE 'FINDER%' ) ) LIMIT 1 [ RunTime:0.000697s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 955 LIMIT 4 [ RunTime:0.003170s ]
SELECT * FROM `stock_price` WHERE `stockid` = 955 ORDER BY `minOrder` ASC [ RunTime:0.000466s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 955 ORDER BY `unit` DESC [ RunTime:0.000413s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 955 LIMIT 2 [ RunTime:0.001822s ]
SELECT * FROM `stock_price` WHERE `stockid` = 955 ORDER BY `minOrder` ASC [ RunTime:0.001915s ]
select * from pdf where partno='IM03TS' and brandshort='AXICOM - TE CONNECTIVITY' limit 1 [ RunTime:0.003360s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IM03TS' OR `brand` LIKE 'AXICOM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002256s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6682 LIMIT 4 [ RunTime:0.002920s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6682 ORDER BY `minOrder` ASC [ RunTime:0.009833s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6682 ORDER BY `unit` DESC [ RunTime:0.000885s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6682 LIMIT 2 [ RunTime:0.000650s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6682 ORDER BY `minOrder` ASC [ RunTime:0.000239s ]
select * from pdf where partno='EC2-5NU' and brandshort='KEMET' limit 1 [ RunTime:0.001594s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EC2-5NU' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.004469s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2978 LIMIT 4 [ RunTime:0.008259s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2978 ORDER BY `minOrder` ASC [ RunTime:0.005887s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2978 ORDER BY `unit` DESC [ RunTime:0.000834s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2978 LIMIT 2 [ RunTime:0.001325s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2978 ORDER BY `minOrder` ASC [ RunTime:0.000755s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RT314024' OR `brand` LIKE 'SCHRACK - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.005680s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 900 LIMIT 4 [ RunTime:0.003865s ]
SELECT * FROM `stock_price` WHERE `stockid` = 900 ORDER BY `minOrder` ASC [ RunTime:0.000614s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 900 ORDER BY `unit` DESC [ RunTime:0.017735s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 900 LIMIT 2 [ RunTime:0.005334s ]
SELECT * FROM `stock_price` WHERE `stockid` = 900 ORDER BY `minOrder` ASC [ RunTime:0.004309s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '38.51.7.024.0050' OR `brand` LIKE 'FINDER%' ) ) LIMIT 1 [ RunTime:0.003360s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 186 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.011133s ]