I have a table with the following: date, id, case, status
date id case status 1/1 1 12 Approved 1/2 1 45 Hold 1/1 2 33 App