I am using the query below which gives me all reports and its Excel Format ID for example 1=Excel 2007, 2=XLSX, 3=CSV
SELECT Reportname AS 'ReportName', Excelformatid AS 'Excel Format' FROM reports;
Is it possible to get the actual format instead of the ID, in the output?
I went through the below link, but it tells me how I can change the output considering only a specific column value, and not all.
'IF' in 'SELECT' statement - choose output value based on column values