How can I check if a specific primary key (a string variable) already exists on the table and if not insert a new record otherwise just update the existing one with new values u
INSERT ... ON DUPLICATE KEY UPDATE ...