SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001206s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000922s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001141s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.117' ) [ RunTime:0.000378s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000879s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000304s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001149s ]
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` = '39185572' LIMIT 1 [ RunTime:0.000495s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.000822s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 39185572 [ RunTime:0.000278s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001064s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39185572 ORDER BY `minOrder` ASC [ RunTime:0.000661s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000820s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 39185572 ORDER BY `unit` DESC [ RunTime:0.000254s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000873s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 39185572 [ RunTime:0.000259s ]
SELECT `name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000236s ]
SELECT * FROM `stock_price` WHERE `stockid` = 39185572 ORDER BY `minOrder` ASC [ RunTime:0.000328s ]
select * from pdf where partno='D0004358' and brandshort='VPG Foil Resistors' limit 1 [ RunTime:0.001033s ]
SHOW FULL COLUMNS FROM `stock_product_overview` [ RunTime:0.001269s ]
SELECT `memo` FROM `stock_product_overview` WHERE `icName` = 'D0004358' LIMIT 1 [ RunTime:0.000380s ]
SHOW FULL COLUMNS FROM `pdf` [ RunTime:0.001534s ]
SELECT `id`,`partno`,`note`,`note_cn` FROM `pdf` WHERE `partno` = 'D0004358' LIMIT 1 [ RunTime:0.000491s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001082s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'D0004358' OR `brand` LIKE 'VPG Foil Resistors%' ) ) LIMIT 1 [ RunTime:0.002262s ]
SELECT `id` FROM `stock` WHERE `id` <> 39185572 AND `partno` = 'D0004358' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%vpg foil resistors%' ) [ RunTime:0.000591s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18559561 [ RunTime:0.000791s ]
SELECT `note` FROM `stock` WHERE `id` = 18559561 LIMIT 1 [ RunTime:0.000376s ]
SELECT `description` FROM `stock` WHERE `id` = 18559561 LIMIT 1 [ RunTime:0.000288s ]
SHOW FULL COLUMNS FROM `icreplace` [ RunTime:0.001696s ]
SELECT `r`.*,`b`.`brandshort`,`b`.`brandcn` FROM `icreplace` `r` LEFT JOIN `stock_brand` `b` ON `b`.`id`=`r`.`icbrandid` WHERE `r`.`partno` = 'D0004358' ORDER BY `r`.`id` DESC LIMIT 5 [ RunTime:0.000644s ]
SELECT `id`,`code`,`imgurl`,`minOrderPrice`,`partno`,`brand`,`package` FROM `stock` WHERE `categoryid` = 0 AND ( `partno` > 'D0004358' ) ORDER BY `partno` ASC LIMIT 8 [ RunTime:0.001410s ]
SELECT `id`,`code`,`imgurl`,`minOrderPrice`,`partno`,`brand`,`package` FROM `stock` WHERE `status` = 3 ORDER BY `partno` ASC LIMIT 8 [ RunTime:0.000779s ]