Postgresql Find Duplicate Values From Array To Dataframe