I can't be the first one with this problem:
I simply want to find the row-ids that hold the MAX-values grouped by specific column names.
Instinctively I would use:
SELECT ix, column1, MAX(column1)
FROM table
GROUP BY column2, column3
but this does not even give the same values of column1 and MAX(column1)
I also tried variations on subqueries and aliases for the table but no luck.
I simply want to find the row-ids that hold the MAX-values grouped by specific column names.
Instinctively I would use:
SELECT ix, column1, MAX(column1)
FROM table
GROUP BY column2, column3
but this does not even give the same values of column1 and MAX(column1)
I also tried variations on subqueries and aliases for the table but no luck.