SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001238s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000418s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001438s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.188' ) [ RunTime:0.000253s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001086s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000253s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 282 LIMIT 1 [ RunTime:0.000283s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 282 [ RunTime:0.000219s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 29 [ RunTime:0.000231s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001159s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` = 4 AND `status` <> 2 AND `categoryid` = 282 ) [ RunTime:0.008042s ]
SELECT `s`.`id`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` = 4 AND `status` <> 2 AND `categoryid` = 282 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003409s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001571s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16196 LIMIT 4 [ RunTime:0.002490s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000938s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16196 ORDER BY `minOrder` ASC [ RunTime:0.000367s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000909s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16196 ORDER BY `unit` DESC [ RunTime:0.000582s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001029s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16196 LIMIT 2 [ RunTime:0.001993s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16196 ORDER BY `minOrder` ASC [ RunTime:0.000269s ]
select * from pdf where partno='03-09-1032' and brandshort='MOLEX' limit 1 [ RunTime:0.004110s ]
select foldpath,foldpath2,filename from pdf_file where id=821118 limit 1 [ RunTime:0.001064s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002313s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '03-09-1032' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.011702s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16122 LIMIT 4 [ RunTime:0.003793s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16122 ORDER BY `minOrder` ASC [ RunTime:0.003089s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16122 ORDER BY `unit` DESC [ RunTime:0.003474s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16122 LIMIT 2 [ RunTime:0.004107s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16122 ORDER BY `minOrder` ASC [ RunTime:0.000361s ]
select * from pdf where partno='1586019-6' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.000823s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1586019-6' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.004854s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16121 LIMIT 4 [ RunTime:0.004741s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16121 ORDER BY `minOrder` ASC [ RunTime:0.005556s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16121 ORDER BY `unit` DESC [ RunTime:0.002859s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16121 LIMIT 2 [ RunTime:0.006094s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16121 ORDER BY `minOrder` ASC [ RunTime:0.002690s ]
select * from pdf where partno='1-2069682-5' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.001196s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-2069682-5' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.021926s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16095 LIMIT 4 [ RunTime:0.006340s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16095 ORDER BY `minOrder` ASC [ RunTime:0.000484s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16095 ORDER BY `unit` DESC [ RunTime:0.003106s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16095 LIMIT 2 [ RunTime:0.003871s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16095 ORDER BY `minOrder` ASC [ RunTime:0.001041s ]
select * from pdf where partno='19-09-1029' and brandshort='MOLEX' limit 1 [ RunTime:0.001704s ]
select foldpath,foldpath2,filename from pdf_file where id=680427 limit 1 [ RunTime:0.000831s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '19-09-1029' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.012062s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16070 LIMIT 4 [ RunTime:0.004906s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16070 ORDER BY `minOrder` ASC [ RunTime:0.001361s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16070 ORDER BY `unit` DESC [ RunTime:0.001102s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16070 LIMIT 2 [ RunTime:0.000916s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16070 ORDER BY `minOrder` ASC [ RunTime:0.000225s ]
select * from pdf where partno='51021-0500' and brandshort='MOLEX' limit 1 [ RunTime:0.001542s ]
select foldpath,foldpath2,filename from pdf_file where id=824932 limit 1 [ RunTime:0.000893s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '51021-0500' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.006427s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16022 LIMIT 4 [ RunTime:0.001485s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16022 ORDER BY `minOrder` ASC [ RunTime:0.002132s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16022 ORDER BY `unit` DESC [ RunTime:0.004887s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16022 LIMIT 2 [ RunTime:0.000776s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16022 ORDER BY `minOrder` ASC [ RunTime:0.000167s ]
select * from pdf where partno='1-968700-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.000554s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-968700-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000262s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15991 LIMIT 4 [ RunTime:0.000678s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15991 ORDER BY `minOrder` ASC [ RunTime:0.000244s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15991 ORDER BY `unit` DESC [ RunTime:0.000237s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15991 LIMIT 2 [ RunTime:0.000224s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15991 ORDER BY `minOrder` ASC [ RunTime:0.001746s ]
select * from pdf where partno='1-1719393-1' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.001005s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-1719393-1' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.011158s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15980 LIMIT 4 [ RunTime:0.001925s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15980 ORDER BY `minOrder` ASC [ RunTime:0.001466s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15980 ORDER BY `unit` DESC [ RunTime:0.001791s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15980 LIMIT 2 [ RunTime:0.000312s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15980 ORDER BY `minOrder` ASC [ RunTime:0.000191s ]
select * from pdf where partno='206433-3' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.000291s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206433-3' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000205s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15886 LIMIT 4 [ RunTime:0.000301s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15886 ORDER BY `minOrder` ASC [ RunTime:0.000299s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15886 ORDER BY `unit` DESC [ RunTime:0.000289s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15886 LIMIT 2 [ RunTime:0.003430s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15886 ORDER BY `minOrder` ASC [ RunTime:0.000769s ]
select * from pdf where partno='39-03-6094' and brandshort='MOLEX' limit 1 [ RunTime:0.001197s ]
select foldpath,foldpath2,filename from pdf_file where id=827379 limit 1 [ RunTime:0.002258s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '39-03-6094' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.012333s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15869 LIMIT 4 [ RunTime:0.005162s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15869 ORDER BY `minOrder` ASC [ RunTime:0.002816s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15869 ORDER BY `unit` DESC [ RunTime:0.000300s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15869 LIMIT 2 [ RunTime:0.005671s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15869 ORDER BY `minOrder` ASC [ RunTime:0.002471s ]
select * from pdf where partno='201298-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.000490s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '201298-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000225s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15845 LIMIT 4 [ RunTime:0.002428s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15845 ORDER BY `minOrder` ASC [ RunTime:0.004081s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15845 ORDER BY `unit` DESC [ RunTime:0.000359s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15845 LIMIT 2 [ RunTime:0.001931s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15845 ORDER BY `minOrder` ASC [ RunTime:0.003954s ]
select * from pdf where partno='PHR-15' and brandshort='JST JAPAN SOLDERLESS TERMINALS' limit 1 [ RunTime:0.000760s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PHR-15' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.003203s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15817 LIMIT 4 [ RunTime:0.002270s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15817 ORDER BY `minOrder` ASC [ RunTime:0.001622s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15817 ORDER BY `unit` DESC [ RunTime:0.000398s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15817 LIMIT 2 [ RunTime:0.000313s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15817 ORDER BY `minOrder` ASC [ RunTime:0.000944s ]
select * from pdf where partno='3-640440-4' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.000559s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3-640440-4' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000283s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15809 LIMIT 4 [ RunTime:0.000390s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15809 ORDER BY `minOrder` ASC [ RunTime:0.000990s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15809 ORDER BY `unit` DESC [ RunTime:0.001240s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15809 LIMIT 2 [ RunTime:0.003327s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15809 ORDER BY `minOrder` ASC [ RunTime:0.002695s ]
select * from pdf where partno='1379217-3' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.003508s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1379217-3' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.012981s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15583 LIMIT 4 [ RunTime:0.001216s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15583 ORDER BY `minOrder` ASC [ RunTime:0.000868s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15583 ORDER BY `unit` DESC [ RunTime:0.003831s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15583 LIMIT 2 [ RunTime:0.004271s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15583 ORDER BY `minOrder` ASC [ RunTime:0.002874s ]
select * from pdf where partno='2-178288-8' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.001082s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2-178288-8' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000563s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15581 LIMIT 4 [ RunTime:0.002734s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15581 ORDER BY `minOrder` ASC [ RunTime:0.001634s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15581 ORDER BY `unit` DESC [ RunTime:0.000194s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15581 LIMIT 2 [ RunTime:0.000183s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15581 ORDER BY `minOrder` ASC [ RunTime:0.000185s ]
select * from pdf where partno='DF11-4DS-2C' and brandshort='HIROSEHRS' limit 1 [ RunTime:0.000212s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DF11-4DS-2C' OR `brand` LIKE 'HIROSE(HRS)%' ) ) LIMIT 1 [ RunTime:0.000234s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15499 LIMIT 4 [ RunTime:0.000388s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15499 ORDER BY `minOrder` ASC [ RunTime:0.005548s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15499 ORDER BY `unit` DESC [ RunTime:0.001662s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15499 LIMIT 2 [ RunTime:0.002585s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15499 ORDER BY `minOrder` ASC [ RunTime:0.000864s ]
select * from pdf where partno='DF11-6DS-2C' and brandshort='HIROSEHRS' limit 1 [ RunTime:0.001095s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DF11-6DS-2C' OR `brand` LIKE 'HIROSE(HRS)%' ) ) LIMIT 1 [ RunTime:0.002957s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15494 LIMIT 4 [ RunTime:0.002764s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15494 ORDER BY `minOrder` ASC [ RunTime:0.000392s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15494 ORDER BY `unit` DESC [ RunTime:0.001592s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15494 LIMIT 2 [ RunTime:0.003175s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15494 ORDER BY `minOrder` ASC [ RunTime:0.002725s ]
select * from pdf where partno='XHP-6' and brandshort='JST JAPAN SOLDERLESS TERMINALS' limit 1 [ RunTime:0.001063s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XHP-6' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.001287s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15372 LIMIT 4 [ RunTime:0.000397s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15372 ORDER BY `minOrder` ASC [ RunTime:0.001318s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15372 ORDER BY `unit` DESC [ RunTime:0.000363s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15372 LIMIT 2 [ RunTime:0.000575s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15372 ORDER BY `minOrder` ASC [ RunTime:0.003432s ]
select * from pdf where partno='XHP-3' and brandshort='JST JAPAN SOLDERLESS TERMINALS' limit 1 [ RunTime:0.001520s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XHP-3' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.002115s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15293 LIMIT 4 [ RunTime:0.003908s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15293 ORDER BY `minOrder` ASC [ RunTime:0.000385s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15293 ORDER BY `unit` DESC [ RunTime:0.001137s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15293 LIMIT 2 [ RunTime:0.001078s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15293 ORDER BY `minOrder` ASC [ RunTime:0.000519s ]
select * from pdf where partno='IPD1-04-S-K .' and brandshort='SAMTEC' limit 1 [ RunTime:0.007436s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'IPD1-04-S-K .' OR `brand` LIKE 'SAMTEC%' ) ) LIMIT 1 [ RunTime:0.002725s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15261 LIMIT 4 [ RunTime:0.000477s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15261 ORDER BY `minOrder` ASC [ RunTime:0.000757s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15261 ORDER BY `unit` DESC [ RunTime:0.000396s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15261 LIMIT 2 [ RunTime:0.000324s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15261 ORDER BY `minOrder` ASC [ RunTime:0.001008s ]
select * from pdf where partno='1-640511-0' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.000513s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-640511-0' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000316s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` = 4 AND `status` <> 2 AND `categoryid` = 282 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001255s ]