0
using LIKE
LIKE "%boxes" it gives the names ENDING with "boxes"... but the question asked was -"to search "boxes" in the "name" column i.e, eg: "boxessss" should be selected... but it doesnt select it as "%boxes" will select the names with the last character boxes
3 Answers
+ 3
@Sahana Menedal: @Sam's answer works for your example (strings starting with boxes).
For "in the string anywhere", you need the wildcard on both sides:
"%boxes%"
+ 2
"boxes%"
0
Yaa. You are right.But they have given so n one of the question in the tutorial.