n3wb!e
06-05-06, 09:38 AM
:confused: hi everyone, i dont know how to actually state my problem, but i ll try my best. how can i query my database to select all those rows who has oracle,mysql,php and c. i have multiple rows to store user known language. i want to select only those users who know all the four languages. how shud i write the query ? i have tried
select * from user_skills where skillname IN ('oracle','mysql','php','c');
but that select all the rows with any one match. i want something like,
select * from user_skills where skillname IN('oracle' AND 'mysql' AND 'php' AND 'c');
is it possible to select only those who have knowledge on all the 4 languages ? I wud appreciate your help..thanks in advance..
select * from user_skills where skillname IN ('oracle','mysql','php','c');
but that select all the rows with any one match. i want something like,
select * from user_skills where skillname IN('oracle' AND 'mysql' AND 'php' AND 'c');
is it possible to select only those who have knowledge on all the 4 languages ? I wud appreciate your help..thanks in advance..