The inequality that represents the ages \( a \) of players on a baseball team is:
12 < a ≤ 18
This means that the players are older than 12 years but at most 18 years old. The first part (12 < a) indicates that 12 is not included, while the second part (a ≤ 18) indicates that 18 is included.