Menu
If I have a database including these columns:
‘subject1′,’subject2′,’subject3′,’subject4′,’subject5′,’subject6′,’subject7′,’subject8′,’subject9′,’subject10′,’subject11’
Is there an easy way to say
Select * FROM table WHERE story like ‘%foo%’ AND NAME = ‘Bob’ ……..
And then have at the end:
if (‘subject1′,’subject2’……subject11’) contains ‘bar’
Thank you