SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002470s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000639s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002956s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.165' ) [ RunTime:0.008715s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002460s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000417s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000433s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000269s ]
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.000495s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002496s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `partno` LIKE 'AS179-92LF%' AND `status` <> 2 ) AND `u`.`lockUser` = '0' [ RunTime:0.002593s ]
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 'AS179-92LF%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003907s ]
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 ('2368263','3826','16458','15438','1749896') ORDER BY FIELD(s.id, 2368263,3826,16458,15438,1749896) [ RunTime:0.001765s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001138s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2368263 LIMIT 4 [ RunTime:0.002943s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001052s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2368263 ORDER BY `minOrder` ASC [ RunTime:0.000354s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001133s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2368263 ORDER BY `unit` DESC [ RunTime:0.000358s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001172s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2368263 LIMIT 2 [ RunTime:0.003409s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2368263 ORDER BY `minOrder` ASC [ RunTime:0.003229s ]
select * from pdf where partno='AS179-92LF' and brandshort='Skyworks Solutions Inc.' limit 1 [ RunTime:0.002797s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3826 LIMIT 4 [ RunTime:0.002299s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3826 ORDER BY `minOrder` ASC [ RunTime:0.006948s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3826 ORDER BY `unit` DESC [ RunTime:0.020952s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3826 LIMIT 2 [ RunTime:0.024236s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3826 ORDER BY `minOrder` ASC [ RunTime:0.007498s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002505s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AS179-92LF' OR `brand` LIKE 'SKYWORKS SOLUTIONS%' ) ) LIMIT 1 [ RunTime:0.001471s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16458 LIMIT 4 [ RunTime:0.011736s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16458 ORDER BY `minOrder` ASC [ RunTime:0.000799s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16458 ORDER BY `unit` DESC [ RunTime:0.006062s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16458 LIMIT 2 [ RunTime:0.000589s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16458 ORDER BY `minOrder` ASC [ RunTime:0.000404s ]
select * from pdf where partno='AS179-92LF' and brandshort='SKYWORKS SOLUTIONS' limit 1 [ RunTime:0.000597s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AS179-92LF' OR `brand` LIKE 'SKYWORKS SOLUTIONS%' ) ) LIMIT 1 [ RunTime:0.000425s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15438 LIMIT 4 [ RunTime:0.006397s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15438 ORDER BY `minOrder` ASC [ RunTime:0.001007s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15438 ORDER BY `unit` DESC [ RunTime:0.000856s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15438 LIMIT 2 [ RunTime:0.000625s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15438 ORDER BY `minOrder` ASC [ RunTime:0.000512s ]
select * from pdf where partno='AS179-92LF' and brandshort='SKYWORKS SOLUTIONS' limit 1 [ RunTime:0.000536s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AS179-92LF' OR `brand` LIKE 'SKYWORKS SOLUTIONS%' ) ) LIMIT 1 [ RunTime:0.000419s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1749896 LIMIT 4 [ RunTime:0.001346s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1749896 ORDER BY `minOrder` ASC [ RunTime:0.000715s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1749896 ORDER BY `unit` DESC [ RunTime:0.000589s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1749896 LIMIT 2 [ RunTime:0.000677s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1749896 ORDER BY `minOrder` ASC [ RunTime:0.000385s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'AS179-92LF%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.002881s ]