SQL_1 Flashcards
(2 cards)
1
Q
Assuming there is a table: create table player (id int, team varchar, goals int), which query will show the total amount of goals per team?
A
✅ select team, sum(goals) from player GROUP BU team;
2
Q
What SQL statement is used to change values in the database
update
change
replace
edit
A
✅ UPDATE