SELECT * from sc WHERE cid = '02' AND sid not in (SELECT sid from sc WHERE cid = '01')
本文来自博客园,作者:弩哥++,转载请注明原文链接:https://www.cnblogs.com/bangbangzoutianya/p/15157516.html