SQL statements Online Quiz

SQL statements Online Quiz

University

30 Qs

quiz-placeholder

Similar activities

Structured Query Language

Structured Query Language

University

25 Qs

Bases de Datos

Bases de Datos

University

28 Qs

OCR A Level Computer Science (H446) - Component 1.3.2 - Databases

OCR A Level Computer Science (H446) - Component 1.3.2 - Databases

11th Grade - University

28 Qs

SQL Quiz: 25 MCQs on the Student Table

SQL Quiz: 25 MCQs on the Student Table

University

25 Qs

PRA UAS  PEMROG. DATABASE

PRA UAS PEMROG. DATABASE

University

25 Qs

IM2 DDL

IM2 DDL

University

26 Qs

Викторина SQL

Викторина SQL

University

25 Qs

DML

DML

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?