WD interview question

Pivot table SQL queries LINQ Entity Framework