Split column into 2 column oracle
It is quite simple:

select AIN,
       max(ACCEPT_TYPE) keep (dense_rank first order by date1) ACCEPT_TYPE_1,
       max(ACCEPT_TYPE) keep (dense_rank first order by date1 desc) ACCEPT_TYPE_2,
       min(DATE1) date_1, 
       max(DATE1) date_2
  from my_table
 group by AIN