SQL-2

SQL-2

20 Qs

quiz-placeholder

Similar activities

P1. U3. Earth Science

P1. U3. Earth Science

University

20 Qs

Holes Ch. 44-50 Test

Holes Ch. 44-50 Test

KG - University

20 Qs

Banking - Unit Test

Banking - Unit Test

KG - University

15 Qs

ESL Money

ESL Money

KG - University

16 Qs

Week 5 + 6 of Dave Ramsey Financial Principles

Week 5 + 6 of Dave Ramsey Financial Principles

12th Grade

20 Qs

Natural Resources Test - Part 1

Natural Resources Test - Part 1

8th Grade

15 Qs

Chapter 2 Budgeting Basics

Chapter 2 Budgeting Basics

KG - University

20 Qs

Ohio Government Review

Ohio Government Review

KG - University

15 Qs

SQL-2

SQL-2

Assessment

Quiz

others

Practice Problem

Hard

Created by

Evelina Marcinkevičienė

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

What 1F says?

a single cell must not hold more than one value (atomicity)
has no partial dependency. That is, all non-key attributes are fully dependent on a primary key.
there must be a primary key for identification
each column must have only one value for each row in the table

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many types of relationships between tables has SQL?

1
2
3
4

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of relationship is schools and pupils?

one to one
one to many
many to many

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of relationship is cities and tourists?

one to one
one to many
many to many

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of relationship is cars and technicalInspection?

one to one
one to many
many to many

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

WHat type of relationship is movies and genres?

one to one
one to many
many to many

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How create table with foreign key?

CREATE TABLE persons(person_id int, name varchar(30), lastname varchar(50), card_id int, FOREIGN KEY card_id REFERENCES cards(card_id);
CREATE TABLE persons(person_id int, name varchar(30), lastname varchar(50), FOREIGN KEY (card_id) REFERENCES cards(card_id);
CREATE TABLE persons(person_id int, name varchar(30), lastname varchar(50), card_id int, FOREIGN KEY (card_id) REFERENCES cards(card_id);
CREATE TABLE persons(person_id int, name varchar(30), lastname varchar(50), card_id int FOREIGN KEY (card_id) REFERENCES cards;

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?