QN=17 (6831) What is a primary key?

DBI202_PART2

Quiz
•
Other
•
University
•
Easy
Phạm Ngân
Used 1+ times
FREE Resource
120 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a. A primary key is the field(s) in a table that uniquely defines that table in a database
b. A primary key is the field(s) in a table that is used to establishes a relationship between two tables
c. A primary key is the field(s) in a table that uniquely defines the row in the table
d. A primary key is the field(s) in a table that is used to establishes a relationship between two databases
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
QN=19 (6822) Which statement is used to add a column named D into the relation R?
a. ALTER TABLE R ADD D [DataType];
b. ALTER TABLE R ADD ATTRIBUTE D [DataType];
c. ALTER TABLE R ADD PROPERTY D [DataType];
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
QN=20 (6821) Which one of the following is NOT a DML command?
a. DELETE
b. GRANT
c. INSERT
d. UPDATE
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
QN=22 (6811) The relational operator that adds all possible pairs of rows from two tables is known as the .... operator.
a. union
b. product
c. join
d. selection
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
QN=23 (7956) Let R(ABCDEFGH) satisfies the following functional dependencies:
A -> B,
CH -> A,
B -> E,
BD -> C,
EG -> H,
DE -> F.
Which of the following FDs is also guaranteed to be satisfied by R?
a. CGH -> BF
b. ACG -> DH
c. ADG -> CH
d. BCD -> FH
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
QN=25 (7969) Consider a relation with schema R(A, B, C, D) and FD's BC -> D, D -> A, A -> B. Which of the following is the key of R?
a. BD
b. BC
c. D
d. AB
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
QN=26 (7963) Given the relation schema R(A,B,C) and functional dependencies
F = {AB-> C, B->A, C->B}.
Which attribute(s) is/are prime?
a. only A
b. only B
c. A and B
d. B and C
Create a free account and access millions of resources
Similar Resources on Quizizz
121 questions
SWT201_PART3

Quiz
•
University
124 questions
BÀO CHẾ 1-124

Quiz
•
University
123 questions
ITE302c_PART1

Quiz
•
University
124 questions
Викторина без названия

Quiz
•
University
119 questions
CNXH -Chương 3 -4 (119cau))

Quiz
•
University
121 questions
3. Kisah Nabi dan Sahabat LCC PAI SDN TAPOS 5

Quiz
•
6th Grade - University
122 questions
ICT1course

Quiz
•
University
125 questions
Trắc nghiệm lập trình cơ sở C

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade