Creating a table from a database (without duplicate items)

Della, thank you so much, but i dont know how to do it… sorry.
thats the problem. I dont know how. Look to my example. i just want show one time the rows that have “idnumer” value dupliate.
So,… i think i need a loop to find if the idnumer is already in the table. else, create a row with that idnumber, the city and the name.

Could you helpe me?