select count(*) as cnt from (select * from (select wr_id, wr_parent, wr_8, wr_content, wr_name, wr_datetime, 'gallery' as tbnm, '사진게시판' as tit from g4_write_gallery where wr_is_comment!='0' and wr_content!='' order by wr_datetime desc) as A UNION select * from (select wr_id, wr_parent, wr_8, wr_content, wr_name, wr_datetime, 'board' as tbnm, '자유게시판' as tit from g4_write_board where wr_is_comment!='0' and wr_content!='' order by wr_datetime desc) as B UNION select * from (select wr_id, wr_parent, wr_8, wr_content, wr_name, wr_datetime, 'story' as tbnm, '신앙체험' as tit from g4_write_story where wr_is_comment!='0' and wr_content!='' order by wr_datetime desc) as C) as D
1146 : Table 'me4orkr.g4_write_story' doesn't exist
error file : /page.php