175 名前:NAME IS NULL mailto:sage [2010/01/15(金) 07:45:37 ID:???]
他のテーブルのデータで更新したいのですが update a set item1=(select b.item1 from b where a.key=b.key), item2=(select b.item2 from b where a.key=b.key) これをもっとスマートにできないでしょうか?
oracleだと update a set (item1, item2)=(select b.item1,b.item2 from b where a.key=b.key) こんな感じになると思うんですけど