Quantcast
Channel: All Quality Center / ALM Practitioners Forum posts
Viewing all articles
Browse latest Browse all 14708

Re: CASE

$
0
0
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

Viewing all articles
Browse latest Browse all 14708

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>