複数のカラムに対してLIKE演算子を使用して検索する場合
複数書きの場合
select * from テーブル名 where col1 like "%検索文字%" or col2 like "%検索文字%" or col3 like "%検索文字%"
concat()を使う場合
select * from テーブル名 where concat(col1, col2, col3) like "%検索文字%"
複数のカラムに対してLIKE演算子を使用して検索する場合
select * from テーブル名 where col1 like "%検索文字%" or col2 like "%検索文字%" or col3 like "%検索文字%"
select * from テーブル名 where concat(col1, col2, col3) like "%検索文字%"