Reputation: 308
I have a query like that :
select myId, myName, myBoolean from myTable
I hope to get a BIRT table :
if myBoolen is true, print `smart` else print `sorry you're ...`
Upvotes: 0
Views: 831
Reputation: 204784
select myId,
myName,
case when myBoolean = 1
then 'smart'
else 'sorry ...'
end
from myTable
Upvotes: 1