Search Header Logo

08.08.2025

Authored by Sudhakar T Computer Science

Computers

University

Used 1+ times

08.08.2025
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the following query?

SELECT studname FROM college WHERE marks > SOME (SELECT marks FROM student WHERE SECTION = 'c');

The query gives all the studnames for which marks are greater than all the students in section c

The query gives all the studnames for which the marks are greater than at least on student in section c

The query gives all the studnames for which the marks are less than all the students in section c

The query is syntactically incorrect

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a correlated sub-query?

a) An independent query that uses the correlation name of another independent query.

b) A sub-query that uses the correlation name of an outer query

c) A sub-query that substitutes the names of the outer query

d) A sub-query that does not depend on its outer query’s correlation names

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Observe the following query and choose the correct option

SELECT DISTINCT name FROM student WHERE ID IS NOT NULL;

a) The query is syntactically wrong

b) The query gives all the possible student names where a finite value exists for ID

c) The query gives the names of the students that have a null ID and it also excludes identical names

d) The query gives the student names where a finite value exists for ID and it excludes identical names

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the result of the following query?

(SELECT studentid FROM student WHERE SECTION = 'c') EXCEPT (SELECT studentid FROM student WHERE roll <10);

a) All the values of the studentid for which section is c and roll < 10

b) All the values of the studentid for which section is c and roll > 10

c) All the values of the studentid for which section not c and roll < 10

d) All the values of the studentid for which section not c and roll > 10

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The join operations that do not retain mismatched tuples are called as _________ operations

a) outer join

b) natural join

c) full outer join

d) inner join

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If a left outer join is performed and the tuple on the left hand side does not match with the tuple on the right hand side, what happens to the values that are preserved on the left hand side?

a) They are given null values

b) They are given a random value

c) The user is asked to enter data

d) The query is declared invalid by the compiler

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The _______ statement causes the statements to undo all the updates performed on the transaction

a) Undo work

b) Rollback work

c) Commit work

d) Replace work

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?