SQL statements Online Quiz

SQL statements Online Quiz

University

30 Qs

quiz-placeholder

Similar activities

DBMS Quiz CSE

DBMS Quiz CSE

University

30 Qs

Database Design & Development 1

Database Design & Development 1

University

30 Qs

SQL Quiz: 25 MCQs on the Student Table

SQL Quiz: 25 MCQs on the Student Table

University

25 Qs

SQL_kartkowka

SQL_kartkowka

1st Grade - University

27 Qs

UJIAN MID SEMESTER 1 XI RPL BASIS DATA

UJIAN MID SEMESTER 1 XI RPL BASIS DATA

University

30 Qs

UAS Basis Data 2

UAS Basis Data 2

University

25 Qs

Викторина SQL

Викторина SQL

University

25 Qs

Technical Assessment_1

Technical Assessment_1

University

25 Qs

SQL statements Online Quiz

SQL statements Online Quiz

Assessment

Quiz

Computers

University

Medium

Created by

Srinivas Adapa

Used 107+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not true about SQL statements?

SQL statements are not case sensitive.

SQL statements can be written on one or more lines.

Keywords cannot be split across lines.

Clauses must be written on separate lines.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is returned by INSTR(‘TUTORIALS POINT’, ‘P’)?

11

10

POINT

TUTORIALS

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You want to calculate the tax payable by the employees of an organization. If the employee gets a commission, then the tax would be calculated on commission plus salary, if the employee does not get any commission, then the tax would be calculated on salary only. Which function should you use for calculating tax?

NVL

NVL2

NULLIF

COALESCE

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true about a group function?

Group functions operate on sets of rows to produce multiple results per group.

DISTINCT keyword makes a group function consider duplicate values.

Group functions ignore null values.

None of the above.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In which of the following cases a DML statement is not executed?

When existing rows are modified

When some rows are deleted

When a table is deleted

All of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not true about the database objects?

Indexes improve performance of queries.

Views give alternative names to objects.

Sequences are numeric value generators.

Tables are the basic unit of storage.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A database administrator can

Create users.

Create privileges.

Grant privileges.

All of the above.

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?