题解 | REPLACE INTO 写法
将id=5以及emp_no=10001的行数据替换成id=5以及emp_no=10005
http://www.nowcoder.com/practice/2bec4d94f525458ca3d0ebf3bc8cd240
REPLACE INTO titles_test
select id, 10005 , title ,from_date ,to_date
from titles_test where id = 5
select id, 10005 , title ,from_date ,to_date
from titles_test where id = 5