• Hello admin n all,

    I want optimize below query

    SELECT id, post_date_gmt FROM wp_posts WHERE post_status = ‘publish’ AND post_type
    IN (‘post’, ‘page’, ‘attachment’, ‘xx’, ‘xx’, ‘xx’, ‘xx’, ‘xx’, ‘xx’, ‘xx’) ORDER BY post_date_gmt DESC LIMIT 1

    SELECT option_name, option_value FROM wp_options WHERE autoload = ‘yes’;

    Please do needful or give me solution for this

    regards,
    UD

    https://www.ads-software.com/themes/create/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘optimize below queries’ is closed to new replies.