ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

Ãö©ó¸ê®Æ²Î­p»P­pºâªºSQL«ü¥O

¤£ª¾¹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

TOP

        ÀR«ä¦Û¦b : ÁÀ¨¥¹³¤@¦·²±¶}ªºÂAªá¡A¥~ªí¬üÄR¡A¥Í©Rµu¼È¡C
ªð¦^¦Cªí ¤W¤@¥DÃD