Hi,

Is there a way to use one query instead of two to check if a row is already in there, overwrite it (UPDATE) and if it's not there, push it in (INSERT)?

And if I need 2 queries, which is the most efficient way to know if a row already exists in the table?

Thanks,