Which operator allows you to specify a range of values to filter query results, including the specified start and end endpoints? MCQ with Answer and Explanation

Which operator allows you to specify a range of values to filter query results, including the specified start and end endpoints?
A. LIKE
B. WITHIN
C. BETWEEN
D. IN
Answer: Option C
Solution (By JKSSB Mock Tests)
The BETWEEN operator selects values within a specific inclusive range. It is shorthand for a combination of greater-than-or-equal-to and less-than-or-equal-to conditions.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Database Management System (DBMS) Questions

Question #1
What is the concept of referential integrity?
A. Ensuring that no null values exist
B. Ensuring that all primary keys are unique
C. Ensuring that foreign key values match primary key values in the referenced table
D. Ensuring data is normalized

Correct Answer: Option C


Explanation:
Referential integrity ensures that relationships between tables remain consistent, meaning foreign key values must have corresponding primary key values.

This question belongs to: Computer Database Management System (DBMS)
Question #2
Which SQL operator returns only the rows that are common and present in the outputs of both executing SELECT queries?
A. EXCEPT / MINUS
B. UNION
C. JOIN
D. INTERSECT

Correct Answer: Option D


Explanation:
The INTERSECT operator returns only the distinct rows that appear in the result sets of both SELECT statements.

This question belongs to: Computer Database Management System (DBMS)
Question #3
What is the purpose of the SAVEPOINT statement?
A. To permanently save changes
B. To release locks
C. To start a new transaction
D. To create a point within a transaction to which you can later roll back

Correct Answer: Option D


Explanation:
SAVEPOINT creates a named point within a transaction, allowing partial rollback to that point without affecting the entire transaction.

This question belongs to: Computer Database Management System (DBMS)