grafana/pkg/tsdb/mysql/testdata/time_series/no_rows_long.sql
Gábor Farkas 3b7ee3a56b
MySQL: snapshot tests (#84846)
mysql: add snapshot tests
2024-03-26 10:24:33 +01:00

12 lines
321 B
SQL

-- SELECT * FROM tbl WHERE false
CREATE TABLE tbl (
`time` timestamp NOT NULL,
v double precision,
c text
);
INSERT INTO tbl (`time`, v, c) VALUES
('2023-12-24 14:30:03+00:00', 10, 'a'),
('2023-12-24 14:30:03+00:00', 110, 'b'),
('2023-12-24 14:31:03+00:00', 20, 'a'),
('2023-12-24 14:31:03+00:00', 120, 'b');