i have 3 tables
user
user_id
name_user
contacts
request_id
request_register
request_id
user_id
team_id
team
team_id
name_team
i want get list of user details who register to team with spesific id, example:
team with id 1
id_user | name_user | contacts | team_id | name_team |
---|---|---|---|---|
1 | michael | 1234 | 1 | phoenix |
2 | john | 1232 | 1 | phoenix |
3 | cindy | 1222 | 1 | phoenix |