Too many crosstab column headers <value>. (Error 3205)

You executed an SQL statement that tried to create too many columns. The specified value is the column that produced this error.

You can reduce the number of columns by adding additional conditions to the WHERE clause or, if there is no WHERE clause, add one.