Pivot

You must execute the code again to save those values in the database.
nameSundayMondayTuesday
AlexNULLNULL1
John632
Mary647

(1 rows affected)

(1 rows affected)

(1 rows affected)

(1 rows affected)

(1 rows affected)

(1 rows affected)

(1 rows affected)

(3 rows affected)