IS301_Phan SQL

IS301_Phan SQL

University

26 Qs

quiz-placeholder

Similar activities

Mutations Not Just for Superheroes

Mutations Not Just for Superheroes

9th Grade - University

21 Qs

Antibiotics/Antimicrobials

Antibiotics/Antimicrobials

University

22 Qs

Landscaping

Landscaping

11th Grade - University

22 Qs

Newton's Laws of Motion QUIZ

Newton's Laws of Motion QUIZ

8th Grade - University

22 Qs

Analyzing Climate Graphs

Analyzing Climate Graphs

6th Grade - University

25 Qs

AICE Command Words

AICE Command Words

9th Grade - University

24 Qs

Cardioversion

Cardioversion

University

21 Qs

IS301_Phan SQL

IS301_Phan SQL

Assessment

Quiz

Science

University

Practice Problem

Hard

Created by

Nguyen Dung

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

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

26 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh Insert into dùng để:

Thêm một dòng bảng

Thêm nhiều dòng vào bảng

Thêm một hoặc nhiều dòng vào bảng

Thêm dữ liệu vào bảng

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Nếu trong câu lệnh Delete không có mệnh đề WHERE, thì câu lệnh thực hiện xóa:

Toàn bộ bảng (cả cấu trúc và dữ liệu của bảng)

Cấu trúc của bảng

Tất cả dữ liệu có trong bảng

Tên bảng

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để xóa cột diachi có kiểu text ra khỏi bảng khachhang, ta chọn câu lệnh nào sau đây?

Alter table khachhang drop column diachi

Alter table khachhang drop column diachi text

Alter table khachhang delete column diachi

Alter table khachhang delete column diachi text

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Muốn cập nhật tăng 1 điểm cho các sinh viên trong kq(masv, mamh, diem), câu lệnh nào là đúng?

Update kq set diem=2

Update kq set diem=diem+1

Update kq set diem=diem+1 where masv="s1"

Update kq diem=diem+1

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để thêm cột phai có kiểu text vào bảng khachhang, ta chọn câu lệnh nào sau đây?

Alter table khachhang drop column phai text

Alter table khachhang change column phai text

Alter table khachhang add column phai

Alter table khachhang add column phai text

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Muốn lấy ra mahang, tenhang trong bảng Hang(mahang, tenhang, dvt, mancc). Câu lệnh nào là đúng?

Select * from hang

Select mahang, tenhang from hang order by mahang

Select top 1 mahang, tenhang from hang

Select mahang, tenhang from hang

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để sắp xếp dữ liệu tăng dần cho 1 trường dữ liệu, trong câu lệnh select ta dùng từ khóa nào?

Top 1

Distinct

Order by tencot

Sort by tencot

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?