Adaptive Practice
Option - Databases
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 of the following is a primary key in a database table?
Easy
In SQL, which command is used to remove all records from a table but keep the table structure?
Easy
What is the purpose of a foreign key in relational databases?
Easy
Consider a table STUDENTS with columns (RollNo, Name, Marks). Which SQL query will display the names of students who scored more than 75 marks?
Medium
Which normal form eliminates partial dependency in a relational database?
Medium
In the context of database transactions, what does ACID stand for?
Medium
Which SQL clause is used to combine rows from two or more tables based on a related column between them?
Hard
Given two tables: EMPLOYEE(EmpID, DeptID, Name) and DEPARTMENT(DeptID, DeptName), which SQL query retrieves all employees along with their department names?
Medium
What is the result of the following SQL query? SELECT COUNT(DISTINCT City) FROM STUDENTS;
Hard
In database indexing, which data structure is most commonly used to improve the speed of data retrieval?