select count(*)+1 as no from gm_contents where state = '1' and gcode = :gcode and embargo <= now() and title like :subject and (embargo > :date1 or (embargo = :date2 and gid > :gid))select gid from gm_contents where state = '1' and gcode = :gcode and embargo <= now() and title like :subject and (embargo < :date1 or (embargo = :date2 and gid < :gid)) order by embargo desc, gid desc limit 2, 1select b.* from (select gid from gm_contents where state = '1' and embargo <= NOW() and gcode in ('feature', 'mecareport') and title like :q order by embargo desc limit 32, 5) a left join gm_contents b on a.gid = b.gid [노8리뷰] 데이브 더 다이버, 니모와 도리로 만든 초밥 드세요

SNS 화제

많이 본 뉴스