SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001428s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000477s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002685s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000410s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002256s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000339s ]
SHOW FULL COLUMNS FROM `icreplace` [ RunTime:0.002312s ]
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.000483s ]
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 297190,10 [ RunTime:1.499496s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001286s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM2903' AND `brand` IS NULL LIMIT 1 [ RunTime:0.000454s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM2903' LIMIT 1 [ RunTime:0.000241s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP2903' LIMIT 1 [ RunTime:0.001833s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM2903' AND `brand` IS NULL LIMIT 1 [ RunTime:0.003919s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM2903' LIMIT 1 [ RunTime:0.000145s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP2903' LIMIT 1 [ RunTime:0.000140s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM2903' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.000312s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM2903' LIMIT 1 [ RunTime:0.000144s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP2903' LIMIT 1 [ RunTime:0.000137s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM339' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.000144s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM339' LIMIT 1 [ RunTime:0.000138s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP339' LIMIT 1 [ RunTime:0.000263s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM239' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.003003s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM239' LIMIT 1 [ RunTime:0.002271s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP239' LIMIT 1 [ RunTime:0.001450s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM2901' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.000560s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM2901' LIMIT 1 [ RunTime:0.000226s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP2901' LIMIT 1 [ RunTime:0.000225s ]
SELECT `id` FROM `stock` WHERE `partno` = 'TL2845' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.001518s ]
SELECT `id` FROM `stock` WHERE `partno` = 'TL2845' LIMIT 1 [ RunTime:0.003710s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP2845' LIMIT 1 [ RunTime:0.000236s ]
SELECT `id` FROM `stock` WHERE `partno` = 'TL3845' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.000532s ]
SELECT `id` FROM `stock` WHERE `partno` = 'TL3845' LIMIT 1 [ RunTime:0.000233s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP3845' LIMIT 1 [ RunTime:0.000228s ]
SELECT `id` FROM `stock` WHERE `partno` = 'TPS3809' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.000574s ]
SELECT `id` FROM `stock` WHERE `partno` = 'TPS3809' LIMIT 1 [ RunTime:0.000989s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP3809' LIMIT 1 [ RunTime:0.000228s ]
SELECT `id` FROM `stock` WHERE `partno` = 'MAX812' AND `brand` = 'ADI' LIMIT 1 [ RunTime:0.000359s ]
SELECT `id` FROM `stock` WHERE `partno` = 'MAX812' LIMIT 1 [ RunTime:0.000537s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP812' LIMIT 1 [ RunTime:0.002059s ]