SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002464s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.002122s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001517s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.165' ) [ RunTime:0.000275s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000922s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000212s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 420 LIMIT 1 [ RunTime:0.000215s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 420 [ RunTime:0.000197s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 40 [ RunTime:0.000221s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001435s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 420 ) AND `u`.`lockUser` = '0' [ RunTime:0.002538s ]
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` = 420 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001855s ]
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 ('10875','10327','5300','11590','2028','2637','5301','2636','2635','5299','2030','5539','16299','15279','9181','2029','13730','12664','12853','11958') ORDER BY FIELD(s.id, 10875,10327,5300,11590,2028,2637,5301,2636,2635,5299,2030,5539,16299,15279,9181,2029,13730,12664,12853,11958) [ RunTime:0.002602s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001841s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10875 LIMIT 4 [ RunTime:0.000454s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002995s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10875 ORDER BY `minOrder` ASC [ RunTime:0.000760s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001119s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10875 ORDER BY `unit` DESC [ RunTime:0.000509s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002048s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10875 LIMIT 2 [ RunTime:0.002825s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10875 ORDER BY `minOrder` ASC [ RunTime:0.002063s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001706s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DPS368XTSA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.007209s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10327 LIMIT 4 [ RunTime:0.000261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10327 ORDER BY `minOrder` ASC [ RunTime:0.000173s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10327 ORDER BY `unit` DESC [ RunTime:0.000170s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10327 LIMIT 2 [ RunTime:0.000162s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10327 ORDER BY `minOrder` ASC [ RunTime:0.000190s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPXM2010GST1' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000235s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5300 LIMIT 4 [ RunTime:0.000346s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5300 ORDER BY `minOrder` ASC [ RunTime:0.002887s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5300 ORDER BY `unit` DESC [ RunTime:0.000466s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5300 LIMIT 2 [ RunTime:0.000358s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5300 ORDER BY `minOrder` ASC [ RunTime:0.000162s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPXV5050DP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.002218s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11590 LIMIT 4 [ RunTime:0.000382s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11590 ORDER BY `minOrder` ASC [ RunTime:0.000538s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11590 ORDER BY `unit` DESC [ RunTime:0.000279s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11590 LIMIT 2 [ RunTime:0.000270s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11590 ORDER BY `minOrder` ASC [ RunTime:0.000188s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MS583730BA01-50' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.012030s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2028 LIMIT 4 [ RunTime:0.003433s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2028 ORDER BY `minOrder` ASC [ RunTime:0.001739s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2028 ORDER BY `unit` DESC [ RunTime:0.000703s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2028 LIMIT 2 [ RunTime:0.001268s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2028 ORDER BY `minOrder` ASC [ RunTime:0.000943s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPX2010GP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.002431s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2637 LIMIT 4 [ RunTime:0.001791s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2637 ORDER BY `minOrder` ASC [ RunTime:0.005071s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2637 ORDER BY `unit` DESC [ RunTime:0.000192s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2637 LIMIT 2 [ RunTime:0.000154s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2637 ORDER BY `minOrder` ASC [ RunTime:0.000145s ]
select * from pdf where partno='MPXM2202AS' and brandshort='NXP' limit 1 [ RunTime:0.004526s ]
select foldpath,foldpath2,filename from pdf_file where id=1673763 limit 1 [ RunTime:0.000344s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPXM2202AS' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000587s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5301 LIMIT 4 [ RunTime:0.000750s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5301 ORDER BY `minOrder` ASC [ RunTime:0.017830s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5301 ORDER BY `unit` DESC [ RunTime:0.005202s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5301 LIMIT 2 [ RunTime:0.000673s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5301 ORDER BY `minOrder` ASC [ RunTime:0.000392s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPXV7002DP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.007385s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2636 LIMIT 4 [ RunTime:0.000983s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2636 ORDER BY `minOrder` ASC [ RunTime:0.000390s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2636 ORDER BY `unit` DESC [ RunTime:0.000313s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2636 LIMIT 2 [ RunTime:0.000299s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2636 ORDER BY `minOrder` ASC [ RunTime:0.007019s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPXM2010GS' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000461s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2635 LIMIT 4 [ RunTime:0.000701s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2635 ORDER BY `minOrder` ASC [ RunTime:0.000957s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2635 ORDER BY `unit` DESC [ RunTime:0.000607s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2635 LIMIT 2 [ RunTime:0.000679s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2635 ORDER BY `minOrder` ASC [ RunTime:0.000405s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPX5010DP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.005983s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5299 LIMIT 4 [ RunTime:0.001069s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5299 ORDER BY `minOrder` ASC [ RunTime:0.000544s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5299 ORDER BY `unit` DESC [ RunTime:0.000530s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5299 LIMIT 2 [ RunTime:0.000503s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5299 ORDER BY `minOrder` ASC [ RunTime:0.000502s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPXV5010DP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.005811s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2030 LIMIT 4 [ RunTime:0.001301s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2030 ORDER BY `minOrder` ASC [ RunTime:0.000855s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2030 ORDER BY `unit` DESC [ RunTime:0.000536s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2030 LIMIT 2 [ RunTime:0.002598s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2030 ORDER BY `minOrder` ASC [ RunTime:0.000687s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPX4250AP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.011586s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5539 LIMIT 4 [ RunTime:0.004282s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5539 ORDER BY `minOrder` ASC [ RunTime:0.002749s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5539 ORDER BY `unit` DESC [ RunTime:0.005369s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5539 LIMIT 2 [ RunTime:0.007569s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5539 ORDER BY `minOrder` ASC [ RunTime:0.004818s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2SMPP-02' OR `brand` LIKE 'OMRON%' ) ) LIMIT 1 [ RunTime:0.010574s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16299 LIMIT 4 [ RunTime:0.001008s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16299 ORDER BY `minOrder` ASC [ RunTime:0.000720s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16299 ORDER BY `unit` DESC [ RunTime:0.000538s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16299 LIMIT 2 [ RunTime:0.001082s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16299 ORDER BY `minOrder` ASC [ RunTime:0.006133s ]
select * from pdf where partno='MPX4250AP' and brandshort='NXP' limit 1 [ RunTime:0.006557s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPX4250AP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.002721s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15279 LIMIT 4 [ RunTime:0.000646s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15279 ORDER BY `minOrder` ASC [ RunTime:0.003225s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15279 ORDER BY `unit` DESC [ RunTime:0.001449s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15279 LIMIT 2 [ RunTime:0.003352s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15279 ORDER BY `minOrder` ASC [ RunTime:0.000544s ]
select * from pdf where partno='MPX4250AP' and brandshort='NXP' limit 1 [ RunTime:0.000340s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPX4250AP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.000268s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9181 LIMIT 4 [ RunTime:0.000324s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9181 ORDER BY `minOrder` ASC [ RunTime:0.003416s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9181 ORDER BY `unit` DESC [ RunTime:0.002210s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9181 LIMIT 2 [ RunTime:0.000316s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9181 ORDER BY `minOrder` ASC [ RunTime:0.002106s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPX2200GP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.004212s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2029 LIMIT 4 [ RunTime:0.005082s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2029 ORDER BY `minOrder` ASC [ RunTime:0.008908s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2029 ORDER BY `unit` DESC [ RunTime:0.002282s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2029 LIMIT 2 [ RunTime:0.008415s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2029 ORDER BY `minOrder` ASC [ RunTime:0.000340s ]
select * from pdf where partno='MPX2200AP' and brandshort='NXP' limit 1 [ RunTime:0.003638s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MPX2200AP' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.004049s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13730 LIMIT 4 [ RunTime:0.001391s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13730 ORDER BY `minOrder` ASC [ RunTime:0.004543s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13730 ORDER BY `unit` DESC [ RunTime:0.004805s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13730 LIMIT 2 [ RunTime:0.000245s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13730 ORDER BY `minOrder` ASC [ RunTime:0.000542s ]
select * from pdf where partno='24PCAFA6G' and brandshort='HONEYWELL' limit 1 [ RunTime:0.002840s ]
select foldpath,foldpath2,filename from pdf_file where id=1154501 limit 1 [ RunTime:0.001721s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '24PCAFA6G' OR `brand` LIKE 'HONEYWELL%' ) ) LIMIT 1 [ RunTime:0.011841s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12664 LIMIT 4 [ RunTime:0.002332s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12664 ORDER BY `minOrder` ASC [ RunTime:0.001110s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12664 ORDER BY `unit` DESC [ RunTime:0.000642s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12664 LIMIT 2 [ RunTime:0.002083s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12664 ORDER BY `minOrder` ASC [ RunTime:0.008129s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LPS27HHTWTR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.005279s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12853 LIMIT 4 [ RunTime:0.009173s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12853 ORDER BY `minOrder` ASC [ RunTime:0.001299s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12853 ORDER BY `unit` DESC [ RunTime:0.000495s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12853 LIMIT 2 [ RunTime:0.000470s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12853 ORDER BY `minOrder` ASC [ RunTime:0.000320s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LCGD-500' OR `brand` LIKE 'OMEGA%' ) ) LIMIT 1 [ RunTime:0.000884s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11958 LIMIT 4 [ RunTime:0.001154s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11958 ORDER BY `minOrder` ASC [ RunTime:0.006238s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11958 ORDER BY `unit` DESC [ RunTime:0.002240s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11958 LIMIT 2 [ RunTime:0.000551s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11958 ORDER BY `minOrder` ASC [ RunTime:0.000327s ]
select * from pdf where partno='2513254510291' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.001338s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2513254510291' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.005974s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 420 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.007982s ]