4 ms·Pivot in pure SQL, with an application to the entity-attribute-value model6 points by MarkusWinand 10y ago