(아재개그) 신이 버스에서 내리면? 정보
(아재개그) 신이 버스에서 내리면?- SungDongLim 자기소개 아이디로 검색 회원게시물
- 조회 5,082
- 댓글 2
본문
정답을 말하고 혼자 웃으면 웃기지도 않지만 옆에서도 덩달아 웃습니다^^
( select a.* , ( select sum(co_count) as co_count from g4_qa_choose where mb_id=a.mb_id and bo_table = 'cm_quiz' ) as q_co_count from `g4_write_cm_quiz` a where wr_id = '8825' ) union ( select a.* , ( select sum(co_count) as co_count from g4_qa_choose where mb_id=a.mb_id and bo_table = 'cm_quiz' ) as q_co_count from `g4_write_cm_quiz` a where wr_parent = '8824' and wr_8 != '' and wr_is_comment = 1 and CONVERT(wr_7, UNSIGNED) >= 5 group by wr_content having max(wr_7) order by CONVERT(wr_7, UNSIGNED) desc limit 3 )
1055 : Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'sir.a.wr_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
error file : /15sir/bbs/board.php