now there are two tables
A duration table for storing time fragments
CREATE TABLE `duration` (
`id` int(0) NOT NULL,
`start_time` datetime(0) NULL,
`end_time` datetime(0) NULL,
);
A data table for storing data, with the insertion time of the data
CREATE TABLE `data` (
`id` int(0) NOT NULL,
`record_time` datetime(0) NULL,
);
these two tables id are repeatable
now multiple pieces of data are found from the duration table, that is, multiple time fragments are obtained, and then the data between the multiple time fragments previously identified by the corresponding record_time is found in the data table.
what do you guys do with this?