Sensor readings, machine logs and work orders in SQL: time buckets, typo-tolerant log search, each alarm joined to its reading. Tested SQL.