I've a table we have userids of people and the langauges they can speak. just two columns, userid and language.
I want to find all those users who can speak hindi AND english AND german AND french. How should I write this query ? I cannot use Inner Join 4 times. Problem being the check for number of languages might increase, I might want to check for more languages.
userid | language
1 | english
4 | english
1 | french
1 | german
.................