w05-SQL語言-02

w05-SQL語言-02

11th Grade

10 Qs

quiz-placeholder

Similar activities

C Language Basic Quiz

C Language Basic Quiz

7th Grade - Professional Development

10 Qs

J277 - 2.2 - Understanding Data Types in Programming

J277 - 2.2 - Understanding Data Types in Programming

10th Grade - University

10 Qs

Structs em C

Structs em C

9th - 12th Grade

10 Qs

3-ตัวแปรและตัวดำเนินการทางคณิตศาสตร์

3-ตัวแปรและตัวดำเนินการทางคณิตศาสตร์

KG - 11th Grade

10 Qs

电脑 第九章 电子商务 GC 选择题(一)

电脑 第九章 电子商务 GC 选择题(一)

11th Grade

10 Qs

IT concepts and terminology set #1 (it Fundamentals)

IT concepts and terminology set #1 (it Fundamentals)

11th Grade

13 Qs

TIN11-BAI11

TIN11-BAI11

11th Grade

15 Qs

Programação Front End - Melhorando a semântica

Programação Front End - Melhorando a semântica

11th Grade

10 Qs

w05-SQL語言-02

w05-SQL語言-02

Assessment

Quiz

Computers

11th Grade

Medium

Created by

邱建誌 邱建誌

Used 11+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?