> Oh just blame Wordpress.
I usually do. But in this case it looks as though MySQL's underwhelming query planner might be at fault.
I usually do. But in this case it looks as though MySQL's underwhelming query planner might be at fault.
Before you attack the query itself, and note that it is an example.
[1] http://dev.mysql.com/doc/refman/5.6/en/from-clause-subquery-... [2] https://kb.askmonty.org/en/subquery-optimizations-map/