SELECT camera.id
FROM camera JOIN camera_features ON camera.id=camera_features.camera_id
GROUP BY camera.id
HAVING sum(camera_features.feature_id IN (1,2,3))=3
3
is het aantal kenmerken in (1,2,3)
. En uitgaande van (camera_id,feature_id)
is uniek in camera_features
.