Creating a table from a database (without duplicate items)

In that case you need to filter by the ID number.
You can see a similar example in this post : https://www.wix.com/code/home/forum/questions-answers/dropdown-duplicates