最初由 mynameistemp 发布 [B]"update b set col3 = (select col3 from a where a.col1=b.col1 and a.col2=b.col2) 我覺得上面這句是理所當然一句,為何你們想得如此复杂"是不行的,必须在后面加上where条件 [/B]
使用道具 举报
最初由 Hopewell_Go 发布 [B]ORACLE 怎么不支持如下的SQL更新语句:有些晕 update a set col1=b.col1 from table1 a inner join table2 b on a.id=b.id 但是在sql server里是支持的。。我感觉这语句好好用 [/B]
本版积分规则 发表回复 回帖后跳转到最后一页