답변 2개 / 댓글 2개
채택된 답변
+20 포인트
9년 전
select * from (
select * from fashion
union all
select * from food
union all
select * from life
union all
select * from hobby
union all
select * from tour
) A
order by A.wr_comment_count
답변에 대한 댓글 2개
9년 전
9년 전
컬럼이 동일한지 확인해보시고, 자세한건 오류메세지를 봐야 알 수 있습니다..
아래 쿼리가 되는지 확인해보시고, 필요한 필드만 wr_id 뒤에 추가해서 사용하세요
select * from(select wr_id from g5_write_fashion union all select wr_d from g5_write_food)A order by A.wr_id
아래 쿼리가 되는지 확인해보시고, 필요한 필드만 wr_id 뒤에 추가해서 사용하세요
select * from(select wr_id from g5_write_fashion union all select wr_d from g5_write_food)A order by A.wr_id
9년 전
union all 과 order by 로...
답변을 작성하려면 로그인이 필요합니다.
이런식으로 사용해봤는데 왜 안먹을까요 ㅠㅠㅠ