| SitePoint Sponsor |




you're floundering
stop guessing and go back to post #47





The code below also causes an ERROR
Code:FROM ( SELECT m, MAX(maxDateTime) AS latest FROM ( select m1 as m, max(dateTime) as maxDateTime from journal group by m1 union select m2 as m, max(dateTime) as maxDateTime from journal group by m2 ) AS u GROUP BY m ) AS d INNER JOIN journal on journal.time=u.latest


i am sure if you look at it long enough, you will see what the problem is
go back and re-read posts #49, #50, and #51


clearly you do not understand what you are doing
i suggest you re-read the entire thread




for detailed hint, see post #43
Bookmarks