để lấy tất cả những gì có meta_name price và propertyvalue và meta_value 1000 và 10000 tương ứng, bạn cần phải làm điều này.
SELECT * FROM `table` WHERE (meta_name = 'price' and meta_value = '1000') OR (meta_name = 'propertyvalue' and meta_value = '10000')
điều này sẽ chọn cả hai từ table trong đó meta_name = 'price' and meta_value = '1000' và meta_name = 'propertyvalue' and meta_value = '10000'