0.4680 |
SELECT option_value
FROM wp_trfjh19zpf_options
WHERE option_name = 'litespeed.conf.object-transients'
LIMIT 1
|
0.4921 |
SELECT option_value
FROM wp_trfjh19zpf_options
WHERE option_name = 'ninja_forms_oauth_client_id'
LIMIT 1
|
0.4919 |
SELECT option_value
FROM wp_trfjh19zpf_options
WHERE option_name = 'ninja_forms_db_version'
LIMIT 1
|
0.6740 |
SELECT option_value
FROM wp_trfjh19zpf_options
WHERE option_name = 'nf_sub_expiration'
LIMIT 1
|
0.5350 |
SELECT option_value
FROM wp_trfjh19zpf_options
WHERE option_name = 'wp-optimize-revisions-retention-enabled'
LIMIT 1
|
0.4039 |
SELECT option_value
FROM wp_trfjh19zpf_options
WHERE option_name = 'wp-optimize-revisions-retention-count'
LIMIT 1
|
0.4039 |
SELECT option_value
FROM wp_trfjh19zpf_options
WHERE option_name = 'wp-optimize-logging'
LIMIT 1
|
0.4292 |
SELECT option_value
FROM wp_trfjh19zpf_options
WHERE option_name = 'wp-optimize-logging-additional'
LIMIT 1
|
0.4141 |
SELECT option_value
FROM wp_trfjh19zpf_options
WHERE option_name = 'wp-optimize-compression_server'
LIMIT 1
|
0.4401 |
SELECT option_value
FROM wp_trfjh19zpf_options
WHERE option_name = 'wp-optimize-show_smush_metabox'
LIMIT 1
|
0.4671 |
SELECT option_value
FROM wp_trfjh19zpf_options
WHERE option_name = 'wp-optimize-webp_conversion'
LIMIT 1
|
0.5090 |
SELECT option_value
FROM wp_trfjh19zpf_options
WHERE option_name = 'redux_pro_license_key'
LIMIT 1
|
0.4358 |
SELECT option_value
FROM wp_trfjh19zpf_options
WHERE option_name = 'carousel_slider_settings'
LIMIT 1
|
0.4802 |
SELECT option_value
FROM wp_trfjh19zpf_options
WHERE option_name = 'medium_crop'
LIMIT 1
|
0.4270 |
SELECT option_value
FROM wp_trfjh19zpf_options
WHERE option_name = 'medium_large_crop'
LIMIT 1
|
0.4091 |
SELECT option_value
FROM wp_trfjh19zpf_options
WHERE option_name = 'large_crop'
LIMIT 1
|
0.6011 |
SELECT option_value
FROM wp_trfjh19zpf_options
WHERE option_name = 'limit_login_hide_dashboard_widget'
LIMIT 1
|
0.4961 |
SELECT option_value
FROM wp_trfjh19zpf_options
WHERE option_name = 'limit_login_activation_timestamp'
LIMIT 1
|
0.4742 |
SELECT option_value
FROM wp_trfjh19zpf_options
WHERE option_name = 'limit_login_notice_enable_notify_timestamp'
LIMIT 1
|
1.3039 |
SELECT option_value
FROM wp_trfjh19zpf_options
WHERE option_name = 'limit_login_show_top_bar_menu_item'
LIMIT 1
|
0.4649 |
SELECT option_value
FROM wp_trfjh19zpf_options
WHERE option_name = 'limit_login_show_warning_badge'
LIMIT 1
|
0.4201 |
SELECT option_value
FROM wp_trfjh19zpf_options
WHERE option_name = 'limit_login_active_app'
LIMIT 1
|
4.0219 |
SELECT wp_trfjh19zpf_posts.*
FROM wp_trfjh19zpf_posts
WHERE 1=1
AND wp_trfjh19zpf_posts.ID = 173
AND wp_trfjh19zpf_posts.post_type = 'page'
ORDER BY wp_trfjh19zpf_posts.post_date DESC
|
6.0079 |
SELECT post_id, meta_key, meta_value
FROM wp_trfjh19zpf_postmeta
WHERE post_id IN (173)
ORDER BY meta_id ASC
|
0.7060 |
SELECT option_value
FROM wp_trfjh19zpf_options
WHERE option_name = 'litespeed.placeholder._summary'
LIMIT 1
|
0.6580 |
SELECT option_name, option_value
FROM wp_trfjh19zpf_options
WHERE option_name IN ('_site_transient_wp_theme_files_patterns-d59890635dcd572fb276898f8c470dfe','_site_transient_timeout_wp_theme_files_patterns-d59890635dcd572fb276898f8c470dfe')
|
0.5469 |
SELECT option_name, option_value
FROM wp_trfjh19zpf_options
WHERE option_name IN ('_site_transient_wp_theme_files_patterns-18f4096d37f3b291c2d5d6dae86c3fc1','_site_transient_timeout_wp_theme_files_patterns-18f4096d37f3b291c2d5d6dae86c3fc1')
|
0.7830 |
SELECT option_value
FROM wp_trfjh19zpf_options
WHERE option_name = 'can_compress_scripts'
LIMIT 1
|
0.5119 |
SELECT option_value
FROM wp_trfjh19zpf_options
WHERE option_name = 'gf_previous_db_version'
LIMIT 1
|
0.4718 |
SELECT option_value
FROM wp_trfjh19zpf_options
WHERE option_name = 'rg_form_version'
LIMIT 1
|
0.4520 |
SELECT option_value
FROM wp_trfjh19zpf_options
WHERE option_name = 'gf_db_version'
LIMIT 1
|
1.2159 |
SELECT SQL_CALC_FOUND_ROWS wp_trfjh19zpf_posts.ID
FROM wp_trfjh19zpf_posts
WHERE 1=1
AND wp_trfjh19zpf_posts.post_type = 'wpcf7_contact_form'
AND ((wp_trfjh19zpf_posts.post_status <> 'trash'
AND wp_trfjh19zpf_posts.post_status <> 'auto-draft'))
ORDER BY wp_trfjh19zpf_posts.ID ASC
LIMIT 0, 20
|
0.3901 |
SELECT FOUND_ROWS()
|
1.0889 |
SELECT wp_trfjh19zpf_posts.*
FROM wp_trfjh19zpf_posts
WHERE ID IN (5,271)
|
3.6230 |
SELECT post_id, meta_key, meta_value
FROM wp_trfjh19zpf_postmeta
WHERE post_id IN (5,271)
ORDER BY meta_id ASC
|
1.7509 |
SELECT wp_trfjh19zpf_posts.*
FROM wp_trfjh19zpf_posts
WHERE 1=1
AND wp_trfjh19zpf_posts.post_type = 'carousels'
AND ((wp_trfjh19zpf_posts.post_status = 'publish'))
ORDER BY wp_trfjh19zpf_posts.post_date DESC
|
2.8031 |
SELECT post_id, meta_key, meta_value
FROM wp_trfjh19zpf_postmeta
WHERE post_id IN (3553)
ORDER BY meta_id ASC
|
0.4890 |
SELECT option_name, option_value
FROM wp_trfjh19zpf_options
WHERE option_name IN ('_transient_imagify_activation','_transient_timeout_imagify_activation')
|
0.4630 |
SELECT option_value
FROM wp_trfjh19zpf_options
WHERE option_name = 'wpb_js_less_version'
LIMIT 1
|
0.4399 |
SELECT option_value
FROM wp_trfjh19zpf_options
WHERE option_name = 'vc_automapped_shortcodes'
LIMIT 1
|
1.9410 |
SELECT f.id, f.title, f.date_created, f.is_active, 0 as entry_count, 0 view_count
FROM wp_trfjh19zpf_gf_form f
WHERE is_trash=0
AND is_active=1
ORDER BY title ASC
|
0.6180 |
SELECT option_name, option_value
FROM wp_trfjh19zpf_options
WHERE option_name IN ('_transient_GFCache_15126df070a4d4be31d0dfa8e1c4cc29','_transient_timeout_GFCache_15126df070a4d4be31d0dfa8e1c4cc29')
|
0.4959 |
SELECT autoload
FROM wp_trfjh19zpf_options
WHERE option_name = '_transient_GFCache_15126df070a4d4be31d0dfa8e1c4cc29'
|
1.9779 |
SHOW FULL COLUMNS
FROM `wp_trfjh19zpf_options`
|
1.3521 |
DELETE
FROM `wp_trfjh19zpf_options`
WHERE `option_name` = '_transient_GFCache_15126df070a4d4be31d0dfa8e1c4cc29'
|
0.5071 |
SELECT autoload
FROM wp_trfjh19zpf_options
WHERE option_name = '_transient_timeout_GFCache_15126df070a4d4be31d0dfa8e1c4cc29'
|
1.1880 |
DELETE
FROM `wp_trfjh19zpf_options`
WHERE `option_name` = '_transient_timeout_GFCache_15126df070a4d4be31d0dfa8e1c4cc29'
|
2.7690 |
SELECT form_id, count(id) as entry_count
FROM wp_trfjh19zpf_gf_entry l
WHERE status='active'
GROUP BY form_id
|
0.5121 |
SELECT option_name, option_value
FROM wp_trfjh19zpf_options
WHERE option_name IN ('_transient_GFCache_15126df070a4d4be31d0dfa8e1c4cc29','_transient_timeout_GFCache_15126df070a4d4be31d0dfa8e1c4cc29')
|
1.0879 |
INSERT INTO `wp_trfjh19zpf_options` (`option_name`, `option_value`, `autoload`) VALUES ('_transient_timeout_GFCache_15126df070a4d4be31d0dfa8e1c4cc29', '1726571699', 'off')
ON DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`), `option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`)
|
1.0669 |
INSERT INTO `wp_trfjh19zpf_options` (`option_name`, `option_value`, `autoload`) VALUES ('_transient_GFCache_15126df070a4d4be31d0dfa8e1c4cc29', 'a:0:{}', 'off')
ON DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`), `option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`)
|
0.5419 |
SELECT option_name, option_value
FROM wp_trfjh19zpf_options
WHERE option_name IN ('_transient_GFCache_90376ec811243f83cec12e79a99ba3fd','_transient_timeout_GFCache_90376ec811243f83cec12e79a99ba3fd')
|
0.4609 |
SELECT autoload
FROM wp_trfjh19zpf_options
WHERE option_name = '_transient_GFCache_90376ec811243f83cec12e79a99ba3fd'
|
0.9730 |
DELETE
FROM `wp_trfjh19zpf_options`
WHERE `option_name` = '_transient_GFCache_90376ec811243f83cec12e79a99ba3fd'
|
0.4542 |
SELECT autoload
FROM wp_trfjh19zpf_options
WHERE option_name = '_transient_timeout_GFCache_90376ec811243f83cec12e79a99ba3fd'
|
1.0562 |
DELETE
FROM `wp_trfjh19zpf_options`
WHERE `option_name` = '_transient_timeout_GFCache_90376ec811243f83cec12e79a99ba3fd'
|
2.2161 |
SELECT form_id, sum(count) as view_count
FROM wp_trfjh19zpf_gf_form_view
GROUP BY form_id
|
0.5171 |
SELECT option_name, option_value
FROM wp_trfjh19zpf_options
WHERE option_name IN ('_transient_GFCache_90376ec811243f83cec12e79a99ba3fd','_transient_timeout_GFCache_90376ec811243f83cec12e79a99ba3fd')
|
1.1039 |
INSERT INTO `wp_trfjh19zpf_options` (`option_name`, `option_value`, `autoload`) VALUES ('_transient_timeout_GFCache_90376ec811243f83cec12e79a99ba3fd', '1726571699', 'off')
ON DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`), `option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`)
|
1.2062 |
INSERT INTO `wp_trfjh19zpf_options` (`option_name`, `option_value`, `autoload`) VALUES ('_transient_GFCache_90376ec811243f83cec12e79a99ba3fd', 'a:0:{}', 'off')
ON DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`), `option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`)
|
0.4890 |
SELECT option_name, option_value
FROM wp_trfjh19zpf_options
WHERE option_name IN ('_transient_timeout_doing_cron')
|
0.6151 |
SELECT autoload
FROM wp_trfjh19zpf_options
WHERE option_name = '_transient_doing_cron'
LIMIT 1
|
1.5831 |
UPDATE `wp_trfjh19zpf_options`
SET `option_value` = '1726571669.3683910369873046875000'
WHERE `option_name` = '_transient_doing_cron'
|
1.1468 |
SELECT wp_trfjh19zpf_posts.*
FROM wp_trfjh19zpf_posts
WHERE 1=1
AND wp_trfjh19zpf_posts.post_name = 'die-hard'
AND wp_trfjh19zpf_posts.post_type = 'portfolio'
ORDER BY wp_trfjh19zpf_posts.post_date DESC
|
5.5900 |
SELECT DISTINCT t.term_id, tr.object_id
FROM wp_trfjh19zpf_terms AS t
INNER JOIN wp_trfjh19zpf_term_taxonomy AS tt ON t.term_id = tt.term_id
INNER JOIN wp_trfjh19zpf_term_relationships AS tr ON tr.term_taxonomy_id = tt.term_taxonomy_id
WHERE tt.taxonomy IN ('project-category', 'project-attribute')
AND tr.object_id IN (3672)
ORDER BY t.name ASC
|
0.6719 |
SELECT t.*, tt.*
FROM wp_trfjh19zpf_terms AS t
INNER JOIN wp_trfjh19zpf_term_taxonomy AS tt ON t.term_id = tt.term_id
WHERE t.term_id IN (118,123)
|
2.9149 |
SELECT post_id, meta_key, meta_value
FROM wp_trfjh19zpf_postmeta
WHERE post_id IN (3672)
ORDER BY meta_id ASC
|
0.4702 |
SELECT option_value
FROM wp_trfjh19zpf_options
WHERE option_name = 'wpb_js_use_custom'
LIMIT 1
|
0.5782 |
SELECT option_value
FROM wp_trfjh19zpf_options
WHERE option_name = 'auto_update_redux_google_fonts'
LIMIT 1
|
3.0141 |
SELECT *
FROM wp_trfjh19zpf_users
WHERE ID = '11'
LIMIT 1
|
2.9881 |
SELECT user_id, meta_key, meta_value
FROM wp_trfjh19zpf_usermeta
WHERE user_id IN (11)
ORDER BY umeta_id ASC
|
4.2689 |
SELECT *
FROM `wp_trfjh19zpf_yoast_indexable`
WHERE `object_id` = '3672'
AND `object_type` = 'post'
LIMIT 1
|
0.4981 |
SELECT option_value
FROM wp_trfjh19zpf_options
WHERE option_name = 'https_migration_required'
LIMIT 1
|
0.7639 |
SELECT *
FROM wp_trfjh19zpf_posts
WHERE ID = 3678
LIMIT 1
|
0.9849 |
SELECT post_id, meta_key, meta_value
FROM wp_trfjh19zpf_postmeta
WHERE post_id IN (3678)
ORDER BY meta_id ASC
|
0.7920 |
SELECT *
FROM `wp_trfjh19zpf_yoast_indexable`
WHERE `object_type` = 'home-page'
LIMIT 1
|
0.9739 |
SELECT *
FROM `wp_trfjh19zpf_yoast_indexable`
WHERE `object_id` = '173'
AND `object_type` = 'post'
LIMIT 1
|
2.4989 |
SELECT `ancestor_id`
FROM `wp_trfjh19zpf_yoast_indexable_hierarchy`
WHERE `indexable_id` = '425'
ORDER BY `depth` DESC
|
0.5419 |
SELECT option_name, option_value
FROM wp_trfjh19zpf_options
WHERE option_name IN ('_site_transient_theme_roots','_site_transient_timeout_theme_roots')
|
0.4010 |
SELECT autoload
FROM wp_trfjh19zpf_options
WHERE option_name = '_site_transient_theme_roots'
|
1.1480 |
DELETE
FROM `wp_trfjh19zpf_options`
WHERE `option_name` = '_site_transient_theme_roots'
|
0.4349 |
SELECT autoload
FROM wp_trfjh19zpf_options
WHERE option_name = '_site_transient_timeout_theme_roots'
|
1.0049 |
DELETE
FROM `wp_trfjh19zpf_options`
WHERE `option_name` = '_site_transient_timeout_theme_roots'
|
0.5579 |
SELECT option_name, option_value
FROM wp_trfjh19zpf_options
WHERE option_name IN ('_site_transient_theme_roots','_site_transient_timeout_theme_roots')
|
1.1940 |
INSERT INTO `wp_trfjh19zpf_options` (`option_name`, `option_value`, `autoload`) VALUES ('_site_transient_timeout_theme_roots', '1726573469', 'off')
ON DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`), `option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`)
|
0.9751 |
INSERT INTO `wp_trfjh19zpf_options` (`option_name`, `option_value`, `autoload`) VALUES ('_site_transient_theme_roots', 'a:10:{s:14:\"az_alice-child\";s:7:\"/themes\";s:8:\"az_alice\";s:7:\"/themes\";s:13:\"twentyfifteen\";s:7:\"/themes\";s:14:\"twentynineteen\";s:7:\"/themes\";s:15:\"twentyseventeen\";s:7:\"/themes\";s:13:\"twentysixteen\";s:7:\"/themes\";s:12:\"twentytwenty\";s:7:\"/themes\";s:15:\"twentytwentyone\";s:7:\"/themes\";s:17:\"twentytwentythree\";s:7:\"/themes\";s:15:\"twentytwentytwo\";s:7:\"/themes\";}', 'off')
ON DUPLICATE KEY UPDATE `option_name` = VALUES(`option_name`), `option_value` = VALUES(`option_value`), `autoload` = VALUES(`autoload`)
|
0.5059 |
SELECT option_value
FROM wp_trfjh19zpf_options
WHERE option_name = 'gform_enable_toolbar_menu'
LIMIT 1
|
0.7870 |
SELECT *
FROM wp_trfjh19zpf_posts
WHERE ID = 1544
LIMIT 1
|
1.1902 |
SELECT post_id, meta_key, meta_value
FROM wp_trfjh19zpf_postmeta
WHERE post_id IN (1544)
ORDER BY meta_id ASC
|
0.5150 |
SELECT option_value
FROM wp_trfjh19zpf_options
WHERE option_name = 'site_logo'
LIMIT 1
|
0.4430 |
SELECT option_value
FROM wp_trfjh19zpf_options
WHERE option_name = 'wpb_js_not_responsive_css'
LIMIT 1
|
0.5789 |
SELECT t.*, tt.*
FROM wp_trfjh19zpf_terms AS t
INNER JOIN wp_trfjh19zpf_term_taxonomy AS tt ON t.term_id = tt.term_id
WHERE t.term_id = 3
|
1.8210 |
SELECT wp_trfjh19zpf_posts.*
FROM wp_trfjh19zpf_posts LEFT JOIN wp_trfjh19zpf_term_relationships ON (wp_trfjh19zpf_posts.ID = wp_trfjh19zpf_term_relationships.object_id)
WHERE 1=1
AND ( wp_trfjh19zpf_term_relationships.term_taxonomy_id IN (3) )
AND wp_trfjh19zpf_posts.post_type = 'nav_menu_item'
AND ((wp_trfjh19zpf_posts.post_status = 'publish'))
GROUP BY wp_trfjh19zpf_posts.ID
ORDER BY wp_trfjh19zpf_posts.menu_order ASC
|
1.8890 |
SELECT post_id, meta_key, meta_value
FROM wp_trfjh19zpf_postmeta
WHERE post_id IN (550,580,582,554)
ORDER BY meta_id ASC
|
1.4980 |
SELECT wp_trfjh19zpf_posts.*
FROM wp_trfjh19zpf_posts
WHERE ID IN (478,128,449)
|
10.3178 |
SELECT post_id, meta_key, meta_value
FROM wp_trfjh19zpf_postmeta
WHERE post_id IN (478,128,449)
ORDER BY meta_id ASC
|
0.8318 |
SELECT DISTINCT t.term_id
FROM wp_trfjh19zpf_terms AS t
INNER JOIN wp_trfjh19zpf_term_taxonomy AS tt ON t.term_id = tt.term_id
INNER JOIN wp_trfjh19zpf_term_relationships AS tr ON tr.term_taxonomy_id = tt.term_taxonomy_id
WHERE tt.taxonomy IN ('project-category')
AND tr.object_id IN (3672)
ORDER BY t.name ASC
|
0.6309 |
SELECT DISTINCT t.term_id
FROM wp_trfjh19zpf_terms AS t
INNER JOIN wp_trfjh19zpf_term_taxonomy AS tt ON t.term_id = tt.term_id
INNER JOIN wp_trfjh19zpf_term_relationships AS tr ON tr.term_taxonomy_id = tt.term_taxonomy_id
WHERE tt.taxonomy IN ('project-attribute')
AND tr.object_id IN (3672)
ORDER BY t.name ASC
|
0.6120 |
SELECT *
FROM wp_trfjh19zpf_posts
WHERE ID = 3679
LIMIT 1
|
0.8612 |
SELECT post_id, meta_key, meta_value
FROM wp_trfjh19zpf_postmeta
WHERE post_id IN (3679)
ORDER BY meta_id ASC
|
0.6468 |
SELECT *
FROM wp_trfjh19zpf_posts
WHERE ID = 3677
LIMIT 1
|
0.8979 |
SELECT post_id, meta_key, meta_value
FROM wp_trfjh19zpf_postmeta
WHERE post_id IN (3677)
ORDER BY meta_id ASC
|
0.5741 |
SELECT *
FROM wp_trfjh19zpf_posts
WHERE ID = 3676
LIMIT 1
|
0.6850 |
SELECT post_id, meta_key, meta_value
FROM wp_trfjh19zpf_postmeta
WHERE post_id IN (3676)
ORDER BY meta_id ASC
|
0.7811 |
SELECT post_status, COUNT( * ) AS num_posts
FROM wp_trfjh19zpf_posts
WHERE post_type = 'portfolio'
GROUP BY post_status
|
0.6249 |
SELECT p.ID
FROM wp_trfjh19zpf_posts AS p
WHERE p.post_date > '2018-11-10 23:59:30'
AND p.post_type = 'portfolio'
AND p.post_status = 'publish'
ORDER BY p.post_date ASC
LIMIT 1
|
0.7730 |
SELECT *
FROM wp_trfjh19zpf_posts
WHERE ID = 1839
LIMIT 1
|
0.5639 |
SELECT p.ID
FROM wp_trfjh19zpf_posts AS p
WHERE p.post_date < '2018-11-10 23:59:30'
AND p.post_type = 'portfolio'
AND p.post_status = 'publish'
ORDER BY p.post_date DESC
LIMIT 1
|
0.5388 |
SELECT *
FROM wp_trfjh19zpf_posts
WHERE ID = 4387
LIMIT 1
|
0.5429 |
SELECT p.ID
FROM wp_trfjh19zpf_posts AS p
WHERE p.post_date < '2018-11-10 23:59:30'
AND p.post_type = 'portfolio'
AND p.post_excerpt NOT like 'excludePost'
AND p.post_status = 'publish'
ORDER BY p.post_date DESC
LIMIT 1
|
0.6731 |
SELECT p.ID
FROM wp_trfjh19zpf_posts AS p
WHERE p.post_date > '2018-11-10 23:59:30'
AND p.post_type = 'portfolio'
AND p.post_excerpt NOT like 'excludePost'
AND p.post_status = 'publish'
ORDER BY p.post_date ASC
LIMIT 1
|
0.5350 |
SELECT wp_trfjh19zpf_posts.ID
FROM wp_trfjh19zpf_posts
WHERE 1=1
AND wp_trfjh19zpf_posts.post_type = 'post'
AND ((wp_trfjh19zpf_posts.post_status = 'publish'))
ORDER BY wp_trfjh19zpf_posts.post_date DESC
LIMIT 0, 5
|
2.8000 |
SELECT wp_trfjh19zpf_comments.comment_ID
FROM wp_trfjh19zpf_comments JOIN wp_trfjh19zpf_posts ON wp_trfjh19zpf_posts.ID = wp_trfjh19zpf_comments.comment_post_ID
WHERE ( comment_approved = '1' )
AND wp_trfjh19zpf_posts.post_status IN ('publish')
ORDER BY wp_trfjh19zpf_comments.comment_date_gmt DESC
LIMIT 0,5
|
0.5751 |
SELECT YEAR(post_date) AS `year`, MONTH(post_date) AS `month`, count(ID) as posts
FROM wp_trfjh19zpf_posts
WHERE post_type = 'post'
AND post_status = 'publish'
GROUP BY YEAR(post_date), MONTH(post_date)
ORDER BY post_date DESC
|