WordPress – Query wp_postmeta table to return post_id rows with LIKE condition on one meta_value and order by another meta_value
I currently have this so I can show product results that say "Product data not found" in the meta_key "product_info" My current query is this SQL: SELECT * FROM `wp_postmeta` WHERE `meta_key` LIKE 'product_info' AND `meta_value` LIKE '%Product data not…