select something, if it returns only 1 row then update a field on that row, if it returns more than one row then insert these rows into another table, including the first one Now the thing is, what's ...