You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '_ pollici') as attinenza FROM televisori WHERE match(nomeft) against('offerta o' at line 1