, . , - - , "OR 1 = 1". , LIKE - , ( ) - . "field = anything" :
- { LIKE '%'}
- { LIKE 'specific_value'} - , .
Using 'specific_value%' or '% specific_value' will begin to perform partial matching. Therefore, LIKE should do whatever you need when you have an input variable, which can be "%", to get all or a specific value that you want to match exactly. This is what search filtering behavior usually looks like.
source
share