I have a query that will output something like this:
1 | 1 | Project A
2 | 0 | Project B
And I would like to obtain this:
1 | Yes | Project A
2 | No | Project B
So, 1 must be converted to Yes and 0 to No. How can I do that directly in the query?
SELECT
project.id,
project.status,
project.name
FROM
project