REPLACE 

(Learn how to insert or update data depending on whether data exists in the table or not.)