SQL-based Approach To Significant Interval Discovery In Time-Series Data