如果是复杂的判断,估计单用一句SQL语句不好办。
select * from [工件] where 工件<>(select 工件 from [工件] where 完成情况='完成')
大概这样,但是非法。
2008-10-23 23:56
2008-10-24 00:07
2008-10-24 00:22