多做题,通过考试没问题!

用友维护工程师

睦霖题库>软件认证工程师考试>用友维护工程师

关于两个表对应的不匹配查询的正确语句为()

  • 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、C.select ccode from[GL_accsum]a left join code bon A.[ccode]=[b].[ccode] where B.ccode is null
  • D、D.select ccode codes from[GL_accsum]a join code bon A.[ccode]=[b].[ccode] where B.ccode is null
正确答案:A
答案解析:
进入题库查看解析

微信扫一扫手机做题