SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001700s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000544s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001501s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.147' ) [ RunTime:0.000310s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001073s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000261s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 105 LIMIT 1 [ RunTime:0.000240s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 105 [ RunTime:0.000196s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 20 [ RunTime:0.000193s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001557s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 105 ) AND `u`.`lockUser` = '0' [ RunTime:0.002324s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` = 105 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000667s ]
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 = 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.002810s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002536s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7234 LIMIT 4 [ RunTime:0.001923s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003886s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7234 ORDER BY `minOrder` ASC [ RunTime:0.011727s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003123s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7234 ORDER BY `unit` DESC [ RunTime:0.001091s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003338s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7234 LIMIT 2 [ RunTime:0.005520s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7234 ORDER BY `minOrder` ASC [ RunTime:0.000348s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002088s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NPIC6C596PW-Q100,1' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.007773s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2848 LIMIT 4 [ RunTime:0.004783s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2848 ORDER BY `minOrder` ASC [ RunTime:0.007202s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2848 ORDER BY `unit` DESC [ RunTime:0.000456s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2848 LIMIT 2 [ RunTime:0.005970s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2848 ORDER BY `minOrder` ASC [ RunTime:0.007681s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC74HC595ADTR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.007498s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7233 LIMIT 4 [ RunTime:0.000309s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7233 ORDER BY `minOrder` ASC [ RunTime:0.006403s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7233 ORDER BY `unit` DESC [ RunTime:0.000424s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7233 LIMIT 2 [ RunTime:0.002301s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7233 ORDER BY `minOrder` ASC [ RunTime:0.000308s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74AHCT594PW,118' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.006172s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7391 LIMIT 4 [ RunTime:0.002437s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7391 ORDER BY `minOrder` ASC [ RunTime:0.001196s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7391 ORDER BY `unit` DESC [ RunTime:0.008019s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7391 LIMIT 2 [ RunTime:0.000420s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7391 ORDER BY `minOrder` ASC [ RunTime:0.000445s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MM74HC595MTCX' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.012667s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7390 LIMIT 4 [ RunTime:0.011207s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7390 ORDER BY `minOrder` ASC [ RunTime:0.005117s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7390 ORDER BY `unit` DESC [ RunTime:0.000725s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7390 LIMIT 2 [ RunTime:0.000620s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7390 ORDER BY `minOrder` ASC [ RunTime:0.000869s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74VHC595MX' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.022602s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16825 LIMIT 4 [ RunTime:0.001884s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16825 ORDER BY `minOrder` ASC [ RunTime:0.003638s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16825 ORDER BY `unit` DESC [ RunTime:0.003117s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16825 LIMIT 2 [ RunTime:0.000794s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16825 ORDER BY `minOrder` ASC [ RunTime:0.000290s ]
select * from pdf where partno='MC74HC595ADTR2G' and brandshort='ONSEMI' limit 1 [ RunTime:0.002310s ]
select foldpath,foldpath2,filename from pdf_file where id=1135691 limit 1 [ RunTime:0.005316s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC74HC595ADTR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000501s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16551 LIMIT 4 [ RunTime:0.000520s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16551 ORDER BY `minOrder` ASC [ RunTime:0.000739s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16551 ORDER BY `unit` DESC [ RunTime:0.000446s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16551 LIMIT 2 [ RunTime:0.002804s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16551 ORDER BY `minOrder` ASC [ RunTime:0.000322s ]
select * from pdf where partno='MM74HC595MTCX' and brandshort='ONSEMI' limit 1 [ RunTime:0.002316s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MM74HC595MTCX' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.001738s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15806 LIMIT 4 [ RunTime:0.000563s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15806 ORDER BY `minOrder` ASC [ RunTime:0.006957s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15806 ORDER BY `unit` DESC [ RunTime:0.000856s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15806 LIMIT 2 [ RunTime:0.000557s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15806 ORDER BY `minOrder` ASC [ RunTime:0.000309s ]
select * from pdf where partno='MC74HC595ADTR2G' and brandshort='ONSEMI' limit 1 [ RunTime:0.000481s ]
select foldpath,foldpath2,filename from pdf_file where id=1135691 limit 1 [ RunTime:0.000325s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC74HC595ADTR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000333s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15531 LIMIT 4 [ RunTime:0.000420s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15531 ORDER BY `minOrder` ASC [ RunTime:0.001904s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15531 ORDER BY `unit` DESC [ RunTime:0.001439s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15531 LIMIT 2 [ RunTime:0.001623s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15531 ORDER BY `minOrder` ASC [ RunTime:0.001608s ]
select * from pdf where partno='MM74HC595MTCX' and brandshort='ONSEMI' limit 1 [ RunTime:0.001836s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MM74HC595MTCX' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.001200s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8248 LIMIT 4 [ RunTime:0.000418s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8248 ORDER BY `minOrder` ASC [ RunTime:0.003422s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8248 ORDER BY `unit` DESC [ RunTime:0.007818s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8248 LIMIT 2 [ RunTime:0.005881s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8248 ORDER BY `minOrder` ASC [ RunTime:0.000836s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC74HC165ADR2G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.011072s ]
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.002408s ]