how to not allow duplicates in sql table code example
Example: how to query without duplicate rows in sql
SELECT DISTINCT col1,col2... FROM table_name where Condition;
SELECT DISTINCT col1,col2... FROM table_name where Condition;