SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002012s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000488s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002278s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000349s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001926s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000270s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000325s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000271s ]
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.000437s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002320s ]
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 '130014%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004885s ]
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 ('2918818','4715','4200396','4204718','4212419','4204957','4205685','4205197','7473653','7470568','7470517','7469743','7469481','7469453','7469381','7469379','7469190','7468660','7468386','7468265') ORDER BY FIELD(s.id, 2918818,4715,4200396,4204718,4212419,4204957,4205685,4205197,7473653,7470568,7470517,7469743,7469481,7469453,7469381,7469379,7469190,7468660,7468386,7468265) [ RunTime:0.005825s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.000978s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2918818 LIMIT 4 [ RunTime:0.004601s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000817s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2918818 ORDER BY `minOrder` ASC [ RunTime:0.000256s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000769s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2918818 ORDER BY `unit` DESC [ RunTime:0.000239s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000780s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2918818 LIMIT 2 [ RunTime:0.000238s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2918818 ORDER BY `minOrder` ASC [ RunTime:0.001427s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4715 LIMIT 4 [ RunTime:0.001999s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4715 ORDER BY `minOrder` ASC [ RunTime:0.004526s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4715 ORDER BY `unit` DESC [ RunTime:0.001234s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4715 LIMIT 2 [ RunTime:0.002679s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4715 ORDER BY `minOrder` ASC [ RunTime:0.000171s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001053s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '130014' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002065s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4200396 LIMIT 4 [ RunTime:0.001578s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4200396 ORDER BY `minOrder` ASC [ RunTime:0.001076s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4200396 ORDER BY `unit` DESC [ RunTime:0.000283s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4200396 LIMIT 2 [ RunTime:0.000231s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4200396 ORDER BY `minOrder` ASC [ RunTime:0.000151s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4204718 LIMIT 4 [ RunTime:0.000460s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4204718 ORDER BY `minOrder` ASC [ RunTime:0.001373s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4204718 ORDER BY `unit` DESC [ RunTime:0.005114s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4204718 LIMIT 2 [ RunTime:0.002295s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4204718 ORDER BY `minOrder` ASC [ RunTime:0.001382s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4212419 LIMIT 4 [ RunTime:0.001287s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4212419 ORDER BY `minOrder` ASC [ RunTime:0.000366s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4212419 ORDER BY `unit` DESC [ RunTime:0.000236s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4212419 LIMIT 2 [ RunTime:0.000227s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4212419 ORDER BY `minOrder` ASC [ RunTime:0.001869s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4204957 LIMIT 4 [ RunTime:0.003111s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4204957 ORDER BY `minOrder` ASC [ RunTime:0.000285s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4204957 ORDER BY `unit` DESC [ RunTime:0.004158s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4204957 LIMIT 2 [ RunTime:0.001526s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4204957 ORDER BY `minOrder` ASC [ RunTime:0.000166s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4205685 LIMIT 4 [ RunTime:0.000431s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4205685 ORDER BY `minOrder` ASC [ RunTime:0.000230s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4205685 ORDER BY `unit` DESC [ RunTime:0.000224s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4205685 LIMIT 2 [ RunTime:0.002037s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4205685 ORDER BY `minOrder` ASC [ RunTime:0.000153s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4205197 LIMIT 4 [ RunTime:0.003472s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4205197 ORDER BY `minOrder` ASC [ RunTime:0.004120s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4205197 ORDER BY `unit` DESC [ RunTime:0.001041s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4205197 LIMIT 2 [ RunTime:0.000329s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4205197 ORDER BY `minOrder` ASC [ RunTime:0.000159s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7473653 LIMIT 4 [ RunTime:0.000510s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7473653 ORDER BY `minOrder` ASC [ RunTime:0.000230s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7473653 ORDER BY `unit` DESC [ RunTime:0.001323s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7473653 LIMIT 2 [ RunTime:0.004582s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7473653 ORDER BY `minOrder` ASC [ RunTime:0.000202s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7470568 LIMIT 4 [ RunTime:0.004354s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7470568 ORDER BY `minOrder` ASC [ RunTime:0.000334s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7470568 ORDER BY `unit` DESC [ RunTime:0.000612s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7470568 LIMIT 2 [ RunTime:0.000842s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7470568 ORDER BY `minOrder` ASC [ RunTime:0.000336s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7470517 LIMIT 4 [ RunTime:0.003415s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7470517 ORDER BY `minOrder` ASC [ RunTime:0.000294s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7470517 ORDER BY `unit` DESC [ RunTime:0.000240s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7470517 LIMIT 2 [ RunTime:0.000229s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7470517 ORDER BY `minOrder` ASC [ RunTime:0.000823s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7469743 LIMIT 4 [ RunTime:0.000381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7469743 ORDER BY `minOrder` ASC [ RunTime:0.003248s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7469743 ORDER BY `unit` DESC [ RunTime:0.000747s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7469743 LIMIT 2 [ RunTime:0.000223s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7469743 ORDER BY `minOrder` ASC [ RunTime:0.000597s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7469481 LIMIT 4 [ RunTime:0.000528s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7469481 ORDER BY `minOrder` ASC [ RunTime:0.003374s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7469481 ORDER BY `unit` DESC [ RunTime:0.001256s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7469481 LIMIT 2 [ RunTime:0.000236s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7469481 ORDER BY `minOrder` ASC [ RunTime:0.000644s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7469453 LIMIT 4 [ RunTime:0.000422s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7469453 ORDER BY `minOrder` ASC [ RunTime:0.000954s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7469453 ORDER BY `unit` DESC [ RunTime:0.000272s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7469453 LIMIT 2 [ RunTime:0.000264s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7469453 ORDER BY `minOrder` ASC [ RunTime:0.000181s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7469381 LIMIT 4 [ RunTime:0.000386s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7469381 ORDER BY `minOrder` ASC [ RunTime:0.000887s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7469381 ORDER BY `unit` DESC [ RunTime:0.001471s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7469381 LIMIT 2 [ RunTime:0.001219s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7469381 ORDER BY `minOrder` ASC [ RunTime:0.000156s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7469379 LIMIT 4 [ RunTime:0.001005s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7469379 ORDER BY `minOrder` ASC [ RunTime:0.000870s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7469379 ORDER BY `unit` DESC [ RunTime:0.000648s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7469379 LIMIT 2 [ RunTime:0.000220s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7469379 ORDER BY `minOrder` ASC [ RunTime:0.000152s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7469190 LIMIT 4 [ RunTime:0.000459s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7469190 ORDER BY `minOrder` ASC [ RunTime:0.000275s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7469190 ORDER BY `unit` DESC [ RunTime:0.001170s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7469190 LIMIT 2 [ RunTime:0.001538s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7469190 ORDER BY `minOrder` ASC [ RunTime:0.000172s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7468660 LIMIT 4 [ RunTime:0.000489s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7468660 ORDER BY `minOrder` ASC [ RunTime:0.000375s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7468660 ORDER BY `unit` DESC [ RunTime:0.000228s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7468660 LIMIT 2 [ RunTime:0.000213s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7468660 ORDER BY `minOrder` ASC [ RunTime:0.000151s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7468386 LIMIT 4 [ RunTime:0.000401s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7468386 ORDER BY `minOrder` ASC [ RunTime:0.000226s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7468386 ORDER BY `unit` DESC [ RunTime:0.000752s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7468386 LIMIT 2 [ RunTime:0.000336s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7468386 ORDER BY `minOrder` ASC [ RunTime:0.000450s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7468265 LIMIT 4 [ RunTime:0.000373s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7468265 ORDER BY `minOrder` ASC [ RunTime:0.000516s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7468265 ORDER BY `unit` DESC [ RunTime:0.000225s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7468265 LIMIT 2 [ RunTime:0.000229s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7468265 ORDER BY `minOrder` ASC [ RunTime:0.000167s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE '130014%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001095s ]