
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
Jaringan Komputer / AIJ
Quiz
•
11th Grade
10 questions
Post-Test : Remote Server
Quiz
•
11th Grade
10 questions
GADV 02 - Basics
Quiz
•
9th - 12th Grade
10 questions
delet11
Quiz
•
10th - 12th Grade
10 questions
Pemrograman Android KD 3.28/4.28
Quiz
•
1st Grade - Professio...
10 questions
Computer
Quiz
•
6th - 12th Grade
10 questions
ICT - CSS - ICCS - Install Application Software
Quiz
•
9th - 12th Grade
10 questions
PERINTAH SQL 01
Quiz
•
10th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade