CREATE TABLE entries (
id serial NOT NULL,
title character varying,
load_sequence integer
);
和數據 INSERT INTO entries(title, load_sequence) VALUES ('A', 1);
INSERT INTO entries(title,
我在SQL一組數據,看起來像如下: ╔═══════════╦═══════╗
║ TimeStamp ║ State ║
╠═══════════╬═══════╣
║ 7:10 AM ║ A ║
║ 7:11 AM ║ A ║
║ 7:12 AM ║ A ║
║ 7:13 AM ║ B ║
║ 7:14 AM ║ B ║
║ 7:15 AM ║ A ║
║ 7:16 AM ║