十五

高级查询2 exists 子查询; 1.用exists检测表是否已经创建 drop table if exists info create table info( #省略建表语句 ) 2.select 字段名 from info where exists(子查询) 子查询有返回结果:exists子查询结果为true 子查询无返回结果:exists子查询结果为false,外层查询不执行 3.exis
相关文章
相关标签/搜索