MySQL query match with alias WHERE not working

前端 未结 2 1297
你的背包
你的背包 2021-01-24 23:33

why does my sintax is not right?

SELECT *,
           MATCH(tags,title,description) AGAINST (\'asd jhbdckdsb\' IN BOOLEAN MODE) AS score 
      FROM blogs WHERE          


        
2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-24 23:59

    You cannot use a column alias in the WHERE clause. You must repeat the MATCH a second time.

提交回复
热议问题