SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002386s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000589s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002199s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000310s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001151s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000260s ]
SHOW FULL COLUMNS FROM `icreplace` [ RunTime:0.001299s ]
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.000325s ]
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 297200,10 [ RunTime:1.688626s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002364s ]
SELECT `id` FROM `stock` WHERE `partno` = 'MAX811' AND `brand` = 'ADI' LIMIT 1 [ RunTime:0.002083s ]
SELECT `id` FROM `stock` WHERE `partno` = 'MAX811' LIMIT 1 [ RunTime:0.000616s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP811' LIMIT 1 [ RunTime:0.000787s ]
SELECT `id` FROM `stock` WHERE `partno` = 'MAX810' AND `brand` = 'ADI' LIMIT 1 [ RunTime:0.002851s ]
SELECT `id` FROM `stock` WHERE `partno` = 'MAX810' LIMIT 1 [ RunTime:0.005127s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP810' LIMIT 1 [ RunTime:0.001439s ]
SELECT `id` FROM `stock` WHERE `partno` = 'MAX809' AND `brand` = 'ADI' LIMIT 1 [ RunTime:0.006343s ]
SELECT `id` FROM `stock` WHERE `partno` = 'MAX809' LIMIT 1 [ RunTime:0.001281s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP809' LIMIT 1 [ RunTime:0.000890s ]
SELECT `id` FROM `stock` WHERE `partno` = 'MAX803' AND `brand` = 'ADI' LIMIT 1 [ RunTime:0.000873s ]
SELECT `id` FROM `stock` WHERE `partno` = 'MAX803' LIMIT 1 [ RunTime:0.000570s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP803' LIMIT 1 [ RunTime:0.001023s ]
SELECT `id` FROM `stock` WHERE `partno` = 'MAX708' AND `brand` = 'ADI' LIMIT 1 [ RunTime:0.002958s ]
SELECT `id` FROM `stock` WHERE `partno` = 'MAX708' LIMIT 1 [ RunTime:0.004632s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP708' LIMIT 1 [ RunTime:0.007627s ]
SELECT `id` FROM `stock` WHERE `partno` = 'MAX706' AND `brand` = 'ADI' LIMIT 1 [ RunTime:0.001121s ]
SELECT `id` FROM `stock` WHERE `partno` = 'MAX706' LIMIT 1 [ RunTime:0.000522s ]
SELECT `id` FROM `stock` WHERE `partno` = 'AIP706' LIMIT 1 [ RunTime:0.001908s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM5041A' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.006070s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM5041A' LIMIT 1 [ RunTime:0.000601s ]
SELECT `id` FROM `stock` WHERE `partno` = 'CYT5041' LIMIT 1 [ RunTime:0.000378s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM5035' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.000678s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM5035' LIMIT 1 [ RunTime:0.000872s ]
SELECT `id` FROM `stock` WHERE `partno` = 'CYT5035' LIMIT 1 [ RunTime:0.004927s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM5034' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.000885s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM5034' LIMIT 1 [ RunTime:0.003573s ]
SELECT `id` FROM `stock` WHERE `partno` = 'CYT5034' LIMIT 1 [ RunTime:0.001183s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM5032' AND `brand` = 'TI' LIMIT 1 [ RunTime:0.009717s ]
SELECT `id` FROM `stock` WHERE `partno` = 'LM5032' LIMIT 1 [ RunTime:0.002990s ]
SELECT `id` FROM `stock` WHERE `partno` = 'CYT5032' LIMIT 1 [ RunTime:0.004201s ]