DBMS Theory QUIZ-II

DBMS Theory QUIZ-II

University

10 Qs

quiz-placeholder

Similar activities

After Effect Intoduction

After Effect Intoduction

10th Grade - University

15 Qs

Google Aptitude Test

Google Aptitude Test

KG - University

10 Qs

OOP 1 Undiksha

OOP 1 Undiksha

12th Grade - University

13 Qs

Chapter 3 Exploring Linux Filesystems

Chapter 3 Exploring Linux Filesystems

11th Grade - University

10 Qs

Computer Network Fun Review 5 - Data Link Layer

Computer Network Fun Review 5 - Data Link Layer

University

10 Qs

PYTHON LOOPING

PYTHON LOOPING

University

10 Qs

Graphs

Graphs

University

15 Qs

Adobe Photoshop

Adobe Photoshop

University

10 Qs

DBMS Theory QUIZ-II

DBMS Theory QUIZ-II

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Rahul Kumar

Used 6+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

You have a relation called "Employees" that contains information about employees, including their salaries. You want to find the average salary of all employees. Which relational algebra operation would you use?

SELECT

PROJECT

AGGREGATE

JOIN

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

With SQL, how can you return the number of not null records in the “Persons” table?

SELECT COUNT() FROM Persons

SELECT COLUMNS() FROM Persons

SELECT COLUMNS(*) FROM Persons

SELECT COUNT(*) FROM Persons

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

You have a "Products" relation that contains information about products, including their prices. You want to find the products with a price greater than $100. What relational algebra operation would you use?

SELECT

PROJECT

JOIN

DIFFERENCE

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

SQL query to find the temperature in increasing order of all cities.

SELECT city FROM weather ORDER BY temperature

SELECT city, temperature FROM weather

SELECT city, temperature FROM weather ORDER BY temperature

SELECT city, temperature FROM weather ORDER BY city

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In a database, you have a "Sales" relation that contains information about sales transactions, including the salesperson's name. You want to find the distinct names of salespeople who made sales. What relational algebra operation would you use?

SELECT

PROJECT

UNION

DISTINCT

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

You have a "Students" relation that contains information about students, including their ages. You want to find the average age of all students. Which relational algebra operation would you use?

SELECT

PROJECT

AGGREGATE

JOIN

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

You have two relations, "Employees" and "Departments." The "Employees" relation contains employee information, and the "Departments" relation contains department information. You want to find all employees in the "HR" department. What relational algebra operation would you use?

SELECT

PROJECT

JOIN

INTERSECT

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?

Discover more resources for Computers