Hi, i've tried several times, but haven't succed in making this:
Classroom2
Name: | Date:
Oliver | 12-10-10
Homer | 12-10-10
Peter | 11-11-10
Classroom1
Name: | Date:
James | 20-10-10
Lars | 20-10-10
John | 11-11-10
How do i make a SQL statement that ONLY selects the lastest dates for each classroom like the example above? (the text in red is that i dont want to select)
I've tried with MAX(Column) function and Group By but none of them seems to work on my web application..