(25 points) SQL Queries Consider
the following relational schema:
- Teams (name, country, fanLevel)
- Players (name, country, teamName, salary)
- Goals (playerName, numGoals, date)
Write the following queries in SQL.
- Find all foreign players (one whose own
country differs from the country of his/her team).
- Find all players who have a salary that's at least 20% greater
than the salary of any other player playing for the same team.
- Find all players who have scored more
than 30% percent of the total number of goals scored by
all players of his team.