u can try this :
select distinct date_stamp,b.tag_id,a.value as "00:00",c.value as "01:00" from
( select tag_id ,value
from tagg
where start_time = '00:00'
) a,tagg b,
( select tag_id ,value
from tagg
where start_time = '01:00'
) c
where a.tag_id =...
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.