SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001118s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.012824s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001883s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.62' ) [ RunTime:0.001766s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000980s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.001520s ]
SHOW FULL COLUMNS FROM `icreplace` [ RunTime:0.000990s ]
SELECT COUNT(*) AS think_count FROM `icreplace` `r` LEFT JOIN `stock_brand` `b1` ON `b1`.`id`=`r`.`brandid` LEFT JOIN `stock_brand` `b2` ON `b2`.`id`=`r`.`icbrandid` LEFT JOIN `stock` `s` ON `s`.`partno`=`r`.`partno` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` [ RunTime:0.004005s ]
SELECT `r`.*,`b1`.`brandshort`,`b1`.`brandcn`,b2.brandshort replaceBrandshort,b2.brandcn replaceBrandcn,`s`.`categoryid`,`s`.`note`,`s`.`imgurl`,`t`.`name` FROM `icreplace` `r` LEFT JOIN `stock_brand` `b1` ON `b1`.`id`=`r`.`brandid` LEFT JOIN `stock_brand` `b2` ON `b2`.`id`=`r`.`icbrandid` LEFT JOIN `stock` `s` ON `s`.`partno`=`r`.`partno` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` ORDER BY `r`.`id` DESC LIMIT 297390,10 [ RunTime:2.450448s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001700s ]
SELECT `id` FROM `stock` WHERE `partno` = 'CYT5041' AND `brand` = 'A-BRIGHT' LIMIT 1 [ RunTime:0.001954s ]
SELECT `id` FROM `stock` WHERE `partno` = 'CYT5041' LIMIT 1 [ RunTime:0.003426s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM5041A' LIMIT 1 [ RunTime:0.008936s ]