討論串[SQL ] 如何下此update指令
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓1(1推 0噓 0→)留言1則,0人參與, 最新作者koehie (開喜烏龍茶)時間14年前 (2011/10/22 00:38), 編輯資訊
0
0
0
內容預覽:
試試看!!. update a. set a.no = (select b.no from b where a.id = b.id). where exists (select b.no from b where a.id = b.id). --. 發信站: 批踢踢實業坊(ptt.cc). ◆

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者mitsui0309 (君だけを見ていた)時間14年前 (2011/10/21 14:48), 編輯資訊
0
0
0
內容預覽:
請問諸位前輩. 假如有兩個table如下. table A (錯誤). ---------------. ID NO. 1 10. 2 20. 3 30. 4 40. ----以上資料錯誤----. 5 100. 6 100. 7 100. table B ;原備份的資料(正確). --------
(還有64個字)
首頁
上一頁
1
下一頁
尾頁