table1 table2
ID NAME ID NAME WORK
1 a 1 teacher
2 b 2 student
3 c 3 student
4 d 4 teacher
...
其中ID唯一如何UPDATE使table2为
ID NAME WORK
1 a teacher
2 b student
3 c student
4 d teacher
...
...全文
3110打赏收藏
数据库简单的问题。
table1 table2 ID NAME ID NAME WORK 1 a 1 teacher 2 b 2 student 3 c 3 student 4 d 4 teacher ... 其中ID唯一如何UPDATE使table2为 ID NAME WORK 1 a teacher 2 b student 3 c student 4 d teacher ...