
w05-SQL語言-02

Quiz
•
Computers
•
11th Grade
•
Medium
邱建誌 邱建誌
Used 11+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
資料表、欄位名稱可以用英文、底線、數字當名稱。下列何者是錯誤的?
Aroom
A_room
1room
room1
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
若要規定該欄位自動+1,要加上的屬性是?
unsigned
not null
auto_increment
primary key
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
在資料庫中,有關primary key,何者正確?
(A)縮寫是PK
(B)中文是「主鍵」
(C)可以多欄位複合
(D)被當pk的欄位不用加not null
ABCD
ABC
ACD
BCD
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
小明想辦理活動給台南市國小學生參加,報名資料想放資料庫,
已知有欄位姓名、生日、電話,則適合的primary key是?
考慮同姓名、雙胞胎、同生日
(姓名)
(電話)
(姓名,電話)
(姓名,生日)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
st建表指令順序,何者正確?
CREATE TABLE st( )
CREATE st( )
TABLE st( )
TABLE CREATE st( )
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
國小學生報名資料有姓名name(4中文字)、電話tel(10碼)、生日birth(西元)共3項欄位
已知pk是name+tel,則建表指令為?
CREATE TABLE st(
name char(4) not null,
tel char(10) not null,
birth char(8),
primary key(name,tel)
)
CREATE TABLE st(
name char(4) not null,
tel char(10) not null,
birth char(8),
primary key(name+tel)
)
CREATE TABLE st(
name char(12) not null,
tel char(10) not null,
birth char(8),
primary key(name,tel),
)
CREATE TABLE st(
name char(12) not null,
tel char(10) not null,
birth char(8),
primary key(name,tel)
)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
刪除資料表st的指令,何者正確?
create table st( )
drop st( )
drop table st( )
drop table st
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
資安素養3~網路行為的法律責任

Quiz
•
3rd - 12th Grade
11 questions
J277 Programming - Data Types

Quiz
•
9th - 11th Grade
10 questions
w06-SQL語言-03

Quiz
•
11th Grade
10 questions
SQL-4-select

Quiz
•
11th Grade
11 questions
資訊測驗-高年級

Quiz
•
10th - 12th Grade
10 questions
第9章.part1

Quiz
•
11th Grade
12 questions
A1資訊處理:2.2數據控制

Quiz
•
9th - 12th Grade
7 questions
SQL-5-update-delete

Quiz
•
11th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade