
SQL-5-update-delete
Authored by 邱建誌 邱建誌
Computers
11th Grade
Used 8+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
要將資料更新,其指令為?
update 表名 set 欄位1='值1' where 條件
update 表名 by 欄位1='值1' where 條件
update 表名 set 欄位1 to '值1' where 條件
setup 表名 set 欄位1='值1' where 條件
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
資料表user有帳號欄位id,密碼欄位pd
想將帳號為kmsh的密碼更新為1234,
則指令為?
update user set pd='1234' where id='kmsh'
update pd='1234' where id='kmsh'
update user set pd=1234 where id=kmsh
update user set pd='1234' when id='kmsh'
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
資料表user有帳號欄位id、密碼pd,生日年birthy
若想將帳號id為km的密碼及生日年,
分別更新成109及112,則SQL指令為?
update user set pd='109', birthy='112' where id='km'
update user set pd='112', birthy='109' where id='km'
update user set pd=109, birthy=112 where id=km
update user set pd='109' birthy='112' where id='km'
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
若有資料表user如圖,
下完指令
update user set addr='台南'
則
台北1人
台中1人
台南2人
台北0人
台中0人
台南2人
台北0人
台中0人
台南4人
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
若已有資料表user,包含有全國2300萬人的
身份證欄位id,銀行帳號bankid,銀行餘額money
則,若要一口氣發放6000元獎金至所有人,
則指令為?
update user set money=money+6000 where all
update user set money=money+6000
update user set money=6000
update user set money+6000
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
有資料表user,
有身份證欄位id、姓名欄位name
若想刪除id為A123的人,則指令為?
delete from user where id='A123'
delete id='A123'
delete user where id='A123'
delete from user set where id='A123'
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
若有資料表user如圖,指令
delete from user where money >=500
會刪除幾個人?
1人
2人
3人
全部刪
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Excel Data Validation Quiz
Quiz
•
9th - 12th Grade
10 questions
Quiz 9 (15.09.2021)
Quiz
•
1st - 12th Grade
10 questions
Python Testing
Quiz
•
9th - 12th Grade
10 questions
Windows 10 Basics
Quiz
•
9th - 12th Grade
10 questions
ADMIN SISTEM JARINGAN - XI TKJ-GANJIL
Quiz
•
11th Grade
11 questions
مسابقة الاطار المضمن والنموذج
Quiz
•
9th - 12th Grade
10 questions
Windows 7 Installation
Quiz
•
10th - 12th Grade
11 questions
Cascading Style Sheets
Quiz
•
8th - 12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
29 questions
christmas facts
Lesson
•
5th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade
20 questions
christmas songs
Quiz
•
KG - University