mysql update使用select的结果的方法
在sql server中,我们可以使用下面的update语句对表进行更新操作。 update t1 set t1.xx= (select yy from t2) ; 但是mysql不支持update set 直接使用select的结果,那么...
在sql server中,我们可以使用下面的update语句对表进行更新操作。 update t1 set t1.xx= (select yy from t2) ; 但是mysql不支持update set 直接使用select的结果,那么...
| 一 | 二 | 三 | 四 | 五 | 六 | 日 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 | 31 | ||

博悦天下