I have a table that stores an entry whenever there is a status change for an order. Statuses can be (Created, InProcess, Cancelled). I need to find the orders which were cre