LFE2M20E-6FN256C-5I2N7002-7-FPLT10HH1026R0PNLM2- HFA2-S100-MCP40D17T-103E/LTG3VM-61G37001-8P8C-R-MBSZ060NE2LSATMA1G3NA-220B-UTU DC5-24 BY OMZMCSMT-8540C-3716
SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002242s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000583s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002409s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000359s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002220s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000329s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 45 LIMIT 1 [ RunTime:0.000358s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 45 [ RunTime:0.000280s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (503,504,505,506,507,508,509,510,511,512,513,514,515) [ RunTime:0.000396s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002692s ]
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 'BSC067N06LS3GATMA1%' AND `status` <> 2 AND `categoryid` IN (503,504,505,506,507,508,509,510,511,512,513,514,515) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.013140s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'BSC067N06LS3GATMA1%' AND `status` <> 2 AND `categoryid` IN (503,504,505,506,507,508,509,510,511,512,513,514,515) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.015966s ]