08.08.2025

08.08.2025

University

15 Qs

quiz-placeholder

Similar activities

Quiz [Introduction to SQL ]

Quiz [Introduction to SQL ]

University

20 Qs

Sistem Basis Data 30 Juni

Sistem Basis Data 30 Juni

University

20 Qs

Database Fundamentals

Database Fundamentals

KG - University

10 Qs

7.7 Software Security Review

7.7 Software Security Review

8th Grade - University

15 Qs

Programming Practice Quiz 2

Programming Practice Quiz 2

University

10 Qs

LECTURE QUIZ IM

LECTURE QUIZ IM

University

20 Qs

QUIZ-5: MYSQL & File Handling

QUIZ-5: MYSQL & File Handling

University

15 Qs

RDBMS-SQL

RDBMS-SQL

University

10 Qs

08.08.2025

08.08.2025

Assessment

Quiz

Computers

University

Medium

Created by

Sudhakar T Computer Science

Used 1+ times

FREE Resource

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

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?