Mysql queries whether there is a value in multiple fields

if the picture is a table, how to find the data equal to 8 in the three fields of mobile1 or mobile2 or mobile3
clipboard.png

clipboard.png

although you can use where or, ask God how to write sql statements if you don"t use where or. Ask for advice

Mar.05,2021

--8
--

SELECT Id,mobile1,mobile2,mobile3 FROM [Table]

WHERE Id NOT IN
        (
            SELECT Id FROM [Table] 

            WHERE mobile1<>8 AND mobile1<>8 AND mobile1<>8
         )
Menu