As above image is from the report. Where I am getting the data from the data base but while taking the need to convert the Number to test VIA SQL Query
I have 3 sets of data
0 = not started
1 = InProgress
2 = Completed
How do I convert this above mentioned Number in to the text.
The way I handle this is to create a new table for status and then connect them via the ID columns. I find it easier to maintain the SQL queries long term this way. However if creating a new table is not an option, then the solution given by @Transistor is your best bet.