So, in the end of my project i have a table, but i need the column's names to have a date value that i got from another little table, so i got an example ready down there:
That's the main table with my data and the columns with the "wrong" names
| Class | Today's loot | Today's EXP | Yesterday loot | Yesterday EXP | Last Friday Loot | Last Friday EXP |
| Mage | Gold | 50 | Gold | 30 | Mage | 45 |
| Rogue | Gold | 60 | Gold | 45 | Knife | 55 |
| Ranger | Item | 25 | Nothing | 0 | Bow | 75 |
And thats my other little table, with the date values i want to use
| Today | Last Friday | Yesterday |
| 21/06/2021 | 18/06/2021 | 20/06/2021 |
So, basicaly what i need is to change the first table "yesterday's loot and yesterday's EXP" for the value 20/06/2021, and that with all the other columns with their respective days.
Someone would know how to help me please? 