pl/sql deduping : I have a data structure like the following

    ID    ID2      DATE
     A     AA    2017-01-01
     A     BB    2017-01-01
     A     CC    2017-01-01
     B     DD    2018-01-01
     B     DD    2018-01-01
     C     EE    2018-02-01

I would like to dedup by ID keeping only one ID2 and one date per row. I am trying this sql command, but it doesn't dedud:

    SELECT DISTINCT A.ID, A.ID2, A.DATE  FROM TABLE A
    GROUP BY A.ID; 

Any help will be appreciated