I am using Mysql database, Below is one of my table,

I want get Route id from above table based on the busstop id. For example i will pass the bus top id as 9 and 11. So i have to get route id which falls under these two bus stops. same time i shouldn't get route id if any one location is not exists. As in above table i shouldn't get 3 because 11 is not exists in that route 3. output as below
Any suggestions are welcome.
Regards
Sangeetha