

McqMate
Q. |
Which of the following can be used to get those items that fall within a range? |
A. | IN |
B. | BETWEEN |
C. | DISTINCT |
D. | LIKE |
Answer» B. BETWEEN | |
Explanation: The BETWEEN operator is used in SQL to filter the results that fall within a specific range of values (inclusive). For example: SELECT * FROM products WHERE price BETWEEN 10 AND 50; IN: is used to filter results that match any value in a list. DISTINCT: is used to return unique values. LIKE: is used for pattern matching in strings. |
View all MCQs in
Advanced Database Management Systems (ADBMS)