Ãö©ó¸ê®Æ²Îp»PpºâªºSQL«ü¥O
¡@¼ÊºÙ: ¤p»x ¡@ÀY»Î: ´¿¸g¤]¬O¤ô¹q¤u
ºÞ²zû
- ©«¤l
- 1188
- ¥DÃD
- 394
- ºëµØ
- 113
- ¿n¤À
- 1747
- ÂI¦W
- 1
- §@·~¨t²Î
- Vista
- ³nÅ骩¥»
- Office 2003
- ¾\ŪÅv
- 200
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2024-11-22
|
Ãö©ó¸ê®Æ²Îp»PpºâªºSQL«ü¥O
³Ìªñ¦³¤@ÓSQL²Õ¦X«ü¥O¤@ª½§xÂZµÛ¤p§Ì,¤U¹Ï¤¤,¤W¤è¬°û¤u½Ð°²ªí
¦~²×¤Fnµ²ºâ½Ð°²¤é¼Æ¨Ã¥X²{¬ÛÃö²Îp¸ê®Æ
¥i¯à¦³¦~¬ö¤F,¸£µ¬¥´¦ºµ²
·Q½Ð±Ð¦U¦ì,¦pnÀò±o¤W¹Ïªº¸ê®Æ²Îpµ²ªG,SQL«ü¥O¸Ó¦p¦ó²Õ¦X?
¬¡¶Ã¯1.xls (34 KB)
|
|
¤ß¦w¡A¥¦w
µoªí¥ô¦óµL·N¸qªº·PÁ©ÎÄé¤ô¤å³¹¤@«ß¬å,¬Ã±¤±b¸¹,½Ð¸Ô¾\ª©³W!!
|
|
|
|
|
¡@¼ÊºÙ: ªü¦N ¡@ÀY»Î: ¤£®¢¤U°Ý,¤£Â_¾Ç²ß,¤~·|¶i¨B
ª©¥D
- ©«¤l
- 647
- ¥DÃD
- 190
- ºëµØ
- 24
- ¿n¤À
- 1037
- ÂI¦W
- 0
- §@·~¨t²Î
- windows7
- ³nÅ骩¥»
- Office 2010 ; OOO3.0 ; Google
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¦Ë«n
- µù¥U®É¶¡
- 2010-5-2
- ³Ì«áµn¿ý
- 2022-6-24
|
¤p»x¦n
¦³§Ç¸¹¡A¤é´Á¡Aì¦]¡C¦³³o¤LÄæ¥ÎSQLµLªk¦X¨Ö»Ppºâ |
|
|
|
|
|
|
- ©«¤l
- 172
- ¥DÃD
- 39
- ºëµØ
- 20
- ¿n¤À
- 177
- ÂI¦W
- 0
- §@·~¨t²Î
- Microsoft Windows XP
- ³nÅ骩¥»
- Microsoft Office 2003
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- °ª¶¯
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2023-3-19
|
¤£ª¾¹D³o¼Ë¦æ¤£¦æ~
select max(§Ç¸¹), max(½Ð°²¤é), ©m¦W, ©Ê§O, max(¦~ÄÖ), ì¦], count(*)
from table_name
group by ©m¦W, ©Ê§O, ì¦] |
|
Y¬O§Ú¦^µª¡A¨Ï±zº¡·N¡A½Ð±zÅý§Úª¾¹D¡I
Y¬O§Úªº¦^ÂСA±z¤´¦³¨ä¥L¨£¸Ñ¡A¤]½Ð±z¤£¶Þ«ü±Ð¡I
|
|
|
|
|
- ©«¤l
- 2035
- ¥DÃD
- 24
- ºëµØ
- 0
- ¿n¤À
- 2031
- ÂI¦W
- 0
- §@·~¨t²Î
- Win7
- ³nÅ骩¥»
- Office2010
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-3-22
- ³Ì«áµn¿ý
- 2024-2-1
|
|
|
|
|
|
|
- ©«¤l
- 79
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 193
- ÂI¦W
- 0
- §@·~¨t²Î
- Winwos 7 64 bits
- ³nÅ骩¥»
- Excel 2003/2007
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- TAIPEI
- µù¥U®É¶¡
- 2010-8-25
- ³Ì«áµn¿ý
- 2019-9-20
|
¥»©«³Ì«á¥Ñ diabo ©ó 2013-1-10 10:22 ½s¿è
¦^´_ 1# ¤p»x
¤£¦Ò¼{®Ä¯àªº¸Ü¡A§Q¥Î¤l¬d¸ß¥i¥H§@¨ì....
PS
1 ±N¸ê®Æ²¾¨ì¡iDB¤u§@ªí¡j
2 §Aªº´ú¸Õ¸ê®Æ¦³ÂI°ÝÃD¡A§Ç¸¹»P½Ð°²¤éÀ³¸Ó³£n¥Ñ¤p¨ì¤j¤~¦X²z...
select tmpTable2.§Ç¸¹2,tmpTable2.½Ð°²¤é2,tmpTable2.©m¦W2, tmpTable.©Ê§O,tmpTable2.¦~ÄÖ2, tmpTable.ì¦],tmpTable2.½Ð°²¼Æ2 from ((select max(§Ç¸¹) as §Ç¸¹2, max(½Ð°²¤é) as ½Ð°²¤é2, ©m¦W as ©m¦W2, max(¦~ÄÖ) as ¦~ÄÖ2, count(*) as ½Ð°²¼Æ2 FROM [DB$A:F] GROUP BY ©m¦W) tmpTable2),((select * From [DB$A:F]) tmpTable) Where tmpTable2.§Ç¸¹2=tmpTable.§Ç¸¹ |
-
1
µû¤À¤H¼Æ
-
-
¤p»x:
À°¤F¤j¦£Åo, §ÚªºSQL¨ä¹ê§ó½ÆÂø,¦ý´N¯Ê¤F§A ...ª÷¿ú + 5
|
diabo
|
|
|
|
|
¡@¼ÊºÙ: ¤p»x ¡@ÀY»Î: ´¿¸g¤]¬O¤ô¹q¤u
ºÞ²zû
- ©«¤l
- 1188
- ¥DÃD
- 394
- ºëµØ
- 113
- ¿n¤À
- 1747
- ÂI¦W
- 1
- §@·~¨t²Î
- Vista
- ³nÅ骩¥»
- Office 2003
- ¾\ŪÅv
- 200
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2024-11-22
|
·P®¦¦U¦ìªº¨ó§U,´ú¸Õ«á¦V¦U¦ì¦^³ø,¦A¦¸·PÁÂ!!
20130111§ó·s¦^³ø
diaboªº§@ªk¦¨¥\,«D±`·P®¦!! |
|
¤ß¦w¡A¥¦w
µoªí¥ô¦óµL·N¸qªº·PÁ©ÎÄé¤ô¤å³¹¤@«ß¬å,¬Ã±¤±b¸¹,½Ð¸Ô¾\ª©³W!!
|
|
|
|
|