i'm a bit stuck with SQL pivot, I have a 3 column table like this:
Name  Color  Date
TOM   BLUE   10-10-2018
MAT   RED    10-10-2018
TOM   BLUE   11-11-2018
And I want an output like this:
     10-10-2018  11-11-2018
 TOM  BLUE        BLUE
 MAT  RED         
Could anyone help me please?