Mysql
 sql >> Database >  >> RDS >> Mysql

Query MySql sulla combinazione di AND e 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');