Check out example codes for "sql server check for value in multiple columns". It will help you in understanding the concepts better.

Code Example 1

SELECT * FROM table WHERE 123 IN(col1, col2, col3, col4);

Learn ReactJs, React Native from akashmittal.com