Mysql
 sql >> Datenbank >  >> RDS >> Mysql

MySQL-Abfrage auf Kombination von AND und 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');