hmoner
Programmer
- Mar 3, 2005
- 7
Hi guys
I've these tables:
- PERSON (id,name,age,....)
- EXAM (id,date,note,exam_type,id_user)
One person has 0 or more exams.
I have to do this report:
name, age, date, note, exam_type
This looks easy, but I have to list for each person, his/her LAST EXAM GIVEN. I mean, only the last exam must be shown for each person, and well, if person has no exam yet... to show blank (if possible)
Any way to do this with mySQL 4.x ? ( not 5 upgrade yet )
Thanks
I've these tables:
- PERSON (id,name,age,....)
- EXAM (id,date,note,exam_type,id_user)
One person has 0 or more exams.
I have to do this report:
name, age, date, note, exam_type
This looks easy, but I have to list for each person, his/her LAST EXAM GIVEN. I mean, only the last exam must be shown for each person, and well, if person has no exam yet... to show blank (if possible)
Any way to do this with mySQL 4.x ? ( not 5 upgrade yet )
Thanks