我正在尝试查询下表:
+----+------------------+----------------+-------------+-------+
| id | describable_type | describable_id | property_id | value |
+----+------------------+----------------+-------------+-------+
| 1 | product | 1 | 6 | Red |
| 2 | product | 2 | 6 | Blue |
| 3 | product | 1 | 4 | 150 |
| 4 | product | 2 | 4 | 150 |
+----+------------------+----------------+-------------+-------+
我想要所有describable_id
property_id 6Red
和 property_id 4 的值150
。
我只是不知道如何查询这个。