SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002435s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.001703s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002866s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000452s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002726s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000370s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 105 LIMIT 1 [ RunTime:0.000446s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 105 [ RunTime:0.000340s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 20 [ RunTime:0.000297s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003035s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay IS NULL OR s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` = 105 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001936s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay IS NULL OR s.isDisplay = 1) ) AND `s`.`id` IN ('7234','2848','7233','7391','7390','16825','16551','15806','15531','8248') ORDER BY FIELD(s.id, 7234,2848,7233,7391,7390,16825,16551,15806,15531,8248) [ RunTime:0.001923s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002885s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7234 LIMIT 4 [ RunTime:0.000345s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002424s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7234 ORDER BY `minOrder` ASC [ RunTime:0.002825s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002513s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7234 ORDER BY `unit` DESC [ RunTime:0.000360s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002525s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7234 LIMIT 2 [ RunTime:0.009070s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7234 ORDER BY `minOrder` ASC [ RunTime:0.000396s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001329s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NPIC6C596PW-Q100,1' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.009185s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2848 LIMIT 4 [ RunTime:0.005011s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2848 ORDER BY `minOrder` ASC [ RunTime:0.003088s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2848 ORDER BY `unit` DESC [ RunTime:0.000453s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2848 LIMIT 2 [ RunTime:0.000416s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2848 ORDER BY `minOrder` ASC [ RunTime:0.000447s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC74HC595ADTR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.008374s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7233 LIMIT 4 [ RunTime:0.002768s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7233 ORDER BY `minOrder` ASC [ RunTime:0.000419s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7233 ORDER BY `unit` DESC [ RunTime:0.001653s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7233 LIMIT 2 [ RunTime:0.006346s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7233 ORDER BY `minOrder` ASC [ RunTime:0.003110s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74AHCT594PW,118' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.007489s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7391 LIMIT 4 [ RunTime:0.003574s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7391 ORDER BY `minOrder` ASC [ RunTime:0.007575s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7391 ORDER BY `unit` DESC [ RunTime:0.006561s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7391 LIMIT 2 [ RunTime:0.005409s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7391 ORDER BY `minOrder` ASC [ RunTime:0.000823s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MM74HC595MTCX' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000218s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7390 LIMIT 4 [ RunTime:0.000187s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7390 ORDER BY `minOrder` ASC [ RunTime:0.000153s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7390 ORDER BY `unit` DESC [ RunTime:0.000153s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7390 LIMIT 2 [ RunTime:0.000153s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7390 ORDER BY `minOrder` ASC [ RunTime:0.005013s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74VHC595MX' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.002917s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16825 LIMIT 4 [ RunTime:0.007751s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16825 ORDER BY `minOrder` ASC [ RunTime:0.000217s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16825 ORDER BY `unit` DESC [ RunTime:0.000202s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16825 LIMIT 2 [ RunTime:0.000192s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16825 ORDER BY `minOrder` ASC [ RunTime:0.000156s ]
select * from pdf where partno='MC74HC595ADTR2G' and brandshort='ONSEMI' limit 1 [ RunTime:0.004831s ]
select foldpath,foldpath2,filename from pdf_file where id=1135691 limit 1 [ RunTime:0.001891s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC74HC595ADTR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000397s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16551 LIMIT 4 [ RunTime:0.000252s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16551 ORDER BY `minOrder` ASC [ RunTime:0.000250s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16551 ORDER BY `unit` DESC [ RunTime:0.004149s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16551 LIMIT 2 [ RunTime:0.000293s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16551 ORDER BY `minOrder` ASC [ RunTime:0.004701s ]
select * from pdf where partno='MM74HC595MTCX' and brandshort='ONSEMI' limit 1 [ RunTime:0.001852s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MM74HC595MTCX' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.004484s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15806 LIMIT 4 [ RunTime:0.000275s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15806 ORDER BY `minOrder` ASC [ RunTime:0.001966s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15806 ORDER BY `unit` DESC [ RunTime:0.000287s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15806 LIMIT 2 [ RunTime:0.000254s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15806 ORDER BY `minOrder` ASC [ RunTime:0.000256s ]
select * from pdf where partno='MC74HC595ADTR2G' and brandshort='ONSEMI' limit 1 [ RunTime:0.002754s ]
select foldpath,foldpath2,filename from pdf_file where id=1135691 limit 1 [ RunTime:0.000295s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC74HC595ADTR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000303s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15531 LIMIT 4 [ RunTime:0.002455s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15531 ORDER BY `minOrder` ASC [ RunTime:0.000844s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15531 ORDER BY `unit` DESC [ RunTime:0.000277s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15531 LIMIT 2 [ RunTime:0.000262s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15531 ORDER BY `minOrder` ASC [ RunTime:0.000274s ]
select * from pdf where partno='MM74HC595MTCX' and brandshort='ONSEMI' limit 1 [ RunTime:0.002887s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MM74HC595MTCX' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.001135s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8248 LIMIT 4 [ RunTime:0.000281s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8248 ORDER BY `minOrder` ASC [ RunTime:0.000251s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8248 ORDER BY `unit` DESC [ RunTime:0.000248s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8248 LIMIT 2 [ RunTime:0.000251s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8248 ORDER BY `minOrder` ASC [ RunTime:0.000236s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC74HC165ADR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000275s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 105 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.002045s ]