A sample of a pivot table for MySQL