SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001283s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000502s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001655s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.005650s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001714s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.002265s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.001462s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.004022s ]
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.002087s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001788s ]
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 '3003%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004943s ]
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 ('1739624','2792564','4678783','13969','1851178','3033540','1892816','3746182','3023460','3036628','3036672','3971703','3971575','2970162','1852127','2288812','6332016','10049941','3746410','3971117') ORDER BY FIELD(s.id, 1739624,2792564,4678783,13969,1851178,3033540,1892816,3746182,3023460,3036628,3036672,3971703,3971575,2970162,1852127,2288812,6332016,10049941,3746410,3971117) [ RunTime:0.006242s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001376s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1739624 LIMIT 4 [ RunTime:0.000686s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001557s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1739624 ORDER BY `minOrder` ASC [ RunTime:0.001690s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.007589s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1739624 ORDER BY `unit` DESC [ RunTime:0.002816s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001094s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1739624 LIMIT 2 [ RunTime:0.004090s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1739624 ORDER BY `minOrder` ASC [ RunTime:0.004315s ]
select * from pdf where partno='30033' and brandshort='SCS' limit 1 [ RunTime:0.004850s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2792564 LIMIT 4 [ RunTime:0.002816s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2792564 ORDER BY `minOrder` ASC [ RunTime:0.004997s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2792564 ORDER BY `unit` DESC [ RunTime:0.000532s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2792564 LIMIT 2 [ RunTime:0.000406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2792564 ORDER BY `minOrder` ASC [ RunTime:0.002224s ]
select * from pdf where partno='30035' and brandshort='SCS' limit 1 [ RunTime:0.000865s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4678783 LIMIT 4 [ RunTime:0.001687s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4678783 ORDER BY `minOrder` ASC [ RunTime:0.000541s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4678783 ORDER BY `unit` DESC [ RunTime:0.000394s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4678783 LIMIT 2 [ RunTime:0.000371s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4678783 ORDER BY `minOrder` ASC [ RunTime:0.001904s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13969 LIMIT 4 [ RunTime:0.000398s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13969 ORDER BY `minOrder` ASC [ RunTime:0.001096s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13969 ORDER BY `unit` DESC [ RunTime:0.000922s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13969 LIMIT 2 [ RunTime:0.002411s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13969 ORDER BY `minOrder` ASC [ RunTime:0.000314s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001270s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3003' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.003426s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1851178 LIMIT 4 [ RunTime:0.001956s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1851178 ORDER BY `minOrder` ASC [ RunTime:0.000436s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1851178 ORDER BY `unit` DESC [ RunTime:0.000435s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1851178 LIMIT 2 [ RunTime:0.000381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1851178 ORDER BY `minOrder` ASC [ RunTime:0.000286s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3033540 LIMIT 4 [ RunTime:0.000572s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3033540 ORDER BY `minOrder` ASC [ RunTime:0.002246s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3033540 ORDER BY `unit` DESC [ RunTime:0.007127s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3033540 LIMIT 2 [ RunTime:0.003088s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3033540 ORDER BY `minOrder` ASC [ RunTime:0.001007s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1892816 LIMIT 4 [ RunTime:0.000641s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1892816 ORDER BY `minOrder` ASC [ RunTime:0.002913s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1892816 ORDER BY `unit` DESC [ RunTime:0.003354s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1892816 LIMIT 2 [ RunTime:0.000535s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1892816 ORDER BY `minOrder` ASC [ RunTime:0.000300s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3746182 LIMIT 4 [ RunTime:0.000707s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3746182 ORDER BY `minOrder` ASC [ RunTime:0.000379s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3746182 ORDER BY `unit` DESC [ RunTime:0.000375s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3746182 LIMIT 2 [ RunTime:0.000370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3746182 ORDER BY `minOrder` ASC [ RunTime:0.000285s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3023460 LIMIT 4 [ RunTime:0.000610s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3023460 ORDER BY `minOrder` ASC [ RunTime:0.001092s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3023460 ORDER BY `unit` DESC [ RunTime:0.000370s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3023460 LIMIT 2 [ RunTime:0.000359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3023460 ORDER BY `minOrder` ASC [ RunTime:0.000282s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3036628 LIMIT 4 [ RunTime:0.000511s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3036628 ORDER BY `minOrder` ASC [ RunTime:0.000821s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3036628 ORDER BY `unit` DESC [ RunTime:0.000321s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3036628 LIMIT 2 [ RunTime:0.001760s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3036628 ORDER BY `minOrder` ASC [ RunTime:0.000186s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3036672 LIMIT 4 [ RunTime:0.000471s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3036672 ORDER BY `minOrder` ASC [ RunTime:0.007798s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3036672 ORDER BY `unit` DESC [ RunTime:0.000291s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3036672 LIMIT 2 [ RunTime:0.000277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3036672 ORDER BY `minOrder` ASC [ RunTime:0.000185s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3971703 LIMIT 4 [ RunTime:0.000546s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3971703 ORDER BY `minOrder` ASC [ RunTime:0.008045s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3971703 ORDER BY `unit` DESC [ RunTime:0.000745s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3971703 LIMIT 2 [ RunTime:0.000302s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3971703 ORDER BY `minOrder` ASC [ RunTime:0.000189s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3971575 LIMIT 4 [ RunTime:0.000451s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3971575 ORDER BY `minOrder` ASC [ RunTime:0.002658s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3971575 ORDER BY `unit` DESC [ RunTime:0.006817s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3971575 LIMIT 2 [ RunTime:0.000295s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3971575 ORDER BY `minOrder` ASC [ RunTime:0.000183s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2970162 LIMIT 4 [ RunTime:0.014023s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2970162 ORDER BY `minOrder` ASC [ RunTime:0.000445s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2970162 ORDER BY `unit` DESC [ RunTime:0.002384s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2970162 LIMIT 2 [ RunTime:0.008536s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2970162 ORDER BY `minOrder` ASC [ RunTime:0.009155s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1852127 LIMIT 4 [ RunTime:0.000808s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1852127 ORDER BY `minOrder` ASC [ RunTime:0.003452s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1852127 ORDER BY `unit` DESC [ RunTime:0.000473s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1852127 LIMIT 2 [ RunTime:0.000457s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1852127 ORDER BY `minOrder` ASC [ RunTime:0.000285s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2288812 LIMIT 4 [ RunTime:0.000875s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2288812 ORDER BY `minOrder` ASC [ RunTime:0.000473s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2288812 ORDER BY `unit` DESC [ RunTime:0.000907s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2288812 LIMIT 2 [ RunTime:0.005099s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2288812 ORDER BY `minOrder` ASC [ RunTime:0.003684s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6332016 LIMIT 4 [ RunTime:0.001507s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6332016 ORDER BY `minOrder` ASC [ RunTime:0.003175s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6332016 ORDER BY `unit` DESC [ RunTime:0.003188s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6332016 LIMIT 2 [ RunTime:0.003654s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6332016 ORDER BY `minOrder` ASC [ RunTime:0.004729s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10049941 LIMIT 4 [ RunTime:0.001069s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10049941 ORDER BY `minOrder` ASC [ RunTime:0.004348s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10049941 ORDER BY `unit` DESC [ RunTime:0.007401s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10049941 LIMIT 2 [ RunTime:0.000469s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10049941 ORDER BY `minOrder` ASC [ RunTime:0.002056s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3746410 LIMIT 4 [ RunTime:0.000774s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3746410 ORDER BY `minOrder` ASC [ RunTime:0.001716s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3746410 ORDER BY `unit` DESC [ RunTime:0.000473s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3746410 LIMIT 2 [ RunTime:0.002142s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3746410 ORDER BY `minOrder` ASC [ RunTime:0.000939s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3971117 LIMIT 4 [ RunTime:0.000905s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3971117 ORDER BY `minOrder` ASC [ RunTime:0.000501s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3971117 ORDER BY `unit` DESC [ RunTime:0.000441s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3971117 LIMIT 2 [ RunTime:0.002792s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3971117 ORDER BY `minOrder` ASC [ RunTime:0.010277s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE '3003%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.005713s ]