I would like some help in turning this table with different uuids for same emails and get only the row with min(timestamp), eliminating the other ones
Sample data:
UUID email created_timestamp
1 a@g.com 2017-05-01
2 a@g.com 2018-05-01
3 a@g.com 2018-05-20
4 b@g.com 2017-04-01
5 b@g.com 2017-06-01
Expected output:
UUID email created_timestamp
1 a@g.com 2017-05-01
4 b@g.com 2017-04-01
I have tried to use group by, but it makes me group by UUID, what does not make sense in this case