I have two tables like below. 1)
| PersonID | First_date | QTY| after_24hr | | -------- | --------------------| -- | ------------------- | |