
Bộ đề 4
Quiz
•
Computers
•
University
•
Practice Problem
•
Easy
undefined undefined
Used 3+ times
FREE Resource
Enhance your content in a minute
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Từ khóa nào trong SQL dùng để kết hợp các hàng từ hai bảng dựa trên một điều kiện liên kết?
JOIN
UNION
INTERSECT
LINK
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh SQL nào dùng để tạo một bảng mới 'customers' với các cột 'id', 'name', và 'email'?
CREATE TABLE customers (id INT, name VARCHAR(100), email VARCHAR(100));
MAKE TABLE customers (id INT, name VARCHAR(100), email VARCHAR(100));
NEW TABLE customers (id INT, name VARCHAR(100), email VARCHAR(100));
BUILD TABLE customers (id INT, name VARCHAR(100), email VARCHAR(100));
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh nào dùng để thêm một hàng mới vào bảng 'employees' với các giá trị 'John Doe', '2024-01-01', và 60000?
INSERT INTO employees (name, hire_date, salary) VALUES ('John Doe', '2024-01-01', 60000);
ADD INTO employees (name, hire_date, salary) VALUES ('John Doe', '2024-01-01', 60000);
INSERT INTO employees VALUES ('John Doe', '2024-01-01', 60000);
INSERT INTO employees (name, hire_date, salary) ADD ('John Doe', '2024-01-01', 60000);
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Từ khóa nào trong SQL dùng để loại bỏ các giá trị trùng lặp trong kết quả truy vấn?
DISTINCT
UNIQUE
DIFFERENT
EXCLUSIVE
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh SQL nào dùng để thay đổi giá trị của cột 'address' trong bảng 'customers' cho khách hàng có ID bằng 8 thành '456 Park Ave'?
UPDATE customers SET address = '456 Park Ave' WHERE id = 8;
ALTER customers SET address = '456 Park Ave' WHERE id = 8;
CHANGE customers SET address = '456 Park Ave' WHERE id = 8;
MODIFY customers SET address = '456 Park Ave' WHERE id = 8;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh SQL nào dùng để xóa tất cả các hàng từ bảng 'orders' mà không xóa cấu trúc bảng?
DELETE FROM orders;
TRUNCATE TABLE orders;
DROP TABLE orders;
REMOVE FROM orders;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Từ khóa nào trong SQL dùng để chỉ định rằng một cột không thể chứa giá trị NULL?
NOT NULL
REQUIRED
MANDATORY
NO NULL
Create a free account and access millions of resources
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
50 questions
Power BI Quiz
Quiz
•
University
48 questions
Module 10
Quiz
•
University
45 questions
AEIC 326 3 Quiz
Quiz
•
University
50 questions
Big Data Analytics Quiz
Quiz
•
University
45 questions
Final ธุรกิจดิจิทัล 1-66
Quiz
•
University
50 questions
Quiz n8n
Quiz
•
University
50 questions
TV1004 - Bab 1
Quiz
•
University
50 questions
TIN HỌC 6 - ÔN TẬP GK1 2425
Quiz
•
6th Grade - University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Holiday Trivia
Quiz
•
9th Grade - University
15 questions
Holiday Movies
Quiz
•
University
14 questions
Christmas Trivia
Quiz
•
3rd Grade - University
20 questions
Christmas Trivia
Quiz
•
University
8 questions
5th, Unit 4, Lesson 8
Lesson
•
KG - Professional Dev...
20 questions
Disney Trivia
Quiz
•
University
