Skip to content

Instantly share code, notes, and snippets.

Created May 17, 2011 12:47
Show Gist options
  • Save anonymous/976409 to your computer and use it in GitHub Desktop.
Save anonymous/976409 to your computer and use it in GitHub Desktop.
SELECT *
FROM (`content`)
WHERE content_finish >= '2011-05-17 23:00:00' OR content_finish = ''
AND `content_parent` IN ('17', '38', '54', '10', '34', '66', '68', '67', '76', '77', '75', '79', '86', '79', '18')
AND `content_status` = 'published'
ORDER BY `content_updated` desc
LIMIT 99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment