问题
单项选择题
关于两个表对应的不匹配查询的正确语句为()
A.SELECT[ccode]FROM[GL_accsum]where not exists(SELECT*FROM[code]group by ccode having[ccode]=[GL_accsum].[ccode])
B.SELECT[ccode]FROM[GL_accsum]v where ccode not in(SELECTccodeFROM[code] where[ccode]=[v].[ccode])
C.select A. ccode from[GL_accsum]a left join code bon A.[ccode]=[b].[ccode] where B.ccode is null
D.select A.ccode codes from[GL_accsum]a join code bon A.[ccode]=[b].[ccode] where B.ccode is null
答案
参考答案:A