Çë½Ì...
C1 C2 C3
1 yy 1
1 yy 4
1 yy 2
2 de 3
2 de 2
2 de 1
3 s 2
3 s 4
3 s 2
4 yy 1
4 yy 2
4 yy 5
Êä³öC1,AVG(C3),C2, GROUP BY C1µÄSQL¸ÃÔõôдÄØ?
select C1,AVG(C3),C2 group by C1,C2
..ÅóÓÑÒѽâ´ð...- -
½áT~
ModBusÐÒé½éÉÜ
²»ºÃÒâ˼¸ã´íÁË£º£©
http: ......
ÓÉÓÚACCESSûÓÐÌṩÉú³ÉGUIDµÄº¯Êý£¬ÓÚÊÇÎÒ×Ô¼ºÔÚACCESSÊý¾Ý¿âÖÐ×Ô¼º½¨Á¢Ò»¸öNewIDµÄº¯ÊýÓÃÓÚÉú³ÉGUID£¬Ð´ºÃÖ®ºó½¨Á¢ÁËÒ»¸ö²éѯÓï¾äÓÃÓÚ²âÊÔ
select NewID(),* from customers
Ö´Ðкó·¢ÏÖGUIDÈ«²¿¶¼ÊÇÒ»ÑùµÄ£¬Í¬ÑùµÄÓï¾äÔÚSQLSERVERÖÐÈ´ÊÇÿһÐж¼²»Ò»ÑùµÄ£¬ÇëÎÊÈçºÎ²ÅÄÜ×öµ½Ã¿Ò»Ðж¼²»Ò»ÑùÄØ£¿
¾¡¹Ü½á¹ûÓкܶàÐУ¬µ«Êǵ ......
ÎÊÌâÈçÏÂ:
ÔÚÍøÒ³ÖÐÐÞ¸ÄÊý¾Ýºó,ACCESSÊý¾Ý¿âÖжÔÓ¦µÄÊý¾Ý±íÖÐȴûÓÐдÈëÐ޸ĺóµÄÊý¾Ý;
È»¶øÔÚÍøÒ³Öвéѯ¸ÕÐ޸ĵÄÊý¾Ý,È´¿ÉÒÔÏÔʾ³öÐ޸ĺóµÄÊý¾Ý.
¸Õ½Ó´¥µ½ASP,Çë¸÷λ´ïÈËÖ¸½Ì!
¿Ï¶¨ÊÇÊý¾Ý±í¸ã´íÀ²
²»»á°É ¼ÈȻûÓÐдÈë Ôõô¿ÉÄܲéѯ³öÀ´
¶àлÁ½Î»µÄ»Ø¸´!
ÎÒÒ²ºÜÄÉÃÆ,Êý¾Ý±íÊÇûÓдíµÄ,Ò ......
ÓÃVB³ÌÐòÖн«excelµÄÎļþ·ÅÔں͹¤³Ìͬһ¸öÎļþ¼ÐÖУ¬µ¼ÈëʱûÓдíÎ󣬵«ÔÚ±ðµÄĿ¼Ïµ¼Èë¾Í»á³öÏÖ´íÎó
Ìáʾ£º Ö÷¹Ø¼ü×ÖÖظ´£¨Õâ¸öÅжÏÎÒÔÚ³ÌÐòÖмÓÁË£¬ÔÚºÍACCESSͬһĿ¼ÏÂʱû³öÏÖ´íÎó£©
CommonDialog1.FileName = ""
'CommonDialog1.flags = vbofnfilemustexist
......
±íd_fy
×ֶΣºd_id(×Ô¶¯±àºÅ)£¬ d_je£¨»õ±ÒÐÍ£©,d_sxrq£¨ÈÕÆÚÐÍ£©
±íÊý¾ÝÈçÏ£º
d_id d_je d_sxrq
1 20 2009-5-1
2 30 2009-5-6
3 10 2009-6-5
4 15 2009-6-25
5 5 2009-8-8
6 50 2009-9-9
7 20 2010-5-1
8 40 2010-5-6
......
ÓÃAccessÊý¾Ý¿â×öµÄÍøÕ¾£¬connectionString д³É¡°Provider=Microsoft.Jet.OLEDB.4.0;Data Source=F:\\SeaHorse\\Web\AccessDB\\seaHorse.mdbPersist Security Info=True" ¾ÖÓòÍø·¢²¼Ã»ÓÐÎÊÌ⣬ÇëÎÊ·¢²¼µ½Internetʱ»á²»»áÓÐÎÊÌ⣬¸ÃÔõôд°¡£¿
¿Ï¶¨»áÓÐÎÊÌ⣬³ý·ÇÔÚ·þÎñÆ÷ÉÏÊý¾Ý¿âµÄ·¾¶Ò²ÊÇ F:\\SeaHorse\\Web\Acce ......