
IS301_Phan SQL

Quiz
•
Science
•
University
•
Hard
Nguyen Dung
Used 4+ times
FREE Resource
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
Similar Resources on Wayground
25 questions
Diffusion Osmosis Active Transport

Quiz
•
8th Grade - University
25 questions
Seasons and Earth's Tilt Lesson

Quiz
•
6th Grade - University
25 questions
Covalent Bonding Naming

Quiz
•
11th Grade - University
25 questions
Cell Organelles

Quiz
•
7th Grade - University
25 questions
Foot Anatomy

Quiz
•
11th Grade - University
25 questions
Earth's Features

Quiz
•
4th Grade - University
25 questions
Snacks

Quiz
•
4th Grade - University
25 questions
4.4a

Quiz
•
4th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Science
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University