Thông tin

Tác giả Quentin Cappart
Hạn chót Không có hạn chót
Giới hạn nộp bài Không có giới hạn

Đăng nhập

Lecture de requêtes SQL (une seule relation)

Traduisez le plus précisément possible les requêtes SQL suivantes. N'hésitez pas à exécuter ces requêtes dans SQLite pour vérifier votre compréhension.


Câu hỏi 1:
select name
from instructor;
Câu hỏi 2:
select distinct building
from department;
Câu hỏi 3:
select all title
from course;
Câu hỏi 4:
select *
from student;
Câu hỏi 5:
select tot_cred
from student
Câu hỏi 6:
select *
from student
where tot_cred > 6;
Câu hỏi 7:
select course_id
from course
where dept_name = "Biology" and credits < 3;
Câu hỏi 8:
select 0
from department;
Câu hỏi 9:
select time_slot_id
from time_slot
where day = 'M' and start_hr between 8 and 12;
Câu hỏi 10:
select name
from instructor
where salary = null;