WooCommerce - Find duplicated base currency metadata
-- Find all the order with duplicate meta data select post_id ,meta_key ,count(meta_key) as value_count from wp_postmeta where (meta_key like '%_base_currency%') group by post_id, meta_key having value_count >= 1
Comments