add default implementation for upsertQuery

Some dialects developers might need to be reminded they need to
implement the upsertQuery.