oracle怎么把两个统计的数放一个sql里

oracle怎么把两个统计的数放一个sql里

比如select count(*) from a和select count(*) from b

哈尼露易丝
浏览 1509回答 2
2回答

慕莱坞9220042

你好:select (select count(*) counta from a),(select count(*) countb from b) from draldral为oracle内置表望采纳!

qq_危机四伏_03586429

直接用union 语句  select count * from a  union select count * from b
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Oracle