Hi,
To show only published, you can use additional where condition in advanced section. You should write something like:
my_published_field = '1'
For filtering duplicated names it would be the easiest way to create a view in your database with select distinct, and then display a view on your page.
Regards,
Tomaž