Quantcast
Channel: identify multiple gaps and islands for n columns - Database Administrators Stack Exchange
Browsing latest articles
Browse All 2 View Live

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 Article


identify 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

Browsing latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>