Hacker News new | ask | show | jobs
by matwood 2244 days ago
In your example you must also have another table, 'sample' with all the samples. So yes, you would use an exists or in subquery with the table you suggested.