Jump to content

sql, join rows


Janthine

Recommended Posts

Hello, hope someone can help me out here

 

I have a table,

 

 

Table Scores

 

9687136430_02fc0dcf07_o.jpg

 

First I want to join the rows on ID when the score is the same, so that in the example below ID 2 has one row.

 

9687136884_363fa0cf80_o.jpg

 

But is it also possible to remove the score column and put the score in the different year-columns as below?

 

9683898003_5272668e4a_o.jpg

Thank you

Link to comment
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.