2017-03-23 9 views
-2

表の名前は、私は30枚の以上のクレジットと数学専攻している学生の名前を与えるSQLクエリを必要とする学生シングルSQLクエリで複数の条件を選択

enter image description here

です。

ありがとうございます!

select firstName, lastName from Student where major='Math' and 
credit>30; 

答えて

2
select * 
from Student 
where major='Math' and credits>30; 
2

WHERE句:

SELECT firstName, lastName 
    FROM Student 
    WHERE major='Math' AND credit>30; 
2
select * 
from student 
where major ='Math' and credit> 30 
2

使用する複数の条件でのMySQLでは

関連する問題