SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001283s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000535s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001463s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000283s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001134s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000247s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001482s ]
SELECT `s`.*,`u`.`company`,`t`.`name` FROM `stock` `s` LEFT JOIN `user` `u` ON `u`.`id`=`s`.`userid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE `s`.`id` = '1573' LIMIT 1 [ RunTime:0.003670s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001497s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1573 LIMIT 10 [ RunTime:0.000370s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001837s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1573 ORDER BY `minOrder` ASC [ RunTime:0.004127s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000962s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1573 ORDER BY `unit` DESC [ RunTime:0.002084s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000848s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1573 LIMIT 2 [ RunTime:0.000264s ]
SELECT * FROM `product_type` WHERE `id` = 127 LIMIT 1 [ RunTime:0.000179s ]
SELECT `name` FROM `product_type` WHERE `id` = 21 LIMIT 1 [ RunTime:0.000146s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1573 ORDER BY `minOrder` ASC [ RunTime:0.000170s ]
SHOW FULL COLUMNS FROM `pdf` [ RunTime:0.001063s ]
SELECT `id`,`partno`,`note`,`note_cn` FROM `pdf` WHERE `partno` = 'KP-2012SGC' LIMIT 1 [ RunTime:0.001323s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000993s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KP-2012SGC' OR `brand` LIKE 'KINGBRIGHT%' ) ) LIMIT 1 [ RunTime:0.001146s ]
SHOW FULL COLUMNS FROM `icreplace` [ RunTime:0.000889s ]
SELECT `r`.*,`b`.`brandshort`,`b`.`brandcn` FROM `icreplace` `r` LEFT JOIN `stock_brand` `b` ON `b`.`id`=`r`.`icbrandid` WHERE `r`.`partno` = 'KP-2012SGC' ORDER BY `r`.`id` DESC LIMIT 5 [ RunTime:0.000421s ]
SELECT `stock`.`id`,`imgurl`,`partno`,`categoryid`,`brand`,`name` FROM `stock` LEFT JOIN `product_type` ON `product_type`.`id`=`stock`.`categoryid` WHERE `categoryid` = 127 AND ( `partno` > 'KP-2012SGC' ) ORDER BY `partno` ASC LIMIT 4 [ RunTime:0.010238s ]