Re: display multiple values, but only test for one
Is this what you mean?
select a.timest, a.devloc, a.value
from tbl a
join tbl b on left(a.timest,10) = right(b.timest,10)
where left(a.timest,10) between '2018-01-01' and 2018-01-04'
and b.devloc='outside' and b.temp>80 and sensortype='temp'
Subject
Written By
Posted
Re: display multiple values, but only test for one
January 05, 2018 09:55AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.