您的位置首页百科知识

数据库语言 not exists 是什么意思?

数据库语言 not exists 是什么意思?

的有关信息介绍如下:

数据库语言 not exists 是什么意思?

就是不在这个范围的意思select idfrom tablewhere name not exists(select 1 from table where name = 'aaa')也许你看不蚂世懂这个1的意思,不过在使枣丛用EXISTS的时候,通常都会使用1,它代表所查询出来的集合,等同于select name。整个例子的意思是:凳物樱查询name不等于aaa的所有ID。不明白再问我,谢谢!