My Input looks like this: 
I want to see my output like : (I am trying to do unpivot in mysql data transform in Domo)
Product Type , Date, Revenue
A , 12-31-2015, 100
B,12-31-2015, 0
I am trying to use stored procedure:
create PROCEDURE unpivot_cols()
BEGIN
SET @sql = NULL;
SELECT GROUP_CONCAT(DISTINCT
CONCAT('select `Product Type`, ' '''', COLUMN_NAME, ''' col, ', column_name, ' as value from testing_unpivot'
) separator ' union all '
) INTO @sql
FROM INFORMATION_SCHEMA.COLUMNS
where table_name = 'testing_unpivot'
and column_name <> 'Product Type';
set @sql = CONCAT(@sql);
PREPARE stmt FROM @sql;
EXECUTE stmt;
DEALLOCATE PREPARE stmt;
END
When i try to execute above procedure , Isee no output. Can you help me?