I am writing codes in generating reports using mysql pivot query. Here\'s the code
SET @sql = NULL; SET @date = \'2020-11-30\'; SELECT GROUP_CONCAT( CONCAT( \'SUM