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 3, 5) a left join gm_contents b on a.gid = b.gid [야!겜영상] 만년 2등 홍진호의 '우승' 영상 화제

SNS 화제

많이 본 뉴스