
DATABASE TEST
Authored by Thuan Tran
Specialty
University
Used 15+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
60 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Cú pháp nào sau đây dùng để xoá 1 dòng ra khỏi bảng đã cho?
DELETE [tên bảng] WHERE [điều kiện];
DELETE FROM [tên bảng] WHERE [điều kiện];
DROP FROM [tên bảng] WHERE [điều kiện];
DROP [tên bảng] WHERE [điều kiện];
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Đặc điểm của khoá chính là :
Định danh cho duy nhất cho bảng
Định danh duy nhất cho bản ghi
Thuộc tính duy nhất cho bảng
Thuộc tính duy nhất cho bản ghi
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Mỗi bảng trong cơ sở dữ liệu phải có:
Một trường ID.
Ít nhất một bản ghi.
Một cái tên duy nhất.
Ít nhất năm trường thuộc tính.
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Mỗi KH có thể có nhiều số điện thoại. Số điện thoại là dạng thuộc tính gì của thực thể KH
Đơn trị
Đa trị
Phức hợp
Suy diễn
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Câu lệnh "CREATE DATABASE <Tên database>" có chức năng gì?
Tạo mới cơ sở dữ liệu
Tạo mới bảng
Tạo thuộc tính của bảng
Tạo khóa chính
6.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Câu lệnh nào sau đây là đúng khi tạo ràng buộc NgSinh phải nhỏ hơn ngày hiện tại
NGSDATETIME CHECK (NGSINH>CURDATE())
NGSINH DATETIME CHECK (NGSINH<NOWDATE())
NGSINH DATETIME CHECK (NGSINH<CURDATE())
NGSINH DATETIME CHECK (NGSINH<TODAYDATE())
7.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Để tạo khóa chính cho MaNV có thể dùng câu lệnh nào sau đây?
MANV char(4) PRIMARY KEY
CONSTRAINT PK_NV PRIMARY KEY (MaNV)
ALTER TABLE Nhanvien
ADD CONSTRAINT pk_MaNV PRIMARY KEY (MaNV)
Tất cả đều đú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?
Similar Resources on Wayground
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
Discover more resources for Specialty
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University