I want to do something like this in mysql
I have a table
id key value
001 connection_days 2
001 seniority A
002 connection_days 15
002 seniority A++
....
And I want to create a table based on this like
id connection_days seniority
001 2 A
002 15 A++
Does anyone know how to achevie this? Thanks