sql >> Base de Datos >  >> RDS >> Mysql

Consulta MySql sobre la combinación de AND y OR

Select * from Students where roll_no like '__2011%' and (subject1 ='maths' or subject2='maths' or subject3='maths' or subject4='maths' or subject5='maths' or subject6='maths');