By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
12 rows affected
| Date | Day | dt | Enquiry | App_Rec | App_Passed | Sale_Completed |
|---|---|---|---|---|---|---|
| 2020-01-01 | Wedn | 2020-01-01 | 1 | 0 | 0 | 0 |
| 2020-01-02 | Thur | 2020-01-02 | 1 | 1 | 0 | 0 |
| 2020-01-03 | Frid | 2020-01-03 | 0 | 1 | 2 | 0 |
| 2020-01-04 | Satu | null | null | null | null | null |
| 2020-01-05 | Sund | 2020-01-05 | 0 | 0 | 0 | 2 |
| date | Total Enquiries | Apps Received | Apps Passed | Completed Sales |
|---|---|---|---|---|
| 2020-01-01 | 1 | 1 | 1 | 1 |
| 2020-01-02 | 2 | 2 | 2 | 2 |
| 2020-01-03 | 1 | 1 | 1 | 1 |
| 2020-01-04 | 0 | 0 | 0 | 0 |
| 2020-01-05 | 0 | 0 | 0 | 0 |
Warning: Null value is eliminated by an aggregate or other SET operation.