Search Header Logo

DBi202 09

Authored by Le CT)

World Languages

KG

Used 18+ times

DBi202 09
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

QN=18 (8537) What is a "join"?

a. 'join' used to connect two or more tables logically with or without common field(s) a

b. 'join' used to connect two or more tables logically with common field(s)

c. 'join' used to connect two or more tables logically without common field(s)

d. 'join' used to connect two or more tables logically with aliases

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When join R and S, we want to display all the records in R we must use:

a. LEFT OUTER JOIN a

b. RIGHT OUTER JOIN

c. INNER JOIN

d. None of the others

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given relations R(A,B) and S(B,C,D). The result of natural join of the relations R and S has

a. Only attribute B

b. Only two attributes R.B and S.B

c. Attributes A, B, C, D

d. None of the others

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Relation R(x,y) currently consists of only one tuple (NULL, NULL). Which of the following queries will produce a nonempty output? That is, at least one tuple will be produced, although the tuple(s) may have NULL's.

a. SELECT * FROM R WHERE x IS NULL

b. SELECT * FROM R WHERE x = NULL

c. SELECT * FROM R WHERE x = y

d. SELECT * FROM R WHERE x <> 10

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

(TRUE AND NULL) returns: ???

a. NULL

b. TRUE

c. FALSE

d. None of the others

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose the in-correct statement:

a. In SQL Server, every DML operation is a transaction regardless of whether it has a BEGIN TRANSACTION or not

b. COMMITTING a transaction makes permanent the changes resulting from all SQL statements in the transaction

c. ROLLING back a transaction rejects any of the changes resulting from the SQL statements in the transaction

d. When the sequence of tasks is complete, the SAVE POINT closes the transaction

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

QN=43 (8610) In order to modify or delete an existing constraint, it is necessary that:

a. the constraint has a name

b. the constraint has an ID

c. the constraint has some attributes

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?

Discover more resources for World Languages