Ahhh, I see. You've got your database structure set up a bit weird. What you really want here is to change your court table around a bit.
TENNIS_COURT (structure)
id, unsigned int, primary key, auto_increment
court_id unsigned int
player_id unsigned int
TENNIS_COURT (data)
id, court_id, player_id
1, 1, 1
2, 1, 2
3, 2, 3
4, 2, 1
Then you use a simple left join query:
select P.PLAYER_NAME from PLAYER as P left join TENNIS_COURT as TC on P.PLAYER_ID=TC.PLAYER_ID where TC.COURT_ID='2'
This will return 2 rows, (id's 3 and 4) that would contain the names of the players on the court.