Success Forge SQL Server Quiz

Quiz
•
Computers
•
Professional Development
•
Medium
Aniket Molke
Used 3+ times
FREE Resource
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
Similar Resources on Wayground
10 questions
DBMS Quiz1

Quiz
•
University - Professi...
10 questions
Footprinting and Reconnaissance

Quiz
•
Professional Development
10 questions
COUNTIFS AND SUMIFS (EXCEL)

Quiz
•
Professional Development
10 questions
RELATIONAL DATA MODEL

Quiz
•
Professional Development
15 questions
Activity2

Quiz
•
Professional Development
10 questions
Post-Test SAP Sharing Knowledge

Quiz
•
University - Professi...
14 questions
isc2 sample questions

Quiz
•
Professional Development
10 questions
Configuration and Setup 3

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade