↧
Answer by tombom for identify multiple gaps and islands for n columns
Sample data:CREATE TABLE t (`ts` varchar(19), `EngOilP_sd` int, `CompOilLVL_sd` int);INSERT INTO t (`ts`, `EngOilP_sd`, `CompOilLVL_sd`)VALUES ('2015-06-24 20:28:07', 0, 0), ('2015-06-24 20:30:20', 1,...
View Articleidentify multiple gaps and islands for n columns
In this previous question, I asked for a way of identifying some gaps and islands. with a table t below;+---------------------+------------+---------------+| ts | EngOilP_sd | CompOilLVL_sd...
View Article