Foxtable(狐表)用户栏目专家坐堂 → not exists不能这样用吗


  共有1960人关注过本帖树形打印复制链接

主题:not exists不能这样用吗

帅哥哟,离线,有人找我吗?
happyft
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:八尾狐 帖子:1926 积分:17397 威望:0 精华:0 注册:2014/7/29 19:09:00
not exists不能这样用吗  发帖心情 Post By:2017/5/27 14:51:00 [显示全部帖子]

想这样插入数据总出错
insert into 表A (列1,列2,列3) vaLues(1,2,3) where not exists(se lect * from 表A where ....)

是不是not exists时只能用
insert into 表A(列1,列2,列3) se lect 1,2,3 where not exists(se lect * from 表A where ....)


 回到顶部