SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002070s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.002037s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.003378s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.154' ) [ RunTime:0.000695s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002384s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000664s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002417s ]
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` = '39397942' LIMIT 1 [ RunTime:0.001057s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001907s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39397942 [ RunTime:0.000489s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001908s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39397942 ORDER BY `minOrder` ASC [ RunTime:0.000902s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001945s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39397942 ORDER BY `unit` DESC [ RunTime:0.000475s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002180s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39397942 [ RunTime:0.000568s ]
SELECT `name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39397942 ORDER BY `minOrder` ASC [ RunTime:0.000539s ]
select * from pdf where partno='M39003/01-2617' and brandshort='Vishay Sprague' limit 1 [ RunTime:0.001418s ]
SHOW FULL COLUMNS FROM `stock_product_overview` [ RunTime:0.002267s ]
SELECT `memo` FROM `stock_product_overview` WHERE `icName` = 'M39003/01-2617' LIMIT 1 [ RunTime:0.000736s ]
SHOW FULL COLUMNS FROM `pdf` [ RunTime:0.002053s ]
SELECT `id`,`partno`,`note`,`note_cn` FROM `pdf` WHERE `partno` = 'M39003/01-2617' LIMIT 1 [ RunTime:0.000545s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002660s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M39003/01-2617' OR `brand` LIKE 'Vishay Sprague%' ) ) LIMIT 1 [ RunTime:0.001130s ]
SELECT `id` FROM `stock` WHERE `id` <> 39397942 AND `partno` = 'M39003/01-2617' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vishay sprague%' ) [ RunTime:0.001737s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15618212 [ RunTime:0.000994s ]
SELECT `note` FROM `stock` WHERE `id` = 15618212 LIMIT 1 [ RunTime:0.000357s ]
SELECT `description` FROM `stock` WHERE `id` = 15618212 LIMIT 1 [ RunTime:0.000300s ]
SHOW FULL COLUMNS FROM `icreplace` [ RunTime:0.001097s ]
SELECT `r`.*,`b`.`brandshort`,`b`.`brandcn` FROM `icreplace` `r` LEFT JOIN `stock_brand` `b` ON `b`.`id`=`r`.`icbrandid` WHERE `r`.`partno` = 'M39003/01-2617' ORDER BY `r`.`id` DESC LIMIT 5 [ RunTime:0.000495s ]
SELECT `id`,`code`,`imgurl`,`minOrderPrice`,`partno`,`brand`,`package` FROM `stock` WHERE `categoryid` = 0 AND ( `partno` > 'M39003/01-2617' ) ORDER BY `partno` ASC LIMIT 8 [ RunTime:0.005010s ]
SELECT `id`,`code`,`imgurl`,`minOrderPrice`,`partno`,`brand`,`package` FROM `stock` WHERE `status` = 3 ORDER BY `partno` ASC LIMIT 8 [ RunTime:0.000856s ]