I have a table with fields
id job_id skill_id
1 1 1
2 1 2
3 1 3
4 2 1
5 3 1
6 3 2
7 3 3
and have an array of values (skill_ids) (1,2,3)
.
What is the best way to get all job_ids having all these skill_ids ( ie I want to get 1 and 3 as my result set ).
Thanks in Advance !