w05-SQL語言-02

w05-SQL語言-02

11th Grade

10 Qs

quiz-placeholder

Similar activities

Variables

Variables

10th - 12th Grade

10 Qs

2425 S5 ICT Lesson Quiz - DB Normalization

2425 S5 ICT Lesson Quiz - DB Normalization

11th Grade - University

15 Qs

w04-SQL語言-1

w04-SQL語言-1

11th Grade

11 Qs

1_Ch2_S1

1_Ch2_S1

11th Grade

5 Qs

2_Ch7_S1

2_Ch7_S1

11th Grade

5 Qs

2_Ch3_S1

2_Ch3_S1

11th Grade

5 Qs

3_Ch6_S1

3_Ch6_S1

11th Grade

5 Qs

113 3-2數位身分大祕寶

113 3-2數位身分大祕寶

5th Grade - University

10 Qs

w05-SQL語言-02

w05-SQL語言-02

Assessment

Quiz

Computers

11th Grade

Medium

Created by

邱建誌 邱建誌

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?