0

enter image description here

By MYSQL, Filtering Products in table where Attribute_Value = "Jane Paul" AND Attribute_Value = "Diamond Publication". This type of query should show result at Book_1 as it is only product where Attribute_Value is matching. What MYSQL Query we can use for this?

Your Common Sense
  • 156,878
  • 40
  • 214
  • 345
Varun Jain
  • 39
  • 3

1 Answers1

1

Try something like this

SELECT DISTINCT Product 
FROM yourTable 
WHERE Product IN (SELECT Product FROM yourTable WHERE Attribute_value = 'Jane Paul') 
    AND Product IN (SELECT Product FROM yourTable WHERE Attribute_value = 'Diamond Publication')