MIDTERM FUNDAMENTALS OF DATABASES GEN 11

MIDTERM FUNDAMENTALS OF DATABASES GEN 11

20 Qs

quiz-placeholder

Similar activities

Baseline for Beginners

Baseline for Beginners

KG - University

19 Qs

Grammar Crunch Time 4/17

Grammar Crunch Time 4/17

4th Grade

20 Qs

5th Grade Bones Unit Test

5th Grade Bones Unit Test

5th Grade

22 Qs

Poultry Unit Test

Poultry Unit Test

KG - University

18 Qs

MIDTERM FUNDAMENTALS OF DATABASES GEN 11

MIDTERM FUNDAMENTALS OF DATABASES GEN 11

Assessment

Quiz

others

Medium

Created by

Hiếu Minh

Used 1+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A UNION query is which of the following? A UNION query is which of the following?
Combines the output from two queries and must include the same number of columns
Combines the output from multiple queries and must include the same number of columns
Combines the output from multiple queries and does not have to include the same number of columns
Combines the output from two queries and does not have to include the same number of columns

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
In the given query which of the keywords has to be inserted?
Value
Field
Relation
Table

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following relations is in Third normal form (3NF)?
R(ABCD) FD’s: AB -> C; BCD -> A; D -> A; B -> C
R(ABCD) FD’s: C -> B; B -> A; AC -> D; AC -> B
R(ABCD) FD’s: ACD -> B; AC -> D; D -> C; AC -> B
R(ABCD) FD’s: AB -> C; ABD -> C; ABC -> D; AC -> D

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT true about SQL Subqueries?
Subqueries are executed first.
None of these.
They are nested queries.
Only one subquery can be nested.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
This graphic indicates: Select one:
-a student cannot own a car.
that a student can own 0,1 or many cars.
A car can be owned by many students
A student can own many cars and a car can be owned by many students

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements is NOT true about subqueries?
Subqueries may occur in other places than the WHERE clause.
Subqueries can be added with an ORDER BY clause.
Subqueries cannot be nested multiple times
Subqueries can be used to compare an expression to the result of the query

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
Suppose relations R(A, B) and S(B, C, D) are as follows: Compute the full outer join on B, the left outer join on B, and the right outer join on B. In each case, R is the left operand and S is the right operand. Find the correct statement in the list below.
The full outer join has 3 NULL’s
The full outer join has 6 tuples
The full outer join has 3 tuples
The full outer join has 2 NULL’s

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?