# Sat Dec  6 02:05:46 2008
# Query_time: 2  Lock_time: 0  Rows_sent: 1  Rows_examined: 374
use theclari_clarionReport;
SELECT SQL_CALC_FOUND_ROWS  wp_posts.* FROM wp_posts  WHERE 1=1  AND YEAR(post_date)='2008' AND MONTH(post_date)='8' AND DAYOFMONTH(post_date)='27' AND (post_type = 'post' AND (post_status = 'publish'))  ORDER BY post_date DESC LIMIT 0, 10

# Sat Dec  6 02:30:59 2008
# Query_time: 2  Lock_time: 0  Rows_sent: 22  Rows_examined: 374
use theclari_clarionReport;
SELECT post_title, DAYOFMONTH(post_date) as dom FROM wp_posts WHERE YEAR(post_date) = '2008' AND MONTH(post_date) = '07' AND post_date < '2008-12-06 02:30:57' AND post_type = 'post' AND post_status = 'publish'

