SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002698s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.011664s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002510s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.15' ) [ RunTime:0.006348s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002457s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.007769s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003664s ]
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` = '39114027' LIMIT 1 [ RunTime:0.035055s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.017122s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39114027 [ RunTime:0.022706s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.014260s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39114027 ORDER BY `minOrder` ASC [ RunTime:0.054434s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002170s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39114027 ORDER BY `unit` DESC [ RunTime:0.020059s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.013643s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39114027 [ RunTime:0.008752s ]
SELECT `name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.011915s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39114027 ORDER BY `minOrder` ASC [ RunTime:0.005419s ]
select * from pdf where partno='D0004085' and brandshort='VPG Foil Resistors' limit 1 [ RunTime:0.008978s ]
SHOW FULL COLUMNS FROM `stock_product_overview` [ RunTime:0.003230s ]
SELECT `memo` FROM `stock_product_overview` WHERE `icName` = 'D0004085' LIMIT 1 [ RunTime:0.000680s ]
SHOW FULL COLUMNS FROM `pdf` [ RunTime:0.001211s ]
SELECT `id`,`partno`,`note`,`note_cn` FROM `pdf` WHERE `partno` = 'D0004085' LIMIT 1 [ RunTime:0.000529s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002286s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'D0004085' OR `brand` LIKE 'VPG Foil Resistors%' ) ) LIMIT 1 [ RunTime:0.000881s ]
SELECT `id` FROM `stock` WHERE `id` <> 39114027 AND `partno` = 'D0004085' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vpg foil resistors%' ) [ RunTime:0.001643s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16949492 [ RunTime:0.001154s ]
SELECT `note` FROM `stock` WHERE `id` = 16949492 LIMIT 1 [ RunTime:0.004895s ]
SELECT `description` FROM `stock` WHERE `id` = 16949492 LIMIT 1 [ RunTime:0.007092s ]
SHOW FULL COLUMNS FROM `icreplace` [ RunTime:0.001261s ]
SELECT `r`.*,`b`.`brandshort`,`b`.`brandcn` FROM `icreplace` `r` LEFT JOIN `stock_brand` `b` ON `b`.`id`=`r`.`icbrandid` WHERE `r`.`partno` = 'D0004085' ORDER BY `r`.`id` DESC LIMIT 5 [ RunTime:0.000891s ]
SELECT `id`,`code`,`imgurl`,`minOrderPrice`,`partno`,`brand`,`package` FROM `stock` WHERE `categoryid` = 0 AND ( `partno` > 'D0004085' ) ORDER BY `partno` ASC LIMIT 8 [ RunTime:0.003849s ]
SELECT `id`,`code`,`imgurl`,`minOrderPrice`,`partno`,`brand`,`package` FROM `stock` WHERE `status` = 3 ORDER BY `partno` ASC LIMIT 8 [ RunTime:0.000371s ]