(select * from g5_write_blog_01_01 as tmp1 where wr_is_comment = 0)
union all
(select * from g5_write_blog_03_01 as tmp1 where wr_is_comment = 0)
union all
(select * from g5_write_blog_04_01 as tmp1 where wr_is_comment = 0)
union all
(select * from g5_write_blog_05_01 as tmp1 where wr_is_comment = 0)
order by wr_14 desc
위 쿼리에서 테이블명을 변수에 넣을 방법이 없을까요
테이블명 가져와서 파일을 가져와야되서요 ㅎㅎ
|
답변 2개
답변을 작성하려면 로그인이 필요합니다.