It's called a "pivot". It's certainly possible in MySQL 5.7, but it might be simpler to do it in a spreadsheet.
↧
Comment by Schwern on Create a dataset based on an ID and create columns for each corresponding date
↧