select (select Value from Tbl1 where DTime = cast('2008-03-01 ' || TIME_ONLY as TIMESTAMP)), (select Value from Tbl1 where DTime = cast('2008-03-02 ' || TIME_ONLY as TIMESTAMP)) ...from Tbl1group by TIME_ONLY