SQL如何将两条查询语句查询出的结果放一起
SELECTFYLX_MC,sum(JE)asYJNJEFROMWEB_GG_CBXXGROUPBYFYLX_MC;SELECTFYLX_MC,sum(JE)asWJNJ...
SELECT FYLX_MC,sum(JE) as YJNJE FROM WEB_GG_CBXX GROUP BY FYLX_MC;SELECT FYLX_MC,sum(JE) as WJNJE FROM WEB_GG_CBXX WHERE JFZT_BM = 'jfzt02' GROUP BY FYLX_MC;这是两条语句,如图怎么连接在一起
展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询