Question

Consider the following relational database schema, which describes the schedule of competition among National Football (soccer)...

Consider the following relational database schema, which describes the schedule of competition among National Football (soccer) Teams in the upcoming 2018 FIFA World Cup.

STADIUMS (StadiumName, City, Capacity)

MATCHES (StadiumName, Date, Time, Country-1, Country-2)

TEAMS (Country, Trainer, Continent)

PLAYERS (PlayerName, Country, NumGoals, Position)

Express the following query in SQL:

List the player names of all the Goalkeepers (Position), along with their corresponding country name and trainer/coach.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Please find the SQL query below.

QUERY:

SELECT P.PlayerName, P.Country, T.Trainer FROM PLAYERS P JOIN TEAMS T ON P.Country = T.Country WHERE P.Position = 'Goalkeeper';

Add a comment
Know the answer?
Add Answer to:
Consider the following relational database schema, which describes the schedule of competition among National Football (soccer)...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Q.1] Write SQL statements based on the tennis database schema (practice homework 5) Get all the different tow...

    Q.1] Write SQL statements based on the tennis database schema (practice homework 5) Get all the different town names from the PLAYERS table. 2. For each town, find the number of players. 3. For each team, get the team number, the number of matches that has been played 'for that team, and the total number of sets won. 4. For each team that is captained by a player resident in "Eltham", get the team number and the number of matches...

  • Q2. Based on the following requirements for a database for ABC international football League (ABC): The...

    Q2. Based on the following requirements for a database for ABC international football League (ABC): The ABC has many teams, each team has a country, a name, a captain, a coach, and a group of players, each player belongs to only one team, each player has a name, a position (such as goalie or right wing), and a skill level. a game is played between two teams (referred to as guest_team and host_team) and the game has a date (such...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT