Forum Moderators: open
I am not very good with mysql and I am having problems writing a particular select statement. Here is what I am trying to do. I have a database called "members" that contains a table called "Reviews". This table has fields S1, S2, S3, S4, etc. that I want to search for the words ad, advertisement, and promotion. Here is the syntax I came up with that doesn't work:
SELECT * FROM `REVIEWS` WHERE S1, S2, S3, S4, S5, S6, S7, S8, S9, S10, XTRA='ad, advertisement, promotion'
It would be perfectly fine, if easier, to search all fields in the table.
Any help would be very much appreciated!
Thanks,
Jason