SELECT DATEDIFF(second, '1970-01-01', InsertDate) AS time, (CAST(IsSent AS INT)) as value, Recipient as metric FROM Notification WHERE InsertDate >= DATEADD(s, 1532095266, '1970-01-01') AND InsertDate <= DATEADD(s, 1532116866, '1970-01-01') and IsSent = '0' ORDER BY InsertDate ASC