I have this table:
group_id | invoice_amt|insert_date
---------+------------+------
23 1002 10/8/2018
23 1002 10/8/2018
23 1003 11/8/2018
21 1004 12/8/2018
When I using following query,
select distinct group_id, invoice_amt, insert_date
from table
I'm getting the last 3 rows. But I need all four rows. For that I need to update one of top rows rows by changing date. Group_id and invoice_amt should not change. How to do that.?