SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001229s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.011839s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.000984s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.208' ) [ RunTime:0.016388s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001991s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.004652s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001342s ]
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` = '20129004' LIMIT 1 [ RunTime:0.054520s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002069s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20129004 LIMIT 10 [ RunTime:0.023708s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002805s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20129004 ORDER BY `minOrder` ASC [ RunTime:0.027751s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.048881s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 20129004 ORDER BY `unit` DESC [ RunTime:0.010226s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.013162s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 20129004 LIMIT 5 [ RunTime:0.021622s ]
SELECT `name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.010614s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20129004 ORDER BY `minOrder` ASC [ RunTime:0.016245s ]
select * from pdf where partno='ZX-PM2.54-1-20PY' and brandshort='Megastar' limit 1 [ RunTime:0.009418s ]
SHOW FULL COLUMNS FROM `pdf` [ RunTime:0.003551s ]
SELECT `id`,`partno`,`note`,`note_cn` FROM `pdf` WHERE `partno` = 'ZX-PM2.54-1-20PY' LIMIT 1 [ RunTime:0.030485s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001372s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ZX-PM2.54-1-20PY' OR `brand` LIKE 'Megastar(兆星)%' ) ) LIMIT 1 [ RunTime:0.025367s ]
SHOW FULL COLUMNS FROM `icreplace` [ RunTime:0.015147s ]
SELECT `r`.*,`b`.`brandshort`,`b`.`brandcn` FROM `icreplace` `r` LEFT JOIN `stock_brand` `b` ON `b`.`id`=`r`.`icbrandid` WHERE `r`.`partno` = 'ZX-PM2.54-1-20PY' ORDER BY `r`.`id` DESC LIMIT 5 [ RunTime:0.010242s ]