Table and Data Definition for GROUP BY TIME and USING TIMECODE Examples
The table defined below is used in the following examples, in addition to the tables specified in Table and Data Definition for Time Series Aggregates Examples.
CREATE TABLE non_pti_tbl_seq ( timecode TIMESTAMP(6) NOT NULL, sequenceno INTEGER NOT NULL, buoyid INTEGER, salinity INTEGER, temperature INTEGER); INSERT INTO non_pti_tbl_seq SELECT TD_TIMECODE, TD_SEQNO, buoyid, salinity, temperature FROM ocean_buoys_seq;