
SQL-4-select
Quiz
•
Computers
•
11th Grade
•
Practice Problem
•
Hard
邱建誌 邱建誌
Used 8+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
插入資料指令insert,
其格式為
insert into 表名
( ) values ( )
insert into 表名
( ) value ( )
insert 表名 into
( ) values ( )
add into 表名
( ) values ( )
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
若有資料表user,有2欄位 name跟 password
要放入值 「蔡依林」 跟 「1234」
則指令為?
insert into name='蔡依林', password='1234'
insert into user
name='蔡依林', password='1234'
insert into user (name,password) values ('蔡依林','1234')
insert into user (name,password) values (蔡依林,1234)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
若圖,name無法儲存中文。
則何者錯誤?
這是編碼問題
可以在建表時最後面加上charset=utf8mb4
建表指令為
create table book(
isbn varchar(13) not null,
name varchar(100),
primary key(isbn)
) charset=utf8mb4
那是資料錯誤,
不用處理
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
如上表,isbn是主鍵(有黃色key符號)
如下表,已有2筆資料,
則下列何者錯誤?
還可以新增一筆資料
isbn=123,
name=哈利
還可新增一資料
isbn=125
name的編碼是
utf8mb4_general_ci
空值(Null)若為是,
表示可為空值,
也就是不放資料
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
擷取select指令的格式為?
select * from 表名 where 條件
select 表名 where 條件
select * from 條件
select * from 表名 for 條件
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
有使用者的資料表user,生日欄位分成
birthy,表示西元年。birthm表示月,birthd表示日
若想找出所有出生年是2005年的人,則指令為?
select * from user where birthy='2005'
select * from user find birthy='2005'
select * user where birthy='2005'
select * from user where birthy=2005
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
若有資料表book,有書名欄位name,
想從欄位name中找出所有「哈」字開頭的書,
則指令為?
select * from book where name = '哈%'
select * from book where name like '哈%'
select * from book where name = 哈%
select book where name = '哈%'
Create a free account and access millions of resources
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
15 questions
ELE A 數據庫 CH01
Quiz
•
10th - 12th Grade
15 questions
資科九上-認知
Quiz
•
9th - 12th Grade
12 questions
A1資訊處理:2.2數據控制
Quiz
•
9th - 12th Grade
14 questions
C1互聯網及其應用(1):互聯網協定(2)
Quiz
•
9th - 12th Grade
12 questions
算法設計 - 數據類型/布爾算式/偽代碼/流程圖
Quiz
•
9th - 12th Grade
11 questions
5_性能評価(2学期実テ)
Quiz
•
9th - 12th Grade
13 questions
Software Engineering
Quiz
•
KG - Professional Dev...
10 questions
广告基础知识 第一章
Quiz
•
11th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd 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
