Query-based questions are fundamental to extracting, filtering, and manipulating data within databases using SQL. In this quiz, you'll encounter a variety of SQL queries, covering topics such as SELECT statements, WHERE clauses, JOIN operations, GROUP BY clauses, and more.
Question 2
Write an SQL query to retrieve distinct values from the "department" column of the "employees" table.
Question 3
Write an SQL query to retrieve the names of employees whose salary is greater than 50000.
Question 6
Write an SQL query to retrieve the names of employees whose names start with 'A'.
Question 8
Write an SQL query to retrieve the names of employees who joined in the year 2021.
Question 9
Write an SQL query to retrieve the names of employees who belong to the 'Sales' department and have a salary greater than 60000.
Question 10
Write an SQL query to retrieve the names of employees who have 'Manager' in their job titles.
There are 10 questions to complete.