SQL Tutorial
Book
Tags
CTRL K
CROSSTAB
PostgreSQL CROSSTAB
PIVOT and UNPIVOT Operators