Discussion
The keyword LIKE can be used in a WHERE clause to refer to a range of values.
Answer: B
Correct answer: False
LIKE matches text patterns using % and _; it has no notion of a range and cannot express "between these two values".
Ranges are BETWEEN's work, or the comparison operators >= and <=. The two constructs also behave differently against an index: an equality or range test can use one, while a LIKE pattern beginning with a wildcard cannot, since there is no prefix to seek on.
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development