SQL не равен нескольким столбцам
where not (col2=0 and col3=0 and col4=0)
Mr. Samy
where not (col2=0 and col3=0 and col4=0)