# Sat Jan 19 00:19:24 2008
# Query_time: 1  Lock_time: 0  Rows_sent: 1  Rows_examined: 2
use theclari_clarionReport;
SELECT   wp_posts.* FROM wp_posts  WHERE 1=1  AND YEAR(post_date)='2008' AND MONTH(post_date)='1' AND DAYOFMONTH(post_date)='14' AND post_name = 'the-week-in-review-january-14-2008-what-to-watch-for' AND (post_type = 'post')  ORDER BY post_date DESC

# Sat Jan 19 00:19:25 2008
# Query_time: 1  Lock_time: 0  Rows_sent: 5  Rows_examined: 151
SELECT SQL_CALC_FOUND_ROWS  wp_posts.* FROM wp_posts  WHERE 1=1  AND (post_type = 'post' AND (post_status = 'publish'))  ORDER BY post_date DESC LIMIT 0, 5

# Sat Jan 19 00:19:25 2008
# Query_time: 1  Lock_time: 0  Rows_sent: 5  Rows_examined: 151
SELECT SQL_CALC_FOUND_ROWS  wp_posts.* FROM wp_posts  WHERE 1=1  AND (post_type = 'post' AND (post_status = 'publish'))  ORDER BY post_date DESC LIMIT 0, 5

# Sat Jan 19 00:54:15 2008
# Query_time: 1  Lock_time: 0  Rows_sent: 13  Rows_examined: 151
use theclari_clarionReport;
SELECT post_title, DAYOFMONTH(post_date) as dom FROM wp_posts WHERE YEAR(post_date) = '2008' AND MONTH(post_date) = '01' AND post_date < '2008-01-19 00:54:14' AND post_type = 'post' AND post_status = 'publish'

