SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001898s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000589s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002630s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.108' ) [ RunTime:0.000361s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002512s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000354s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000329s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000261s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,800,1068,1296,1456,1822,1929,2017,2101,2342,2393,2475,2518,2568) [ RunTime:0.000453s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003295s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE 'SS14%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.005138s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `partno` LIKE 'SS14%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001185s ]
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 ('2233','14487','2090523','3290014','3289677','8645','3616467','3638820','9248084','9494768','6048457','5175198','3638678','3290990','3290989','3289883','3289745','2090460','2090459','2090458') ORDER BY FIELD(s.id, 2233,14487,2090523,3290014,3289677,8645,3616467,3638820,9248084,9494768,6048457,5175198,3638678,3290990,3290989,3289883,3289745,2090460,2090459,2090458) [ RunTime:0.011688s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.007162s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2233 LIMIT 4 [ RunTime:0.004921s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000973s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2233 ORDER BY `minOrder` ASC [ RunTime:0.002211s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001411s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2233 ORDER BY `unit` DESC [ RunTime:0.006924s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001069s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2233 LIMIT 2 [ RunTime:0.005077s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2233 ORDER BY `minOrder` ASC [ RunTime:0.000201s ]
select * from pdf where partno='SS14' and brandshort='ONSEMI' limit 1 [ RunTime:0.000438s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001686s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SS14' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000304s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14487 LIMIT 4 [ RunTime:0.000200s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14487 ORDER BY `minOrder` ASC [ RunTime:0.000198s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14487 ORDER BY `unit` DESC [ RunTime:0.000204s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14487 LIMIT 2 [ RunTime:0.000189s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14487 ORDER BY `minOrder` ASC [ RunTime:0.000183s ]
select * from pdf where partno='SS14-E3/61T' and brandshort='VISHAY' limit 1 [ RunTime:0.001111s ]
select foldpath,foldpath2,filename from pdf_file where id=786027 limit 1 [ RunTime:0.000188s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SS14-E3/61T' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000212s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2090523 LIMIT 4 [ RunTime:0.000747s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2090523 ORDER BY `minOrder` ASC [ RunTime:0.002816s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2090523 ORDER BY `unit` DESC [ RunTime:0.003707s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2090523 LIMIT 2 [ RunTime:0.000314s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2090523 ORDER BY `minOrder` ASC [ RunTime:0.001650s ]
select * from pdf where partno='SS14M2N' and brandshort='Amphenol Sine Systems Corp' limit 1 [ RunTime:0.001958s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3290014 LIMIT 4 [ RunTime:0.002771s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3290014 ORDER BY `minOrder` ASC [ RunTime:0.002073s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3290014 ORDER BY `unit` DESC [ RunTime:0.000287s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3290014 LIMIT 2 [ RunTime:0.000273s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3290014 ORDER BY `minOrder` ASC [ RunTime:0.000179s ]
select * from pdf where partno='SS14M2F' and brandshort='Amphenol Sine Systems Corp' limit 1 [ RunTime:0.000428s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3289677 LIMIT 4 [ RunTime:0.006728s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3289677 ORDER BY `minOrder` ASC [ RunTime:0.003376s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3289677 ORDER BY `unit` DESC [ RunTime:0.000373s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3289677 LIMIT 2 [ RunTime:0.000850s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3289677 ORDER BY `minOrder` ASC [ RunTime:0.000189s ]
select * from pdf where partno='SS14M2G10' and brandshort='Amphenol Sine Systems Corp' limit 1 [ RunTime:0.000467s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8645 LIMIT 4 [ RunTime:0.000601s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8645 ORDER BY `minOrder` ASC [ RunTime:0.000663s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8645 ORDER BY `unit` DESC [ RunTime:0.001399s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8645 LIMIT 2 [ RunTime:0.002108s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8645 ORDER BY `minOrder` ASC [ RunTime:0.000281s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SS14' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.004547s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3616467 LIMIT 4 [ RunTime:0.007073s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3616467 ORDER BY `minOrder` ASC [ RunTime:0.000292s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3616467 ORDER BY `unit` DESC [ RunTime:0.000742s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3616467 LIMIT 2 [ RunTime:0.001914s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3616467 ORDER BY `minOrder` ASC [ RunTime:0.001579s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3638820 LIMIT 4 [ RunTime:0.000189s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3638820 ORDER BY `minOrder` ASC [ RunTime:0.000184s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3638820 ORDER BY `unit` DESC [ RunTime:0.000182s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3638820 LIMIT 2 [ RunTime:0.000215s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3638820 ORDER BY `minOrder` ASC [ RunTime:0.000218s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9248084 LIMIT 4 [ RunTime:0.000554s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9248084 ORDER BY `minOrder` ASC [ RunTime:0.002199s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9248084 ORDER BY `unit` DESC [ RunTime:0.002253s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9248084 LIMIT 2 [ RunTime:0.001536s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9248084 ORDER BY `minOrder` ASC [ RunTime:0.000207s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9494768 LIMIT 4 [ RunTime:0.002562s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9494768 ORDER BY `minOrder` ASC [ RunTime:0.009850s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9494768 ORDER BY `unit` DESC [ RunTime:0.000479s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9494768 LIMIT 2 [ RunTime:0.000392s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9494768 ORDER BY `minOrder` ASC [ RunTime:0.000285s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6048457 LIMIT 4 [ RunTime:0.001054s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6048457 ORDER BY `minOrder` ASC [ RunTime:0.000424s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6048457 ORDER BY `unit` DESC [ RunTime:0.002999s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6048457 LIMIT 2 [ RunTime:0.007843s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6048457 ORDER BY `minOrder` ASC [ RunTime:0.000540s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5175198 LIMIT 4 [ RunTime:0.007599s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5175198 ORDER BY `minOrder` ASC [ RunTime:0.003935s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5175198 ORDER BY `unit` DESC [ RunTime:0.009940s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5175198 LIMIT 2 [ RunTime:0.009863s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5175198 ORDER BY `minOrder` ASC [ RunTime:0.006199s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3638678 LIMIT 4 [ RunTime:0.010629s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3638678 ORDER BY `minOrder` ASC [ RunTime:0.000477s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3638678 ORDER BY `unit` DESC [ RunTime:0.000397s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3638678 LIMIT 2 [ RunTime:0.002830s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3638678 ORDER BY `minOrder` ASC [ RunTime:0.005184s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3290990 LIMIT 4 [ RunTime:0.003677s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3290990 ORDER BY `minOrder` ASC [ RunTime:0.004422s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3290990 ORDER BY `unit` DESC [ RunTime:0.002564s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3290990 LIMIT 2 [ RunTime:0.005024s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3290990 ORDER BY `minOrder` ASC [ RunTime:0.002163s ]
select * from pdf where partno='SS14M1T' and brandshort='Amphenol Sine Systems Corp' limit 1 [ RunTime:0.000579s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3290989 LIMIT 4 [ RunTime:0.005776s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3290989 ORDER BY `minOrder` ASC [ RunTime:0.003046s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3290989 ORDER BY `unit` DESC [ RunTime:0.002305s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3290989 LIMIT 2 [ RunTime:0.002943s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3290989 ORDER BY `minOrder` ASC [ RunTime:0.000325s ]
select * from pdf where partno='SS14M1G30' and brandshort='Amphenol Sine Systems Corp' limit 1 [ RunTime:0.000570s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3289883 LIMIT 4 [ RunTime:0.003461s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3289883 ORDER BY `minOrder` ASC [ RunTime:0.001039s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3289883 ORDER BY `unit` DESC [ RunTime:0.000386s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3289883 LIMIT 2 [ RunTime:0.000425s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3289883 ORDER BY `minOrder` ASC [ RunTime:0.001632s ]
select * from pdf where partno='SS14M2G30' and brandshort='Amphenol Sine Systems Corp' limit 1 [ RunTime:0.000567s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3289745 LIMIT 4 [ RunTime:0.003313s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3289745 ORDER BY `minOrder` ASC [ RunTime:0.000436s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3289745 ORDER BY `unit` DESC [ RunTime:0.000376s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3289745 LIMIT 2 [ RunTime:0.001867s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3289745 ORDER BY `minOrder` ASC [ RunTime:0.003119s ]
select * from pdf where partno='SS14M2T' and brandshort='Amphenol Sine Systems Corp' limit 1 [ RunTime:0.000826s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2090460 LIMIT 4 [ RunTime:0.002012s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2090460 ORDER BY `minOrder` ASC [ RunTime:0.006108s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2090460 ORDER BY `unit` DESC [ RunTime:0.000975s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2090460 LIMIT 2 [ RunTime:0.000385s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2090460 ORDER BY `minOrder` ASC [ RunTime:0.000284s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2090459 LIMIT 4 [ RunTime:0.000401s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2090459 ORDER BY `minOrder` ASC [ RunTime:0.000387s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2090459 ORDER BY `unit` DESC [ RunTime:0.000396s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2090459 LIMIT 2 [ RunTime:0.000353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2090459 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2090458 LIMIT 4 [ RunTime:0.002236s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2090458 ORDER BY `minOrder` ASC [ RunTime:0.001233s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2090458 ORDER BY `unit` DESC [ RunTime:0.000756s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2090458 LIMIT 2 [ RunTime:0.000577s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2090458 ORDER BY `minOrder` ASC [ RunTime:0.000269s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'SS14%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001246s ]