1410월 2016 by Truds No Comments [MySQL] GROUP BY 시 MAX ROW 에 해당하는 값 가져오기 Database SELECT tt.* FROM topten tt INNER JOIN ( SELECT home, MAX(datetime) AS MaxDateTime FROM topten GROUP BY home ) groupedtt ON tt.home = groupedtt.home AND tt.datetime = groupedtt.MaxDateTime Read More