SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001518s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.002922s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001221s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.41' ) [ RunTime:0.000254s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000807s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000180s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 121 LIMIT 1 [ RunTime:0.000219s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 121 [ RunTime:0.000145s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 21 [ RunTime:0.000146s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.000966s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` = 4 AND `status` <> 2 AND `categoryid` = 121 ) [ RunTime:0.000565s ]
SELECT `s`.`id`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` = 4 AND `status` <> 2 AND `categoryid` = 121 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001580s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001034s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15743 LIMIT 4 [ RunTime:0.002738s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004066s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15743 ORDER BY `minOrder` ASC [ RunTime:0.000820s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003593s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15743 ORDER BY `unit` DESC [ RunTime:0.000624s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001850s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15743 LIMIT 2 [ RunTime:0.000710s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15743 ORDER BY `minOrder` ASC [ RunTime:0.002843s ]
select * from pdf where partno='BAW56LT1G' and brandshort='ONSEMI' limit 1 [ RunTime:0.003755s ]
select foldpath,foldpath2,filename from pdf_file where id=568830 limit 1 [ RunTime:0.004051s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002109s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAW56LT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.016750s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15422 LIMIT 4 [ RunTime:0.001075s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15422 ORDER BY `minOrder` ASC [ RunTime:0.000814s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15422 ORDER BY `unit` DESC [ RunTime:0.000600s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15422 LIMIT 2 [ RunTime:0.000516s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15422 ORDER BY `minOrder` ASC [ RunTime:0.000334s ]
select * from pdf where partno='1SS355TE-17' and brandshort='ROHM' limit 1 [ RunTime:0.000785s ]
select foldpath,foldpath2,filename from pdf_file where id=1106100 limit 1 [ RunTime:0.004468s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1SS355TE-17' OR `brand` LIKE 'ROHM%' ) ) LIMIT 1 [ RunTime:0.006656s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15323 LIMIT 4 [ RunTime:0.001491s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15323 ORDER BY `minOrder` ASC [ RunTime:0.000604s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15323 ORDER BY `unit` DESC [ RunTime:0.000580s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15323 LIMIT 2 [ RunTime:0.002065s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15323 ORDER BY `minOrder` ASC [ RunTime:0.002996s ]
select * from pdf where partno='BAV74LT1G' and brandshort='ONSEMI' limit 1 [ RunTime:0.003652s ]
select foldpath,foldpath2,filename from pdf_file where id=668717 limit 1 [ RunTime:0.001015s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV74LT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.016946s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15142 LIMIT 4 [ RunTime:0.000616s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15142 ORDER BY `minOrder` ASC [ RunTime:0.000949s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15142 ORDER BY `unit` DESC [ RunTime:0.001967s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15142 LIMIT 2 [ RunTime:0.006305s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15142 ORDER BY `minOrder` ASC [ RunTime:0.000414s ]
select * from pdf where partno='BAS20HT1G' and brandshort='ONSEMI' limit 1 [ RunTime:0.000562s ]
select foldpath,foldpath2,filename from pdf_file where id=671906 limit 1 [ RunTime:0.000351s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS20HT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000426s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` = 4 AND `status` <> 2 AND `categoryid` = 121 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001278s ]