如何找出“全勤奖”职工 select a.* from 职工表 awhere not exists( select 1 from 考勤表 where 职工id=a.id and 是否迟到='是') 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select a.* from 职工表 a where not exists(select 1 from 考勤表 where 职工id=a.id and 是否迟到='是') select * from 职工表 where id not in(select distinct 职工id from 考勤表 where 是否迟到='是') 不支持 CREATE TABLE SQL 构造或语句? 求助 级联删除,,,,给个答案吧? 【临时表的疑问】:我这么做,合理么?由于数据量比较大,分析统计就比较困难……【相信大家也经常遇到类似问题】 SQL中横列转换的时候,如何有效准确的加‘’,+号? HQL查询语句。 (在线等。) 关于存库的问题????????????? 请问这个语句怎么写? 关于sql的 90分!!! 关于实例名的.急! 为什么游标不进行next操作??? 一个下订单后产生BOM表比较复杂的触发器 sqlserver 差异备份的问题 如何判断一个NVARCHAR类型的字段中包含中文
职工表 a where not exists(select 1 from 考勤表 where 职工id=a.id and 是否迟到='是')