i would like to use a IF() Function inside a report, to translate a table made of 1 and 0 into Yes and No. I tried using aliases in the table.
Unfortunatly
Code: Select all
SELECT IF(test_data = 1, "Yes, "No") AS word FROM table_test
Code: Select all
SELECT test_data AS word FROM table_test
How could I achieve my goal?
Best regards
marcus