Assumindo
runId, sensorId
são únicos no rs
tabela, isso encontrará o runId
s que têm todos os 3 sensorId
s:SELECT runId, COUNT(c) ct
FROM rs
WHERE sensorId IN (11, 13, 15)
GROUP BY runId
HAVING ct = 3
runId, sensorId
são únicos no rs
tabela, isso encontrará o runId
s que têm todos os 3 sensorId
s:SELECT runId, COUNT(c) ct
FROM rs
WHERE sensorId IN (11, 13, 15)
GROUP BY runId
HAVING ct = 3