simple upsert in SQL engine
add sample for test