DMSEndtermQuestion

DMSEndtermQuestion

University

29 Qs

quiz-placeholder

Similar activities

SQL Knowledge Quiz2

SQL Knowledge Quiz2

University

25 Qs

DBMS Q1

DBMS Q1

University

30 Qs

SQL Basics Quiz

SQL Basics Quiz

University

30 Qs

Chat GPT/GGG Report/16th Fin/INS Vagir/National Green Hydrogen

Chat GPT/GGG Report/16th Fin/INS Vagir/National Green Hydrogen

University

25 Qs

Data Models

Data Models

University

32 Qs

Вопросы по базам данных и SQL

Вопросы по базам данных и SQL

University

25 Qs

MySql VS PostGress Day-1F

MySql VS PostGress Day-1F

University

30 Qs

Learn to code 2 review

Learn to code 2 review

1st Grade - Professional Development

26 Qs

DMSEndtermQuestion

DMSEndtermQuestion

Assessment

Quiz

Other

University

Easy

Created by

Константин Литвинов

Used 1+ times

FREE Resource

29 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements is true regarding PostgreSQL VIEWs?

VIEWs can be used to simplify complex queries and provide a layer of abstraction.

VIEWs can only be created on a single table.

VIEWs can contain INSERT, UPDATE, and DELETE statements

VIEWs are always updatable by default

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What window function incorporates the count of rows with the same value into the rank of the tied rows, resulting in non-sequential ranks

RANK()

CUME_DIST()

ROW_NUMBER()

PERCENT_RANK()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an aggregate function?

LEFT()

COUNT()

LENGTH()

UPPER()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is Atomicity in the context of ACID properties?

Ensuring that a transaction is treated as a single unit, which is either fully completed or fully rolled back

Ensuring that a transaction is divided into multiple smaller transactions

Ensuring that the transaction results are permanently stored in the database

Ensuring that the database can handle multiple transactions concurrently

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the CUBE keyword do in conjunction with GROUP BY?

It creates a grouping set that includes all possible combinations of columns

It filters the result set based on a specific condition.

It assumes a hierarchy among the input columns and generates all grouping sets that make sense considering the hierarchy

All of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which clause is used to define a window for window functions?

WHERE

OVER

WINDOW

GROUP BY

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which window function is used to return the same rank for the rows which have the same values?

DENSE_RANK()

PERCENT_RANK()

NTILE()

CUME_DIST()

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?