I have a table with about 20 columns. I want to get rows with all columns with the maximum column "version" for each identifier.
ID | Version | Other data
--------+---------+----------
1 | 1 | text1
1 | 2 | text2
1 | 3 | text3
2 | 1 | text1
3 | 1 | text1
3 | 2 | text2
I want to:
ID | Version | Other data
--------+---------+----------
1 | 3 | text3
2 | 1 | text1
3 | 2 | text2
I know how to do this in sql. I do not know how to do this on the basis of essence. Especially if I have 20 columns.
source
share