Report question

Question: Best way to avoid duplicate entry into mysql database