Suppose I have the data in table like this
ID student_name score
1 ABC 1,3
2 DEF 11,2
3 GHI 5,2,13
score : is the string
This is what I have tried
$query->andFilterWhere(['like', 'score', $this->score]);
what I want to do is when I search for "1" by "score" it should return the first record only,but it return all record. when I search for "2" it should return 2 rows(2 & 3)
Please help!!!