I don't know if this is even possible. I am trying too do a SELECT statement but need two check two values for whether the row should be included..
Something like this
SELECT * from table where item=X OR item2=y
So if item=x it will include the row and if item2=y it selects the row even if item does not = x.
Sorry if this sounds confusing...basically I want too perform something similar too an IF statement within my select can it be done? If not what is a similar way I can perform this using only one select statement.
THX!