Adaptive Practice
Database Management — SQL
10 questions • Earn up to 104 XP • First attempt — go for 100%!
0
XP
0
Correct
x1
Combo
Question 1 of 10
⏱ 0:30
Easy
Which SQL command is used to retrieve data from a database?
Easy
What will the following SQL query do? SELECT * FROM Students WHERE Marks >= 75;
Easy
Which SQL clause is used to sort the result-set?
Medium
Consider a table 'Employees' with columns (EmpID, Name, Salary). Which query will increase all employees' salary by 10%?
Medium
What is the result of the following SQL query? SELECT COUNT(DISTINCT City) FROM Students;
Easy
Which SQL command is used to remove a table and all its data permanently?
Hard
What does the following SQL query do? SELECT Dept, AVG(Salary) FROM Employees GROUP BY Dept HAVING AVG(Salary) > 50000;
Medium
Which of the following is TRUE about the PRIMARY KEY constraint?
Hard
In a table 'Books', which SQL query will display the second highest price of books?
Medium
What will the following SQL query return? SELECT Name FROM Students WHERE Name LIKE '_a%';