M
M
MasterCopipaster2020-05-27 16:40:14
MySQL
MasterCopipaster, 2020-05-27 16:40:14

Can't find error in sql query?

Why am I getting an error

SQL Error [1064] [42000]: syntax error, unexpected $end

select
  *,
  MATCH(`modification`) AGAINST('43 4Matic+' IN BOOLEAN MODE) AS score
from
  `varta_modifications`
where
  `id_model` = 12
  and (`modification` like '%43%'
  or `modification` like '%4 Matic +%')
order by
  `score` desc
limit 1

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question