A sparse table allows a function to process more attributes than the database can support as columns; however, algorithms usually perform more efficiently if the input is a dense table.
Pivoting and Unpivoting functions convert from one to the other.