I would like to ask for help in solving this problem: I have a MySQL table with a structure like this:
author name year description Bernard Cornwell Azincourt 2009 Publisher XY, good condition
Now I would like to have MySQL Query, which returns the result (looking for a book) on different inputs (for example, these):
Do I need to add a Fulltext index for each column, and then on the author, name, year, description?
Are you looking for something like this?
Select * From TableName WHERE description LIKE "%searchvalue%";
, , . wild card, , , . , , .
Select * From TableName WHERE description = "searchvalue";
PHP script, .
Source: https://habr.com/ru/post/1617897/More articles:ruby Date.month with a leading zero - ruby | fooobar.comBootstrap - hide column through animation - javascriptTabWidget flickers when keyboard hides android - javaRunning onInput handler - javascriptSwift-Pod images do not load (not found, returns zero) - swiftCallback Timer in Pharo smalltalk + Seaside - smalltalkJavascript syntax - if statements and function calls - javascriptmysqld_safe mysqld from pid / var / run / mysqld / mysqld.pid prevents server reboot - linuxUnable to run Visual Studio code on Ubuntu - linuxВеб-узлы, игровая платформа и актер - javaAll Articles