i
(Loop) the Injuries
(SELECT) the players from the TEAM
[[ USE: LIST of TEAM PLAYERS ]]
(Loop) the Players
[[ BUILD: LIST OF INJURED PLAYERS ]]
- IF: Injury, remove playerid from the team list above.
Insert the injury into DB
(Afterwards)
(DB) Delete * FROM injury where all player ids