This is how my database table structure looks -
ID fieldname fieldvalue
1 country USA
2 language English
3 country India
4 language Hindi
So I want to select the rows where the fieldname is say 'country' and fieldvalue is USA AND fieldname is language and fieldvalue is English.
Basically filtering by multiple values bases on key / value pairs.
I've tried using the AND keyword but its returns nothing
Any clue ?