Search Header Logo

MIDTERM FUNDAMENTALS OF DATABASES GEN 11

Authored by Hiếu Minh

others

Used 1+ times

MIDTERM FUNDAMENTALS OF DATABASES GEN 11
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

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?