SELECT * FROM Photos P WHERE P.RaceID=9864 AND P.WaterMark='87938'