You can do this in one query by using something like
select
sum(decode(value_field,GREATEST(LEAST(value_field,20),0),'1','0')) "0 - 20",
sum(decode(value_field,GREATEST(LEAST(value_field,40),21),'1','0')) "21 - 40"...
Yes, you need the system tablespace datafiles.
As you suggest in your message you restore ALL datafiles and enough archived redo logs but not ctrl & online redo. This is to ensure that all data is recovered to the same point (it would be no good if the system tablespace was in advance of the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.