아는 것이 좋은 것이다.

[DB] union all 테이블 합쳐서 조회 본문

DB

[DB] union all 테이블 합쳐서 조회

start0 2014. 5. 8. 18:42
select * from(
select 'board1' as board1, name, title, content from board1 
union all 
select 'board2' as board2, name, title, content from board2 
) as sumBoard
Comments