
Câu hỏi về CSDL và SQL
Quiz
•
Mathematics
•
University
•
Practice Problem
•
Medium
Thành Đỗ Văn
Used 2+ times
FREE Resource
Enhance your content in a minute
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dùng ngôn ngữ SQL in ra danh sách SV học tại quê nhà?
Select TenSV From CAODANG,KHOA Where Diachi=DiachiSV
Select TenSV From CAODANG,KHOA Where Caodang.TenTruong= SV.TenTruong or Diachi=DiachiSV
Select TenSV From CAODANG,KHOA Where Caodang.TenTruong= SV.TenTruong AND Diachi=DiachiSV
Select TenSV From CAODANG,KHOA
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hãy chọn cụm từ phù hợp nhất Trong một lược đồ quan hệ, nếu tồn tại một thuộc tính hay một tổ hợp các thuộc tính có tính chất xác định như ... khi đó nói rằng trong lược đồ tồn tại ...
Khóa chính/ Khóa dự bị
Khóa dự bị/ Khóa chính
Siêu khóa/ Khóa dư bị
Khóa dự bị/ Siêu khóa
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dùng ngôn ngữ SQL đưa MaNV,Hoten của các nhân viên ở đơn vị DV1 và làm công tác văn thư?
Select MaNV,Hoten From NHANVIEN Where MaDV='DV1' and congviec='văn thư'
Select MaNV,Hoten From NHANVIEN Where MaDV='DV1' congviec='văn thư'
Select * From NHANVIEN Where MaDV='DV1' congviec='văn thư'
Select MaNV,Hoten From NHANVIEN Where MaDV=DV1 and congviec=văn thư
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dùng ngôn ngữ SQL cho biết tên những người sinh trong khoảng từ 1980 đến 1982?
Select Ten From NV Where namsinh [1980 and 1982 ]
Select Ten From NV Where namsinh {1980,1982}
Select Ten From NV Where namsinh [1980 ,1982 ]
Select Ten From NV Where namsinh Between 1980 and 1982
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hãy cho biết những môn học bắt buộc có số tín chỉ cao nhất?
Select TenMonHoc From MONHOC Where Max =Sotinchi
Select TenMonHoc From MONHOC Where Sotinchi=Max (Select sotinchi From MONHOC)
Select TenMonHoc From MONHOC Where Sotinchi=Max
Select TenMonHoc From MONHOC Where Sotinchi=Max (Sotinchi)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho quan hệ R, với A Є R, câu lệnh thực hiện xóa các bản ghi với ti[A] = ai là:
DELETE FROM R Where A = ai
ALTER TABLE R Drop ti where A =ai
SELECT A Delete From R Where t[A] = ai
ALTER TABLE R Delete ti where A =ai
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho quan hệ: SINHVIEN(MSSV, HoTen, NamSinh, QueQuan, HocLuc) Dùng ngôn ngữ SQL cho biết các sinh viên dưới 20 tuổi và có học lực loại khá(>=7.0)?*
Select HoTen From Sinhvien Where 2007-NamSinh<20 AND HocLuc= kha
Select HoTen From Sinhvien Where 2007-NamSinh<20 or HocLuc>=7.0
Select HoTen From Sinhvien Where 2007-NamSinh<20 OR HocLuc>=7.0
Select HoTen From Sinhvien Where 2007-NamSinh<20 AND HocLuc>=7.0
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
20 questions
Equations Pretest
Quiz
•
6th Grade - University
20 questions
Solving Polynomials FOIL
Quiz
•
10th Grade - University
20 questions
Polygons
Quiz
•
6th Grade - University
20 questions
Building Quadratic Functions to Describe Situations
Quiz
•
6th Grade - University
20 questions
Data Tables and Graphs
Quiz
•
7th Grade - University
20 questions
Solving System of Linear Inequalities
Quiz
•
9th Grade - University
20 questions
Solid of Rotation
Quiz
•
10th Grade - University
20 questions
Sampling Techniques Review
Quiz
•
12th Grade - University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Mathematics
8 questions
2 Step Word Problems
Quiz
•
KG - University
10 questions
14.2 Independent/Dependent Variables
Quiz
•
KG - University
19 questions
Similar Figures
Quiz
•
KG - University
20 questions
Nets of 3D Solids
Quiz
•
KG - University
20 questions
Special Right Triangles
Quiz
•
8th Grade - University
12 questions
Distributive Property and Combine Like Terms
Quiz
•
8th Grade - University
7 questions
Introduction to Fractions
Interactive video
•
1st Grade - University
