In my wp_posts
table in WordPress i have post_type = 'venue'
.I'am trying to fetch all venues for United States with the following query:
SELECT * FROM `wp_posts` WHERE `post_type` = 'venue' and `post_title` = 'United States'
but i got 0 matches. And it's 100% sure that i have existing venues. Any ideas ? The country United States is in other post_type called 'place'