how to avoid duplication while retrieve data from database?

Printable View