SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002402s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000630s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002484s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.187' ) [ RunTime:0.000346s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002066s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000339s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.001684s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.004614s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,800,1068,1296,1456,1822,1929,2017,2101,2342,2393,2475,2518,2568) [ RunTime:0.007333s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002129s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `partno` LIKE '2N7002L%' AND `status` <> 2 ) [ RunTime:0.011299s ]
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 ( `partno` LIKE '2N7002L%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.010949s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002614s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14520 LIMIT 4 [ RunTime:0.000908s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001024s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14520 ORDER BY `minOrder` ASC [ RunTime:0.000473s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000859s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14520 ORDER BY `unit` DESC [ RunTime:0.000344s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001002s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14520 LIMIT 2 [ RunTime:0.000327s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14520 ORDER BY `minOrder` ASC [ RunTime:0.000255s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000996s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2N7002LT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.006129s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10198 LIMIT 4 [ RunTime:0.008374s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10198 ORDER BY `minOrder` ASC [ RunTime:0.009930s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10198 ORDER BY `unit` DESC [ RunTime:0.000553s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10198 LIMIT 2 [ RunTime:0.002040s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10198 ORDER BY `minOrder` ASC [ RunTime:0.004570s ]
select * from pdf where partno='2N7002L' and brandshort='ONSEMI' limit 1 [ RunTime:0.005552s ]
select foldpath,foldpath2,filename from pdf_file where id=358085 limit 1 [ RunTime:0.000645s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2N7002L' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.016790s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 27225 LIMIT 4 [ RunTime:0.004098s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27225 ORDER BY `minOrder` ASC [ RunTime:0.000546s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 27225 ORDER BY `unit` DESC [ RunTime:0.002450s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 27225 LIMIT 2 [ RunTime:0.007082s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27225 ORDER BY `minOrder` ASC [ RunTime:0.002574s ]
select * from pdf where partno='2N7002LT1G' and brandshort='onsemi' limit 1 [ RunTime:0.003367s ]
select foldpath,foldpath2,filename from pdf_file where id=358085 limit 1 [ RunTime:0.000410s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2N7002LT1G' OR `brand` LIKE 'onsemi(安森美)%' ) ) LIMIT 1 [ RunTime:0.017424s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 21212 LIMIT 4 [ RunTime:0.004004s ]
SELECT * FROM `stock_price` WHERE `stockid` = 21212 ORDER BY `minOrder` ASC [ RunTime:0.001235s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 21212 ORDER BY `unit` DESC [ RunTime:0.000600s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 21212 LIMIT 2 [ RunTime:0.000454s ]
SELECT * FROM `stock_price` WHERE `stockid` = 21212 ORDER BY `minOrder` ASC [ RunTime:0.000278s ]
select * from pdf where partno='2N7002LT1G' and brandshort='ON' limit 1 [ RunTime:0.000707s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2N7002LT1G' OR `brand` LIKE 'ON%' ) ) LIMIT 1 [ RunTime:0.019336s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17835 LIMIT 4 [ RunTime:0.003052s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17835 ORDER BY `minOrder` ASC [ RunTime:0.004192s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17835 ORDER BY `unit` DESC [ RunTime:0.004016s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17835 LIMIT 2 [ RunTime:0.008156s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17835 ORDER BY `minOrder` ASC [ RunTime:0.009331s ]
select * from pdf where partno='2N7002LT1G' and brandshort='onsemi' limit 1 [ RunTime:0.000652s ]
select foldpath,foldpath2,filename from pdf_file where id=358085 limit 1 [ RunTime:0.000304s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2N7002LT1G' OR `brand` LIKE 'onsemi(安森美)%' ) ) LIMIT 1 [ RunTime:0.000341s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE '2N7002L%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001098s ]