Skip to content

Instantly share code, notes, and snippets.

@rafaeluzzi
Created October 2, 2009 16:48
Show Gist options
  • Save rafaeluzzi/199904 to your computer and use it in GitHub Desktop.
Save rafaeluzzi/199904 to your computer and use it in GitHub Desktop.
SELECT * FROM `items` WHERE UNIX_TIMESTAMP() - 2592000 >`item_date` AND `item_status` = 'publish' AND `item_feed_id` = '12'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment