(target.id = tmp.id) WHEN MATCHED and target.updated_at < tmp.updated_at THEN UPDATE SET target.name = tmp.name, target.favorites = tmp.favorites, target.updated_at = tmp.updated_at WHEN NOT MATCHED THEN INSERT ROW ;
billing at https://console.cloud.google.com/billing. DML queries are not allowed in the free tier. Set up a billing account to remove this restriction. なんと、無料枠だとDMLが記述できなかった。。