When I read this post: SQL: Group by minimum value in one field while selecting distinct rows
the following solution did not make sense to me and I wonder how it can possibly work:
SELECT id, min(record_date), other_cols
FROM mytable
GROUP BY id
This does NOT work on my database, and it somehow seems illogical to me (although it does work in the SQL fiddle example). My DBMS complains that
Column must be group column: other_cols
I am using MaxDB - is this a DBMS specific issue?