SQL_Concept.pptVIP

  • 10
  • 0
  • 约12.19万字
  • 约 86页
  • 2016-12-02 发布于河南
  • 举报
SQL_Concept

Updating Rows with a Multiple-Column Subquery Multiple-column subqueries can be implemented in the SET clause of an UPDATE statement. Syntax Class Management Note It may be worth showing participants that the results would be the same for the example on the slide if two different subqueries were used in the SET clause as illustrated below: SQL UPDATE emp 2 SET job = (SELECT job FROM emp 3 WHERE empno = 7499), 4 deptno = (SELECT deptno FROM dept 5 WHERE dname = SALES) 6 WHERE empno = 7698; UPDATE table SET (column, column, ...) = (

文档评论(0)

1亿VIP精品文档

相关文档