Success Forge SQL Server Quiz

Success Forge SQL Server Quiz

Professional Development

15 Qs

quiz-placeholder

Similar activities

Algebra relationala

Algebra relationala

Professional Development

12 Qs

BCA - IV SEM DBMS

BCA - IV SEM DBMS

Professional Development

20 Qs

Azure Cloud computing

Azure Cloud computing

Professional Development

10 Qs

Module 2 Review

Module 2 Review

Professional Development

20 Qs

3°TEC_PROGRAMAÇÃO MOBILE - AVALIAÇÃO 2º TRIMESTRE AV3

3°TEC_PROGRAMAÇÃO MOBILE - AVALIAÇÃO 2º TRIMESTRE AV3

Professional Development

16 Qs

UJIAN SEMESTER II :  KKPI (TAHUN 2019-2020)

UJIAN SEMESTER II : KKPI (TAHUN 2019-2020)

Professional Development

20 Qs

CLEAN WATER AND SANITATION

CLEAN WATER AND SANITATION

10th Grade - Professional Development

10 Qs

Arrays & Strings using C

Arrays & Strings using C

Professional Development

15 Qs

Success Forge SQL Server Quiz

Success Forge SQL Server Quiz

Assessment

Quiz

Computers

Professional Development

Practice Problem

Medium

Created by

Aniket Molke

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Which SQL clause is used to filter groups of rows after they have been grouped by GROUP BY clause?

ORDER BY

HAVING

WHERE

DISTINCT

2.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Which SQL keyword is used to retrieve data from a database?

GET

SELECT

FETCH

RETRIEVE

3.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

How would you select all employees with salaries between 4000 and 7000 in SQL?

SELECT * FROM Employees WHERE salary >= 4000 AND salary <= 7000;

SELECT * FROM Employees WHERE salary BETWEEN 4000 AND 7000;

Both 1 and 2

None of the above

4.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What will the following query do?
SELECT department, MAX(salary) FROM Employees GROUP BY department;

Returns the highest salary in the company

Returns the highest salary for each department

Groups all employees by salary

Returns the total salary in each department

5.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

What will the following SQL statement return?
SELECT AVG(salary) FROM Employees WHERE department = 'Marketing';

The total salary of Marketing department employees

The average salary of all employees

The average salary of Marketing department employees

The sum of salaries in all departments

6.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

In a LEFT JOIN, what happens to rows in the left table when no corresponding match in the right table?

They are excluded from the results

They appear with NULL values for columns from the right table

They are duplicated based on the rows in the right table

They are included only if specified

7.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Which type of join includes only rows with matching values from both tables?

LEFT JOIN

INNER JOIN

FULL JOIN

RIGHT JOIN

Create a free account and access millions of resources

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?