
Câu hỏi trắc nghiệm về SQL
Authored by Nguyễn Bá Tuấn Anh
Information Technology (IT)
Professional Development
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu nào sau đây là cú pháp đúng của câu lệnh `WHERE` trong SQL?
SELECT * WHERE column FROM table_name;
SELECT column1, column2 FROM table_name WHERE condition;
WHERE SELECT column1 FROM table_name;
SELECT FROM table_name WHERE column1;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Toán tử nào dùng để kiểm tra giá trị có thuộc trong danh sách các giá trị cụ thể?
BETWEEN
LIKE
IN
OR
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh nào trả về các bản ghi xuất hiện ở cả hai bảng khi thực hiện JOIN?
LEFT JOIN
FULL OUTER JOIN
INNER JOIN
RIGHT JOIN
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong SQL, `NOT` dùng để làm gì?
Lấy dữ liệu trùng lặp
Lọc dữ liệu có giá trị NULL
Phủ định điều kiện
Kết hợp nhiều điều kiện
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh nào sau đây dùng để sắp xếp dữ liệu theo thứ tự giảm dần?
ORDER BY column_name ASC
ORDER BY column_name
ORDER BY column_name DESC
GROUP BY column_name
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu nào sau đây là cú pháp đúng để kết hợp 2 bảng bằng INNER JOIN?
SELECT * FROM table1 + table2
SELECT * JOIN table2 ON table1.id = table2.id
SELECT * FROM table1 INNER JOIN table2 ON table1.col = table2.col
SELECT * FROM table1 JOIN table2;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh `GROUP BY` dùng để làm gì?
Sắp xếp dữ liệu tăng dần
Lọc dữ liệu theo điều kiện
Nhóm kết quả theo giá trị cột
Kết hợp dữ liệu từ nhiều bảng
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?