Try something like this:
SELECT case when one.total > 1 then one.total else two.total2 end
as value from (select count(*) as total from BUG) one,
(select count(*) as total2 from req) two
But I am not sure why it does not highlight the case in editor.
Thanks,
Ram
SELECT case when one.total > 1 then one.total else two.total2 end
as value from (select count(*) as total from BUG) one,
(select count(*) as total2 from req) two
But I am not sure why it does not highlight the case in editor.
Thanks,
Ram