SELECT ID, sentence FROM texts WHERE sentence LIKE '% $query %'