SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001392s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000701s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001672s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.37' ) [ RunTime:0.000301s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001346s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000266s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000273s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000199s ]
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.000354s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001585s ]
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 '388%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 40,20 [ RunTime:0.018205s ]
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 ('9476724','9476710','9476709','9476708','9476699','9476694','9476693','9476663','9476653','9476569','9476553','9476534','9476532','9476505','9476504','9476397','9476071','9476065','8961837','8961410') ORDER BY FIELD(s.id, 9476724,9476710,9476709,9476708,9476699,9476694,9476693,9476663,9476653,9476569,9476553,9476534,9476532,9476505,9476504,9476397,9476071,9476065,8961837,8961410) [ RunTime:0.010353s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001353s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9476724 LIMIT 4 [ RunTime:0.000680s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004886s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9476724 ORDER BY `minOrder` ASC [ RunTime:0.000335s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001121s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9476724 ORDER BY `unit` DESC [ RunTime:0.000263s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000803s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9476724 LIMIT 2 [ RunTime:0.000235s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9476724 ORDER BY `minOrder` ASC [ RunTime:0.001730s ]
select * from pdf where partno='38806' and brandshort='Protektive Pak' limit 1 [ RunTime:0.005432s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9476710 LIMIT 4 [ RunTime:0.002446s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9476710 ORDER BY `minOrder` ASC [ RunTime:0.000707s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9476710 ORDER BY `unit` DESC [ RunTime:0.002645s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9476710 LIMIT 2 [ RunTime:0.001473s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9476710 ORDER BY `minOrder` ASC [ RunTime:0.000518s ]
select * from pdf where partno='38826' and brandshort='Protektive Pak' limit 1 [ RunTime:0.000936s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9476709 LIMIT 4 [ RunTime:0.003797s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9476709 ORDER BY `minOrder` ASC [ RunTime:0.000657s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9476709 ORDER BY `unit` DESC [ RunTime:0.000585s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9476709 LIMIT 2 [ RunTime:0.000810s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9476709 ORDER BY `minOrder` ASC [ RunTime:0.001966s ]
select * from pdf where partno='38817' and brandshort='Protektive Pak' limit 1 [ RunTime:0.000875s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9476708 LIMIT 4 [ RunTime:0.002907s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9476708 ORDER BY `minOrder` ASC [ RunTime:0.002160s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9476708 ORDER BY `unit` DESC [ RunTime:0.000499s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9476708 LIMIT 2 [ RunTime:0.000480s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9476708 ORDER BY `minOrder` ASC [ RunTime:0.000392s ]
select * from pdf where partno='38814' and brandshort='Protektive Pak' limit 1 [ RunTime:0.000864s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9476699 LIMIT 4 [ RunTime:0.003810s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9476699 ORDER BY `minOrder` ASC [ RunTime:0.006389s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9476699 ORDER BY `unit` DESC [ RunTime:0.000583s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9476699 LIMIT 2 [ RunTime:0.006438s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9476699 ORDER BY `minOrder` ASC [ RunTime:0.000366s ]
select * from pdf where partno='38829' and brandshort='Protektive Pak' limit 1 [ RunTime:0.003374s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9476694 LIMIT 4 [ RunTime:0.000558s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9476694 ORDER BY `minOrder` ASC [ RunTime:0.004457s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9476694 ORDER BY `unit` DESC [ RunTime:0.005167s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9476694 LIMIT 2 [ RunTime:0.000519s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9476694 ORDER BY `minOrder` ASC [ RunTime:0.000400s ]
select * from pdf where partno='38812' and brandshort='Protektive Pak' limit 1 [ RunTime:0.000905s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9476693 LIMIT 4 [ RunTime:0.004684s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9476693 ORDER BY `minOrder` ASC [ RunTime:0.002572s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9476693 ORDER BY `unit` DESC [ RunTime:0.000517s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9476693 LIMIT 2 [ RunTime:0.000564s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9476693 ORDER BY `minOrder` ASC [ RunTime:0.001077s ]
select * from pdf where partno='38809' and brandshort='Protektive Pak' limit 1 [ RunTime:0.000887s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9476663 LIMIT 4 [ RunTime:0.002568s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9476663 ORDER BY `minOrder` ASC [ RunTime:0.005588s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9476663 ORDER BY `unit` DESC [ RunTime:0.001750s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9476663 LIMIT 2 [ RunTime:0.003678s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9476663 ORDER BY `minOrder` ASC [ RunTime:0.000572s ]
select * from pdf where partno='38821' and brandshort='Protektive Pak' limit 1 [ RunTime:0.000898s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9476653 LIMIT 4 [ RunTime:0.002717s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9476653 ORDER BY `minOrder` ASC [ RunTime:0.001587s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9476653 ORDER BY `unit` DESC [ RunTime:0.001007s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9476653 LIMIT 2 [ RunTime:0.000852s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9476653 ORDER BY `minOrder` ASC [ RunTime:0.001354s ]
select * from pdf where partno='38830' and brandshort='Protektive Pak' limit 1 [ RunTime:0.001091s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9476569 LIMIT 4 [ RunTime:0.001288s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9476569 ORDER BY `minOrder` ASC [ RunTime:0.002868s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9476569 ORDER BY `unit` DESC [ RunTime:0.000565s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9476569 LIMIT 2 [ RunTime:0.000475s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9476569 ORDER BY `minOrder` ASC [ RunTime:0.000337s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9476553 LIMIT 4 [ RunTime:0.001068s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9476553 ORDER BY `minOrder` ASC [ RunTime:0.000595s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9476553 ORDER BY `unit` DESC [ RunTime:0.002672s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9476553 LIMIT 2 [ RunTime:0.002018s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9476553 ORDER BY `minOrder` ASC [ RunTime:0.000331s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9476534 LIMIT 4 [ RunTime:0.000490s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9476534 ORDER BY `minOrder` ASC [ RunTime:0.000491s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9476534 ORDER BY `unit` DESC [ RunTime:0.000473s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9476534 LIMIT 2 [ RunTime:0.000462s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9476534 ORDER BY `minOrder` ASC [ RunTime:0.000341s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9476532 LIMIT 4 [ RunTime:0.000667s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9476532 ORDER BY `minOrder` ASC [ RunTime:0.000752s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9476532 ORDER BY `unit` DESC [ RunTime:0.001499s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9476532 LIMIT 2 [ RunTime:0.002457s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9476532 ORDER BY `minOrder` ASC [ RunTime:0.000376s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9476505 LIMIT 4 [ RunTime:0.000577s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9476505 ORDER BY `minOrder` ASC [ RunTime:0.000786s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9476505 ORDER BY `unit` DESC [ RunTime:0.004958s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9476505 LIMIT 2 [ RunTime:0.001217s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9476505 ORDER BY `minOrder` ASC [ RunTime:0.000331s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9476504 LIMIT 4 [ RunTime:0.005879s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9476504 ORDER BY `minOrder` ASC [ RunTime:0.002537s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9476504 ORDER BY `unit` DESC [ RunTime:0.002041s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9476504 LIMIT 2 [ RunTime:0.001976s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9476504 ORDER BY `minOrder` ASC [ RunTime:0.000404s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9476397 LIMIT 4 [ RunTime:0.002072s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9476397 ORDER BY `minOrder` ASC [ RunTime:0.004929s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9476397 ORDER BY `unit` DESC [ RunTime:0.002446s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9476397 LIMIT 2 [ RunTime:0.000633s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9476397 ORDER BY `minOrder` ASC [ RunTime:0.000339s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9476071 LIMIT 4 [ RunTime:0.000743s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9476071 ORDER BY `minOrder` ASC [ RunTime:0.002578s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9476071 ORDER BY `unit` DESC [ RunTime:0.000555s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9476071 LIMIT 2 [ RunTime:0.000552s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9476071 ORDER BY `minOrder` ASC [ RunTime:0.000327s ]
select * from pdf where partno='38801' and brandshort='Protektive Pak' limit 1 [ RunTime:0.001039s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9476065 LIMIT 4 [ RunTime:0.002070s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9476065 ORDER BY `minOrder` ASC [ RunTime:0.005179s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9476065 ORDER BY `unit` DESC [ RunTime:0.001244s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9476065 LIMIT 2 [ RunTime:0.000574s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9476065 ORDER BY `minOrder` ASC [ RunTime:0.001620s ]
select * from pdf where partno='38804' and brandshort='Protektive Pak' limit 1 [ RunTime:0.001741s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8961837 LIMIT 4 [ RunTime:0.000825s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8961837 ORDER BY `minOrder` ASC [ RunTime:0.001708s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8961837 ORDER BY `unit` DESC [ RunTime:0.003052s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8961837 LIMIT 2 [ RunTime:0.000480s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8961837 ORDER BY `minOrder` ASC [ RunTime:0.000336s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8961410 LIMIT 4 [ RunTime:0.000717s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8961410 ORDER BY `minOrder` ASC [ RunTime:0.005538s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8961410 ORDER BY `unit` DESC [ RunTime:0.004274s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8961410 LIMIT 2 [ RunTime:0.002579s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8961410 ORDER BY `minOrder` ASC [ RunTime:0.001272s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE '388%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.003630s ]