I have a table book contains fields author, title,publisher,note etc.
I want to contruct a SQL statement that can return results where any one of the above fields matches a certain search term. For example, if I enter "book", I want all the rows that matchs book in any one of the fields in the book table (be it in author, title, publisher or note field)
I know I can do a "SELECT * from book where title LIKE '%book%' OR author LIKE '%book%' OR publisher LIKE '%book%' OR note LIKE '%book%'.
My question is is there a simpler query than the one above. One that does not have to specify all the field names.
I know this doesn't work:
select from book where LIKE '%book%'
TIA