1. Implement a custom QSortFilterProxyModel to hide the duplicate items.

or

2. Create another QSqlTableModel and apply a SQL filter on it to select only unique items in the required column.