I have table1
date name item 2021-01-01 Joe 1 2021-01-01 Joe 1 2020-01-03 Ray 1 2020-01-03 Ray 2 2020-01-03 Ray 3