--:--









Quiz for WHERE Clause

Course: SQL | Subject: SQL | Topic: Grouping and Filtering



Logo

Q1: Which SQL clause is used to filter records before grouping or aggregation?

Logo

Q2: Which SQL clause is used to filter records?

Logo

Q3: Which operator is used in a WHERE clause for pattern matching?

Logo

Q4: How do you filter rows where age is greater than 25?

Logo

Q5: Which of the following is a valid WHERE clause?

Logo

Q6: To find names starting with "A", which clause is used?

Logo

Q7: How do you use WHERE with multiple conditions?

Logo

Q8: Which keyword is used with WHERE to match multiple values?

Logo

Q9: How to filter employees with salary between 3000 and 6000?

Logo

Q10: What does WHERE 1=1 return?

Logo

Q11: What does WHERE 1=0 return?

Logo

Q12: Which is true about WHERE vs HAVING?

Logo

Q13: Can WHERE clause be used with DELETE statement?

Logo

Q14: Which clause limits rows returned based on a condition?

Logo

Q15: Is WHERE mandatory in SELECT query?

Logo

Q16: What is the result of WHERE NULL?

Logo

Q17: Which clause is correct for checking NULL?

Logo

Q18: How do you check for NOT NULL in WHERE?

Logo

Q19: Can WHERE use arithmetic operations?

Logo

Q20: Which one is NOT a comparison operator for WHERE?

Logo

Q21: What is the result of: SELECT * FROM users WHERE age = 25;

Are you ready to start test? Set your time limit