title: How do I update if exists, insert if not (AKA "upsert" or "merge") in MySQL?
body: <p>Is there an easy way to <code>INSERT</code> a row when it does not exist, or to <code>UPDATE</code> if it exists, using one MySQL query?</p>