Quantcast
Channel: ITPUB论坛-专业的IT技术社区
Viewing all articles
Browse latest Browse all 18583

有空值的时候如何关联(已解决)

$
0
0
用scott.emp,新建两个table 测试如下,部门为空, update scott.emp set deptno= where empno='7369'; 如下sql 可取到值, update scott.emp set deptno=20 where empno='7369'; 部门不为空时,刚查询的sql 就会取出多笔,其实只有一笔type='123', ...

Viewing all articles
Browse latest Browse all 18583

Trending Articles