asked 114k views
3 votes
The first example shows the goal scored by a player with the last name 'Bender'. The * says to list all the columns in the table - a shorter way of saying matchid, teamid, player, gtime

Modify it to show the matchid and player name for all goals scored by Germany. To identify German players, check for: teamid = 'GER'

asked
User Mirrana
by
8.2k points

1 Answer

1 vote

Final answer:

To show the matchid and player name for all goals scored by Germany, modify the table to include only goals scored by Germany and add the condition WHERE teamid = 'GER'.

Step-by-step explanation:

matchidplayer1Player12Player23Player3

To show the matchid and player name for all goals scored by Germany, you need to modify the table to only include goals scored by Germany. You would add a condition to the query: WHERE teamid = 'GER'. The resulting table would list the matchid and player name for each goal scored by a German player.

Example:
matchidplayer1Player12Player23Player3

answered
User Cyril Horad
by
8.1k points
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.