Say I have a table that includes column A, column B, and column C. How do I write a query I that selects all rows where either column A OR column B or column C is equal to some value? Thanks.
Update: I forgot to mention my confusion. Let's say there is another column (column 1), and I need to select based on the following logic:
... where Column1 = '..' AND (ColumnA = '..' OR ColumnB = '..' OR ColumnC = '..')
Is it valid for grouping statements, as I did above, with parentheses to get the desired logic?
jjk3
source
share