
SQL.
Authored by Aklima Iskakbaeva
Specialty
University
Used 7+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
84 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The Books table has the following columns: ISBN - unique code of the book edition, title of the book, author of the book, number of pages. Which of these columns can be the Primary key?
ISBN
author
pages
title
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Select the Primary key from the following description: Groups (group_id, name, email)
name
group_id
name, group_id
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Select the Primary key from the following description: Teachers (teacher_id, lastname, email)
teacher_id
Teachers
lastname
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Select the Primary key from the following description: Schedule (schedule_id, course_id, teacher_id, group_id, time, room)
schedule_id
course_id
teacher_id
group_id
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The database has a Courses table with the following columns: course id, course name, number of credits. Select which of the following constraints can be implemented for this table?
the number of credits can be from 1 to 6
books for each course should be available in the university library
course grades must range from 0 to 100%
courses must last 3 months
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The database has a Schedule table with the following columns: schedule_id, course_id, teacher_id, group_id, time, room, day_of_week. Select which of the following constraints can be implemented for this table?
lesson time can be from 08:00 to 22:00
lessons should be interesting
students must attend all lessons
after each lesson, students must complete homework
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The database has a Schedule table with the following columns: schedule_id, course_id, teacher_id, group_id, time, room, day_of_week. Select the possible query for this table.
show group lessons by its id
show how well students understand
the lesson material
show student marks by student_id
show which course students like the most
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?