Which SQL operator is used to check if a value is within a range? MCQ with Answer and Explanation

Which SQL operator is used to check if a value is within a range?
A. IN
B. EXISTS
C. LIKE
D. BETWEEN
Answer: Option D
Solution (By JKSSB Mock Tests)
BETWEEN checks if a value falls within a specified range (inclusive of boundaries).

Discuss this Question (0)

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

Practice More Database Management System (DBMS) Questions

Question #1
In the context of databases, what is a 'tuple'?
A. A table itself
B. A row of a table
C. A key constraint
D. A column of a table

Correct Answer: Option B


Explanation:
In relational databases, a tuple is a single row or record of a table.

This question belongs to: Computer Database Management System (DBMS)
Question #2
What value represents missing, unknown, or inapplicable data in a relational database?
A. NULL
B. Zero (0)
C. Void
D. Blank Space (' ')

Correct Answer: Option A


Explanation:
NULL is a special marker used in SQL to indicate the absence of a value or that the data is missing, unknown, or not applicable.

This question belongs to: Computer Database Management System (DBMS)
Question #3
Which SQL command is used to modify the structure of an existing table?
A. MODIFY
B. ALTER
C. CHANGE
D. UPDATE

Correct Answer: Option B


Explanation:
ALTER TABLE is a DDL command used to add, delete, or modify columns and constraints in an existing table.

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