Good morning.
I\'m a newbie in the MSSQL world and I\'m trying to understand how pivot table works.
IF OBJECT_ID(N\'tempdb..#exams\') IS NOT NULL BEGIN