select sum(point) from( select sum(point) as point from test1 where id='24021' union all select sum(point) as point from test2 where uid='ytn24' )as a 2개의 쿼리 결과를 sum 한다...
여러개의 쿼리를 조합해서 가공하기에 대한 요약내용입니다.
자세한 내용은 아래에 원문링크를 확인해주시기 바랍니다.
select sum(point) from( select sum(point) as point from test1 where id='24021' union all select sum(point) as point from test2 where uid='ytn24' )as a 2개의 쿼리 결과를 sum 한다...
여러개의 쿼리를 조합해서 가공하기에 대한 요약내용입니다.
자세한 내용은 아래에 원문링크를 확인해주시기 바랍니다.
원문 링크 : 여러개의 쿼리를 조합해서 가공하기