I have a python script that looks for elements of one database and saves it in another, so when I run the script it is duplicating the data.
sql = "INSERT INTO 'alarm' ('data', 'seconds', 'culprit', 'status') VALUES (%s, %s, %s, %s)
Is there anyway I can change this INSERT to insert only what is not contained.