I have EXPERIMENTAL_RUNS (runId), each of which have any number of SENSORS (sensorId) associated with them. With that in mind, I have an RS table to join the two:
Assuming runId, sensorId are unique in the rs table, this will find the runIds that have all 3 sensorIds:
runId, sensorId
rs
runId
sensorId
SELECT runId, COUNT(c) ct FROM rs WHERE sensorId IN (11, 13, 15) GROUP BY runId HAVING ct = 3