SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001456s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000537s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001491s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000303s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001395s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000261s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000410s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000188s ]
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.000355s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001687s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay IS NULL OR s.isDisplay = 1) ) AND ( `partno` LIKE 'MB2S%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005965s ]
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 IS NULL OR s.isDisplay = 1) ) AND `s`.`id` IN ('5966871','5966577','5966860','8545118','5143813','8545463','8545112','4694','5968233','1319','6930889','5144231') ORDER BY FIELD(s.id, 5966871,5966577,5966860,8545118,5143813,8545463,8545112,4694,5968233,1319,6930889,5144231) [ RunTime:0.002245s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.000859s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5966871 LIMIT 4 [ RunTime:0.000620s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000833s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5966871 ORDER BY `minOrder` ASC [ RunTime:0.000246s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001099s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5966871 ORDER BY `unit` DESC [ RunTime:0.001505s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001851s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5966871 LIMIT 2 [ RunTime:0.001842s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5966871 ORDER BY `minOrder` ASC [ RunTime:0.001637s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5966577 LIMIT 4 [ RunTime:0.002326s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5966577 ORDER BY `minOrder` ASC [ RunTime:0.000256s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5966577 ORDER BY `unit` DESC [ RunTime:0.004458s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5966577 LIMIT 2 [ RunTime:0.001755s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5966577 ORDER BY `minOrder` ASC [ RunTime:0.001254s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5966860 LIMIT 4 [ RunTime:0.000466s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5966860 ORDER BY `minOrder` ASC [ RunTime:0.001394s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5966860 ORDER BY `unit` DESC [ RunTime:0.000149s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5966860 LIMIT 2 [ RunTime:0.000148s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5966860 ORDER BY `minOrder` ASC [ RunTime:0.000147s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8545118 LIMIT 4 [ RunTime:0.001711s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8545118 ORDER BY `minOrder` ASC [ RunTime:0.000242s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8545118 ORDER BY `unit` DESC [ RunTime:0.000229s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8545118 LIMIT 2 [ RunTime:0.000229s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8545118 ORDER BY `minOrder` ASC [ RunTime:0.002889s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5143813 LIMIT 4 [ RunTime:0.002875s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5143813 ORDER BY `minOrder` ASC [ RunTime:0.000541s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5143813 ORDER BY `unit` DESC [ RunTime:0.002227s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5143813 LIMIT 2 [ RunTime:0.006024s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5143813 ORDER BY `minOrder` ASC [ RunTime:0.001121s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8545463 LIMIT 4 [ RunTime:0.005691s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8545463 ORDER BY `minOrder` ASC [ RunTime:0.002871s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8545463 ORDER BY `unit` DESC [ RunTime:0.000323s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8545463 LIMIT 2 [ RunTime:0.000393s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8545463 ORDER BY `minOrder` ASC [ RunTime:0.000403s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8545112 LIMIT 4 [ RunTime:0.003071s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8545112 ORDER BY `minOrder` ASC [ RunTime:0.000680s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8545112 ORDER BY `unit` DESC [ RunTime:0.006647s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8545112 LIMIT 2 [ RunTime:0.015253s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8545112 ORDER BY `minOrder` ASC [ RunTime:0.001665s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4694 LIMIT 4 [ RunTime:0.000493s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4694 ORDER BY `minOrder` ASC [ RunTime:0.003401s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4694 ORDER BY `unit` DESC [ RunTime:0.000679s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4694 LIMIT 2 [ RunTime:0.000363s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4694 ORDER BY `minOrder` ASC [ RunTime:0.000324s ]
select * from pdf where partno='MB2S' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.000613s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002051s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MB2S' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000444s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5968233 LIMIT 4 [ RunTime:0.003427s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5968233 ORDER BY `minOrder` ASC [ RunTime:0.001549s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5968233 ORDER BY `unit` DESC [ RunTime:0.000596s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5968233 LIMIT 2 [ RunTime:0.000513s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5968233 ORDER BY `minOrder` ASC [ RunTime:0.000328s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1319 LIMIT 4 [ RunTime:0.000327s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1319 ORDER BY `minOrder` ASC [ RunTime:0.000325s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1319 ORDER BY `unit` DESC [ RunTime:0.000381s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1319 LIMIT 2 [ RunTime:0.000313s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1319 ORDER BY `minOrder` ASC [ RunTime:0.000315s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MB2S' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000367s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6930889 LIMIT 4 [ RunTime:0.000813s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6930889 ORDER BY `minOrder` ASC [ RunTime:0.000500s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6930889 ORDER BY `unit` DESC [ RunTime:0.001496s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6930889 LIMIT 2 [ RunTime:0.002956s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6930889 ORDER BY `minOrder` ASC [ RunTime:0.000337s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5144231 LIMIT 4 [ RunTime:0.001711s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5144231 ORDER BY `minOrder` ASC [ RunTime:0.001117s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5144231 ORDER BY `unit` DESC [ RunTime:0.001216s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5144231 LIMIT 2 [ RunTime:0.000468s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5144231 ORDER BY `minOrder` ASC [ RunTime:0.000326s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'MB2S%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001251s ]