I have two queries that I want to combine.
Is it possible to do this in one query?
Cheers
Snuv
"If it could have gone wrong earlier and it didn't, it ultimately would have been beneficial for it to have." : Murphy's Ultimate Corollary
Code:
select Count(flag) as Good
from table
where
flag = 'G'
Group by Fruit
select Count(flag) as Bad
from table
where
flag = 'B'
Group by Fruit
Is it possible to do this in one query?
Cheers
Snuv
"If it could have gone wrong earlier and it didn't, it ultimately would have been beneficial for it to have." : Murphy's Ultimate Corollary