SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002372s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000618s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002480s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.37' ) [ RunTime:0.004206s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002364s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.002276s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000412s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000275s ]
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.000505s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002554s ]
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 80,20 [ RunTime:0.014833s ]
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 ('7839367','7839349','7231316','7230733','7230732','7230731','7230730','7230720','7230706','7230705','7230695','7230694','7230693','7230692','7230665','7230662','7230661','6971789','6970393','6962407') ORDER BY FIELD(s.id, 7839367,7839349,7231316,7230733,7230732,7230731,7230730,7230720,7230706,7230705,7230695,7230694,7230693,7230692,7230665,7230662,7230661,6971789,6970393,6962407) [ RunTime:0.005385s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001184s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7839367 LIMIT 4 [ RunTime:0.000737s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004731s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7839367 ORDER BY `minOrder` ASC [ RunTime:0.001153s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000867s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7839367 ORDER BY `unit` DESC [ RunTime:0.000330s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002499s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7839367 LIMIT 2 [ RunTime:0.000356s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7839367 ORDER BY `minOrder` ASC [ RunTime:0.002384s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7839349 LIMIT 4 [ RunTime:0.004888s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7839349 ORDER BY `minOrder` ASC [ RunTime:0.000392s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7839349 ORDER BY `unit` DESC [ RunTime:0.005341s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7839349 LIMIT 2 [ RunTime:0.003880s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7839349 ORDER BY `minOrder` ASC [ RunTime:0.000251s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7231316 LIMIT 4 [ RunTime:0.000688s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7231316 ORDER BY `minOrder` ASC [ RunTime:0.000348s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7231316 ORDER BY `unit` DESC [ RunTime:0.000309s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7231316 LIMIT 2 [ RunTime:0.000360s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7231316 ORDER BY `minOrder` ASC [ RunTime:0.000224s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7230733 LIMIT 4 [ RunTime:0.002425s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7230733 ORDER BY `minOrder` ASC [ RunTime:0.002463s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7230733 ORDER BY `unit` DESC [ RunTime:0.007113s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7230733 LIMIT 2 [ RunTime:0.000341s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7230733 ORDER BY `minOrder` ASC [ RunTime:0.001304s ]
select * from pdf where partno='38825' and brandshort='Protektive Pak' limit 1 [ RunTime:0.002263s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7230732 LIMIT 4 [ RunTime:0.000507s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7230732 ORDER BY `minOrder` ASC [ RunTime:0.008417s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7230732 ORDER BY `unit` DESC [ RunTime:0.005088s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7230732 LIMIT 2 [ RunTime:0.001446s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7230732 ORDER BY `minOrder` ASC [ RunTime:0.000463s ]
select * from pdf where partno='38819' and brandshort='Protektive Pak' limit 1 [ RunTime:0.001218s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7230731 LIMIT 4 [ RunTime:0.002305s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7230731 ORDER BY `minOrder` ASC [ RunTime:0.000362s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7230731 ORDER BY `unit` DESC [ RunTime:0.000977s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7230731 LIMIT 2 [ RunTime:0.002974s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7230731 ORDER BY `minOrder` ASC [ RunTime:0.000269s ]
select * from pdf where partno='38816' and brandshort='Protektive Pak' limit 1 [ RunTime:0.000825s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7230730 LIMIT 4 [ RunTime:0.004476s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7230730 ORDER BY `minOrder` ASC [ RunTime:0.000560s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7230730 ORDER BY `unit` DESC [ RunTime:0.001769s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7230730 LIMIT 2 [ RunTime:0.000341s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7230730 ORDER BY `minOrder` ASC [ RunTime:0.000717s ]
select * from pdf where partno='38813' and brandshort='Protektive Pak' limit 1 [ RunTime:0.000807s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7230720 LIMIT 4 [ RunTime:0.000860s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7230720 ORDER BY `minOrder` ASC [ RunTime:0.001666s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7230720 ORDER BY `unit` DESC [ RunTime:0.002535s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7230720 LIMIT 2 [ RunTime:0.000321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7230720 ORDER BY `minOrder` ASC [ RunTime:0.000263s ]
select * from pdf where partno='38805' and brandshort='Protektive Pak' limit 1 [ RunTime:0.000739s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7230706 LIMIT 4 [ RunTime:0.003020s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7230706 ORDER BY `minOrder` ASC [ RunTime:0.000359s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7230706 ORDER BY `unit` DESC [ RunTime:0.000318s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7230706 LIMIT 2 [ RunTime:0.000311s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7230706 ORDER BY `minOrder` ASC [ RunTime:0.001429s ]
select * from pdf where partno='38823' and brandshort='Protektive Pak' limit 1 [ RunTime:0.000750s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7230705 LIMIT 4 [ RunTime:0.000956s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7230705 ORDER BY `minOrder` ASC [ RunTime:0.000561s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7230705 ORDER BY `unit` DESC [ RunTime:0.000323s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7230705 LIMIT 2 [ RunTime:0.000313s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7230705 ORDER BY `minOrder` ASC [ RunTime:0.000242s ]
select * from pdf where partno='38820' and brandshort='Protektive Pak' limit 1 [ RunTime:0.001835s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7230695 LIMIT 4 [ RunTime:0.001811s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7230695 ORDER BY `minOrder` ASC [ RunTime:0.000334s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7230695 ORDER BY `unit` DESC [ RunTime:0.000329s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7230695 LIMIT 2 [ RunTime:0.000318s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7230695 ORDER BY `minOrder` ASC [ RunTime:0.003407s ]
select * from pdf where partno='38827' and brandshort='Protektive Pak' limit 1 [ RunTime:0.002658s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7230694 LIMIT 4 [ RunTime:0.000653s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7230694 ORDER BY `minOrder` ASC [ RunTime:0.000351s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7230694 ORDER BY `unit` DESC [ RunTime:0.003160s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7230694 LIMIT 2 [ RunTime:0.011015s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7230694 ORDER BY `minOrder` ASC [ RunTime:0.000278s ]
select * from pdf where partno='38824' and brandshort='Protektive Pak' limit 1 [ RunTime:0.004265s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7230693 LIMIT 4 [ RunTime:0.000405s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7230693 ORDER BY `minOrder` ASC [ RunTime:0.000335s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7230693 ORDER BY `unit` DESC [ RunTime:0.000364s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7230693 LIMIT 2 [ RunTime:0.004363s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7230693 ORDER BY `minOrder` ASC [ RunTime:0.004654s ]
select * from pdf where partno='38818' and brandshort='Protektive Pak' limit 1 [ RunTime:0.002653s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7230692 LIMIT 4 [ RunTime:0.002478s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7230692 ORDER BY `minOrder` ASC [ RunTime:0.000393s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7230692 ORDER BY `unit` DESC [ RunTime:0.000330s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7230692 LIMIT 2 [ RunTime:0.001337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7230692 ORDER BY `minOrder` ASC [ RunTime:0.001539s ]
select * from pdf where partno='38815' and brandshort='Protektive Pak' limit 1 [ RunTime:0.000763s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7230665 LIMIT 4 [ RunTime:0.001275s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7230665 ORDER BY `minOrder` ASC [ RunTime:0.002301s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7230665 ORDER BY `unit` DESC [ RunTime:0.000330s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7230665 LIMIT 2 [ RunTime:0.001807s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7230665 ORDER BY `minOrder` ASC [ RunTime:0.000259s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7230662 LIMIT 4 [ RunTime:0.001533s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7230662 ORDER BY `minOrder` ASC [ RunTime:0.001126s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7230662 ORDER BY `unit` DESC [ RunTime:0.000966s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7230662 LIMIT 2 [ RunTime:0.000330s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7230662 ORDER BY `minOrder` ASC [ RunTime:0.000246s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7230661 LIMIT 4 [ RunTime:0.000333s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7230661 ORDER BY `minOrder` ASC [ RunTime:0.000321s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7230661 ORDER BY `unit` DESC [ RunTime:0.001158s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7230661 LIMIT 2 [ RunTime:0.001630s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7230661 ORDER BY `minOrder` ASC [ RunTime:0.000247s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6971789 LIMIT 4 [ RunTime:0.001525s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6971789 ORDER BY `minOrder` ASC [ RunTime:0.003324s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6971789 ORDER BY `unit` DESC [ RunTime:0.000421s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6971789 LIMIT 2 [ RunTime:0.000328s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6971789 ORDER BY `minOrder` ASC [ RunTime:0.000250s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6970393 LIMIT 4 [ RunTime:0.000537s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6970393 ORDER BY `minOrder` ASC [ RunTime:0.000730s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6970393 ORDER BY `unit` DESC [ RunTime:0.004724s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6970393 LIMIT 2 [ RunTime:0.000799s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6970393 ORDER BY `minOrder` ASC [ RunTime:0.000314s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6962407 LIMIT 4 [ RunTime:0.004054s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6962407 ORDER BY `minOrder` ASC [ RunTime:0.002076s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6962407 ORDER BY `unit` DESC [ RunTime:0.001146s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6962407 LIMIT 2 [ RunTime:0.002441s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6962407 ORDER BY `minOrder` ASC [ RunTime:0.000397s ]
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.003025s ]