SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002127s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000557s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002262s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000330s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001766s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000281s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000310s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000227s ]
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.002085s ]
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 'HLMP-3301%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005240s ]
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 ('2636641','1636221','2635648','2635652','7001856','57','8872197','3336','7013448','5230552','1638441') ORDER BY FIELD(s.id, 2636641,1636221,2635648,2635652,7001856,57,8872197,3336,7013448,5230552,1638441) [ RunTime:0.002816s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001064s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2636641 LIMIT 4 [ RunTime:0.004912s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000968s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2636641 ORDER BY `minOrder` ASC [ RunTime:0.001681s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001988s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2636641 ORDER BY `unit` DESC [ RunTime:0.002662s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002599s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2636641 LIMIT 2 [ RunTime:0.001417s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2636641 ORDER BY `minOrder` ASC [ RunTime:0.001358s ]
select * from pdf where partno='HLMP-3301' and brandshort='Broadcom Limited' limit 1 [ RunTime:0.002017s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1636221 LIMIT 4 [ RunTime:0.001650s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1636221 ORDER BY `minOrder` ASC [ RunTime:0.000463s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1636221 ORDER BY `unit` DESC [ RunTime:0.000934s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1636221 LIMIT 2 [ RunTime:0.001737s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1636221 ORDER BY `minOrder` ASC [ RunTime:0.000234s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2635648 LIMIT 4 [ RunTime:0.001898s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2635648 ORDER BY `minOrder` ASC [ RunTime:0.000394s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2635648 ORDER BY `unit` DESC [ RunTime:0.000387s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2635648 LIMIT 2 [ RunTime:0.000374s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2635648 ORDER BY `minOrder` ASC [ RunTime:0.000229s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2635652 LIMIT 4 [ RunTime:0.000390s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2635652 ORDER BY `minOrder` ASC [ RunTime:0.007756s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2635652 ORDER BY `unit` DESC [ RunTime:0.002282s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2635652 LIMIT 2 [ RunTime:0.000542s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2635652 ORDER BY `minOrder` ASC [ RunTime:0.000341s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7001856 LIMIT 4 [ RunTime:0.001082s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7001856 ORDER BY `minOrder` ASC [ RunTime:0.003439s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7001856 ORDER BY `unit` DESC [ RunTime:0.002320s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7001856 LIMIT 2 [ RunTime:0.000564s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7001856 ORDER BY `minOrder` ASC [ RunTime:0.001475s ]
select * from pdf where partno='HLMP-3301-D00B2' and brandshort='Broadcom Limited' limit 1 [ RunTime:0.002319s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 57 LIMIT 4 [ RunTime:0.000419s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57 ORDER BY `minOrder` ASC [ RunTime:0.001010s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 57 ORDER BY `unit` DESC [ RunTime:0.003710s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 57 LIMIT 2 [ RunTime:0.004132s ]
SELECT * FROM `stock_price` WHERE `stockid` = 57 ORDER BY `minOrder` ASC [ RunTime:0.002735s ]
select * from pdf where partno='HLMP-3301' and brandshort='BROADCOM' limit 1 [ RunTime:0.000762s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002468s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HLMP-3301' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.004671s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8872197 LIMIT 4 [ RunTime:0.003911s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8872197 ORDER BY `minOrder` ASC [ RunTime:0.001590s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8872197 ORDER BY `unit` DESC [ RunTime:0.000259s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8872197 LIMIT 2 [ RunTime:0.000227s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8872197 ORDER BY `minOrder` ASC [ RunTime:0.000711s ]
select * from pdf where partno='HLMP-3301-F00B2' and brandshort='Broadcom Limited' limit 1 [ RunTime:0.001446s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3336 LIMIT 4 [ RunTime:0.000229s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3336 ORDER BY `minOrder` ASC [ RunTime:0.000430s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3336 ORDER BY `unit` DESC [ RunTime:0.005629s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3336 LIMIT 2 [ RunTime:0.001515s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3336 ORDER BY `minOrder` ASC [ RunTime:0.000164s ]
select * from pdf where partno='HLMP-3301-D0000' and brandshort='BROADCOM' limit 1 [ RunTime:0.001117s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HLMP-3301-D0000' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.004909s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7013448 LIMIT 4 [ RunTime:0.001956s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7013448 ORDER BY `minOrder` ASC [ RunTime:0.001325s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7013448 ORDER BY `unit` DESC [ RunTime:0.001171s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7013448 LIMIT 2 [ RunTime:0.000232s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7013448 ORDER BY `minOrder` ASC [ RunTime:0.000152s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5230552 LIMIT 4 [ RunTime:0.000770s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5230552 ORDER BY `minOrder` ASC [ RunTime:0.000325s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5230552 ORDER BY `unit` DESC [ RunTime:0.000479s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5230552 LIMIT 2 [ RunTime:0.006708s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5230552 ORDER BY `minOrder` ASC [ RunTime:0.002538s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1638441 LIMIT 4 [ RunTime:0.011481s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1638441 ORDER BY `minOrder` ASC [ RunTime:0.000811s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1638441 ORDER BY `unit` DESC [ RunTime:0.000616s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1638441 LIMIT 2 [ RunTime:0.000455s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1638441 ORDER BY `minOrder` ASC [ RunTime:0.000150s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'HLMP-3301%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000854s ]