I'm using the following SELECT to return the IDs of a table.
SELECT id, duracao_sessao FROM usuario
- For ID 1 I want the text "Object" to be displayed
- For ID 2 I want the text "Class" to be displayed
- For ID 3, I want the text "Structure" to be displayed
Is there any way to mask the return on a SELECT statement in this way?