SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001535s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.001206s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001381s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.165' ) [ RunTime:0.000323s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001922s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000281s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000482s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000212s ]
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.000404s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002258s ]
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.009561s ]
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.005350s ]
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.012366s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001675s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2233 LIMIT 4 [ RunTime:0.000237s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000967s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2233 ORDER BY `minOrder` ASC [ RunTime:0.000497s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001220s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2233 ORDER BY `unit` DESC [ RunTime:0.000197s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000965s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2233 LIMIT 2 [ RunTime:0.000190s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2233 ORDER BY `minOrder` ASC [ RunTime:0.000178s ]
select * from pdf where partno='SS14' and brandshort='ONSEMI' limit 1 [ RunTime:0.000353s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002509s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SS14' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000435s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14487 LIMIT 4 [ RunTime:0.000339s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14487 ORDER BY `minOrder` ASC [ RunTime:0.000345s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14487 ORDER BY `unit` DESC [ RunTime:0.000331s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14487 LIMIT 2 [ RunTime:0.000332s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14487 ORDER BY `minOrder` ASC [ RunTime:0.000320s ]
select * from pdf where partno='SS14-E3/61T' and brandshort='VISHAY' limit 1 [ RunTime:0.000376s ]
select foldpath,foldpath2,filename from pdf_file where id=786027 limit 1 [ RunTime:0.000266s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SS14-E3/61T' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000329s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2090523 LIMIT 4 [ RunTime:0.001098s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2090523 ORDER BY `minOrder` ASC [ RunTime:0.002569s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2090523 ORDER BY `unit` DESC [ RunTime:0.000493s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2090523 LIMIT 2 [ RunTime:0.000469s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2090523 ORDER BY `minOrder` ASC [ RunTime:0.000330s ]
select * from pdf where partno='SS14M2N' and brandshort='Amphenol Sine Systems Corp' limit 1 [ RunTime:0.001373s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3290014 LIMIT 4 [ RunTime:0.004582s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3290014 ORDER BY `minOrder` ASC [ RunTime:0.002119s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3290014 ORDER BY `unit` DESC [ RunTime:0.000636s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3290014 LIMIT 2 [ RunTime:0.000477s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3290014 ORDER BY `minOrder` ASC [ RunTime:0.000330s ]
select * from pdf where partno='SS14M2F' and brandshort='Amphenol Sine Systems Corp' limit 1 [ RunTime:0.000598s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3289677 LIMIT 4 [ RunTime:0.001726s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3289677 ORDER BY `minOrder` ASC [ RunTime:0.000512s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3289677 ORDER BY `unit` DESC [ RunTime:0.013590s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3289677 LIMIT 2 [ RunTime:0.000528s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3289677 ORDER BY `minOrder` ASC [ RunTime:0.000351s ]
select * from pdf where partno='SS14M2G10' and brandshort='Amphenol Sine Systems Corp' limit 1 [ RunTime:0.000578s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8645 LIMIT 4 [ RunTime:0.000505s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8645 ORDER BY `minOrder` ASC [ RunTime:0.000960s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8645 ORDER BY `unit` DESC [ RunTime:0.003788s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8645 LIMIT 2 [ RunTime:0.005120s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8645 ORDER BY `minOrder` ASC [ RunTime:0.000465s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SS14' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.001757s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3616467 LIMIT 4 [ RunTime:0.001452s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3616467 ORDER BY `minOrder` ASC [ RunTime:0.001935s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3616467 ORDER BY `unit` DESC [ RunTime:0.001347s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3616467 LIMIT 2 [ RunTime:0.000648s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3616467 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3638820 LIMIT 4 [ RunTime:0.016147s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3638820 ORDER BY `minOrder` ASC [ RunTime:0.000600s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3638820 ORDER BY `unit` DESC [ RunTime:0.004043s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3638820 LIMIT 2 [ RunTime:0.000602s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3638820 ORDER BY `minOrder` ASC [ RunTime:0.004040s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9248084 LIMIT 4 [ RunTime:0.000902s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9248084 ORDER BY `minOrder` ASC [ RunTime:0.000333s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9248084 ORDER BY `unit` DESC [ RunTime:0.000334s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9248084 LIMIT 2 [ RunTime:0.000343s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9248084 ORDER BY `minOrder` ASC [ RunTime:0.001957s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9494768 LIMIT 4 [ RunTime:0.000483s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9494768 ORDER BY `minOrder` ASC [ RunTime:0.000343s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9494768 ORDER BY `unit` DESC [ RunTime:0.001152s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9494768 LIMIT 2 [ RunTime:0.006216s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9494768 ORDER BY `minOrder` ASC [ RunTime:0.000638s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6048457 LIMIT 4 [ RunTime:0.001415s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6048457 ORDER BY `minOrder` ASC [ RunTime:0.003581s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6048457 ORDER BY `unit` DESC [ RunTime:0.000418s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6048457 LIMIT 2 [ RunTime:0.001867s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6048457 ORDER BY `minOrder` ASC [ RunTime:0.001679s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5175198 LIMIT 4 [ RunTime:0.000709s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5175198 ORDER BY `minOrder` ASC [ RunTime:0.001064s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5175198 ORDER BY `unit` DESC [ RunTime:0.001748s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5175198 LIMIT 2 [ RunTime:0.002278s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5175198 ORDER BY `minOrder` ASC [ RunTime:0.000307s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3638678 LIMIT 4 [ RunTime:0.002353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3638678 ORDER BY `minOrder` ASC [ RunTime:0.002005s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3638678 ORDER BY `unit` DESC [ RunTime:0.007375s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3638678 LIMIT 2 [ RunTime:0.000350s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3638678 ORDER BY `minOrder` ASC [ RunTime:0.000261s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3290990 LIMIT 4 [ RunTime:0.000761s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3290990 ORDER BY `minOrder` ASC [ RunTime:0.001212s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3290990 ORDER BY `unit` DESC [ RunTime:0.000979s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3290990 LIMIT 2 [ RunTime:0.000359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3290990 ORDER BY `minOrder` ASC [ RunTime:0.000264s ]
select * from pdf where partno='SS14M1T' and brandshort='Amphenol Sine Systems Corp' limit 1 [ RunTime:0.000569s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3290989 LIMIT 4 [ RunTime:0.002634s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3290989 ORDER BY `minOrder` ASC [ RunTime:0.000466s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3290989 ORDER BY `unit` DESC [ RunTime:0.000883s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3290989 LIMIT 2 [ RunTime:0.002602s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3290989 ORDER BY `minOrder` ASC [ RunTime:0.000263s ]
select * from pdf where partno='SS14M1G30' and brandshort='Amphenol Sine Systems Corp' limit 1 [ RunTime:0.000546s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3289883 LIMIT 4 [ RunTime:0.001640s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3289883 ORDER BY `minOrder` ASC [ RunTime:0.003004s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3289883 ORDER BY `unit` DESC [ RunTime:0.000557s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3289883 LIMIT 2 [ RunTime:0.000363s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3289883 ORDER BY `minOrder` ASC [ RunTime:0.000275s ]
select * from pdf where partno='SS14M2G30' and brandshort='Amphenol Sine Systems Corp' limit 1 [ RunTime:0.000550s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3289745 LIMIT 4 [ RunTime:0.003391s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3289745 ORDER BY `minOrder` ASC [ RunTime:0.001524s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3289745 ORDER BY `unit` DESC [ RunTime:0.001287s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3289745 LIMIT 2 [ RunTime:0.000933s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3289745 ORDER BY `minOrder` ASC [ RunTime:0.000257s ]
select * from pdf where partno='SS14M2T' and brandshort='Amphenol Sine Systems Corp' limit 1 [ RunTime:0.000543s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2090460 LIMIT 4 [ RunTime:0.001964s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2090460 ORDER BY `minOrder` ASC [ RunTime:0.001854s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2090460 ORDER BY `unit` DESC [ RunTime:0.003664s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2090460 LIMIT 2 [ RunTime:0.003840s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2090460 ORDER BY `minOrder` ASC [ RunTime:0.000996s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2090459 LIMIT 4 [ RunTime:0.000513s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2090459 ORDER BY `minOrder` ASC [ RunTime:0.001762s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2090459 ORDER BY `unit` DESC [ RunTime:0.001825s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2090459 LIMIT 2 [ RunTime:0.000351s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2090459 ORDER BY `minOrder` ASC [ RunTime:0.000252s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2090458 LIMIT 4 [ RunTime:0.000591s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2090458 ORDER BY `minOrder` ASC [ RunTime:0.000339s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2090458 ORDER BY `unit` DESC [ RunTime:0.000324s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2090458 LIMIT 2 [ RunTime:0.003375s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2090458 ORDER BY `minOrder` ASC [ RunTime:0.000263s ]
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.001106s ]