select * from table where x=10 or y=10