您现在的位置是:主页 > news > 国外视频设计网站/seo工资服务
国外视频设计网站/seo工资服务
admin2025/5/31 21:03:08【news】
简介国外视频设计网站,seo工资服务,绿色健康网站模板,网站设计免费模板概念 查询返回的结果就只有0或者1,1代表成立,0代表不成立 语法 where exists(查询结果); where 1 : 永远为真 案例 求出有学生在的所有班级 select * from my_class as c where exists(select stu_id from my_student as s where c.class_id s.class_id);
国外视频设计网站,seo工资服务,绿色健康网站模板,网站设计免费模板概念 查询返回的结果就只有0或者1,1代表成立,0代表不成立 语法
where exists(查询结果); where 1 : 永远为真
案例
求出有学生在的所有班级 select * from my_class as c where exists(select stu_id from my_student as s where c.class_id s.class_id);