Given two tables 'Draws' (id, date)
AND 'Results' (id, draw_id, number)
where each Draw has x results, how can I get the draws that have a subgroup of numbers within their results?
Draws
-----------------
Id | Date
-----------------
1 | 2015-01-20
2 | 2015-01-22
-----------------
Results
--------------------
Id | Draw | Number
--------------------
1 | 1 | 13
2 | 1 | 15
3 | 1 | 22
4 | 1 | 36
5 | 1 | 45
6 | 2 | 11
7 | 2 | 15
8 | 2 | 22
How can I get the draw that has (15,22,45)
within its results? (In the example draw #1)