SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001170s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.001306s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001518s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.117' ) [ RunTime:0.000555s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001151s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000489s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002433s ]
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` = '64626456' LIMIT 1 [ RunTime:0.000956s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001058s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 64626456 [ RunTime:0.000375s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001103s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64626456 ORDER BY `minOrder` ASC [ RunTime:0.000816s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001000s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 64626456 ORDER BY `unit` DESC [ RunTime:0.000413s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001027s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 64626456 [ RunTime:0.000298s ]
SELECT `name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000248s ]
SELECT * FROM `stock_price` WHERE `stockid` = 64626456 ORDER BY `minOrder` ASC [ RunTime:0.000350s ]
select * from pdf where partno='SPM1121' and brandshort='Carlo Gavazzi Inc.' limit 1 [ RunTime:0.001288s ]
SHOW FULL COLUMNS FROM `stock_product_overview` [ RunTime:0.002393s ]
SELECT `memo` FROM `stock_product_overview` WHERE `icName` = 'SPM1121' LIMIT 1 [ RunTime:0.000579s ]
SHOW FULL COLUMNS FROM `pdf` [ RunTime:0.001096s ]
SELECT `id`,`partno`,`note`,`note_cn` FROM `pdf` WHERE `partno` = 'SPM1121' LIMIT 1 [ RunTime:0.000362s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002063s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SPM1121' OR `brand` LIKE 'Carlo Gavazzi Inc.%' ) ) LIMIT 1 [ RunTime:0.000682s ]
SELECT `id` FROM `stock` WHERE `id` <> 64626456 AND `partno` = 'SPM1121' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%carlo gavazzi inc.%' ) [ RunTime:0.000737s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14067795 [ RunTime:0.000992s ]
SELECT `note` FROM `stock` WHERE `id` = 14067795 LIMIT 1 [ RunTime:0.000456s ]
SELECT `description` FROM `stock` WHERE `id` = 14067795 LIMIT 1 [ RunTime:0.000386s ]
SHOW FULL COLUMNS FROM `icreplace` [ RunTime:0.002289s ]
SELECT `r`.*,`b`.`brandshort`,`b`.`brandcn` FROM `icreplace` `r` LEFT JOIN `stock_brand` `b` ON `b`.`id`=`r`.`icbrandid` WHERE `r`.`partno` = 'SPM1121' ORDER BY `r`.`id` DESC LIMIT 5 [ RunTime:0.000543s ]
SELECT `id`,`code`,`imgurl`,`minOrderPrice`,`partno`,`brand`,`package` FROM `stock` WHERE `categoryid` = 0 AND ( `partno` > 'SPM1121' ) ORDER BY `partno` ASC LIMIT 8 [ RunTime:0.000869s ]
SELECT `id`,`code`,`imgurl`,`minOrderPrice`,`partno`,`brand`,`package` FROM `stock` WHERE `status` = 3 ORDER BY `partno` ASC LIMIT 8 [ RunTime:0.001483s ]