title: How to compare int list to SQL subquery
body: <p>Is there a way to compare a list of numbers to a SQL subquery</p>
  
  <p>something like WHERE 9,10,11 = (SELECT tableID FROM ....)</p>
  
  <p>EDIT:</p>
  
  <p>I guess my question isn't clear but I'm sorry, I really don't know how else to say this. I'm expecting a list of IDS back from the subquery like 1,2,3 or at least that's what I'd like the result to look like and then I want to compare the result to another list of numbers like 9,10,11 and see if they match.</p>