SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002243s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000787s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002738s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000352s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001948s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000315s ]
SHOW FULL COLUMNS FROM `icreplace` [ RunTime:0.001985s ]
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` WHERE ( `r`.`partno` = 'FDN337N' ) [ RunTime:0.001016s ]
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` WHERE ( `r`.`partno` = 'FDN337N' ) ORDER BY `r`.`id` DESC LIMIT 0,10 [ RunTime:0.001089s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002001s ]
SELECT `id` FROM `stock` WHERE `partno` = 'FDN337N' AND `brand` IS NULL LIMIT 1 [ RunTime:0.001065s ]
SELECT `id` FROM `stock` WHERE `partno` = 'FDN337N' LIMIT 1 [ RunTime:0.000484s ]
SELECT `id` FROM `stock` WHERE `partno` = 'FDN337N' LIMIT 1 [ RunTime:0.000243s ]
SELECT `id` FROM `stock` WHERE `partno` = 'FDN337N' AND `brand` IS NULL LIMIT 1 [ RunTime:0.000180s ]
SELECT `id` FROM `stock` WHERE `partno` = 'FDN337N' LIMIT 1 [ RunTime:0.000168s ]
SELECT `id` FROM `stock` WHERE `partno` = 'FDN337N' LIMIT 1 [ RunTime:0.000165s ]
SELECT `id` FROM `stock` WHERE `partno` = 'FDN337N' AND `brand` IS NULL LIMIT 1 [ RunTime:0.000169s ]
SELECT `id` FROM `stock` WHERE `partno` = 'FDN337N' LIMIT 1 [ RunTime:0.000162s ]
SELECT `id` FROM `stock` WHERE `partno` = 'FDN337N' LIMIT 1 [ RunTime:0.000163s ]
SELECT `id` FROM `stock` WHERE `partno` = 'FDN337N' AND `brand` IS NULL LIMIT 1 [ RunTime:0.000175s ]
SELECT `id` FROM `stock` WHERE `partno` = 'FDN337N' LIMIT 1 [ RunTime:0.000167s ]
SELECT `id` FROM `stock` WHERE `partno` = 'FDN337N' LIMIT 1 [ RunTime:0.000169s ]
SELECT `name` FROM `product_type` WHERE `id` = 132 LIMIT 1 [ RunTime:0.000190s ]