I\'m trying to search a whole table in mySQL for a string.
I want to search all fields and all entrees of a table, returning each full entry that contains the speci
for specific requirement the following will work for search:
select * from table_name where (column_name1='%var1%' or column_name2='var2' or column_name='%var3%') and column_name='var';
if you want to query for searching data from the database this will work perfectly.