
IS301_Phan SQL
Authored by Nguyen Dung
Science
University
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
25 questions
Electromagnetic Spectrum Photon
Quiz
•
8th Grade - University
25 questions
Chemical Bonding Lesson
Quiz
•
9th Grade - University
25 questions
Biology Quarter 3 Practice
Quiz
•
9th Grade - University
25 questions
KIS Year 9(Agricultural Science)
Quiz
•
7th Grade - University
25 questions
Monohybrid and Dihybrid Crosses
Quiz
•
10th Grade - University
25 questions
Multiple Alleles Blood Type
Quiz
•
9th Grade - University
25 questions
Levels of Hierarchy
Quiz
•
7th Grade - University
25 questions
Systems, Models and Patterns
Quiz
•
6th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade