How to query data
The seventh ninth
CodePudding user response:
You don't have the table structure, had to guesstimate, so roughly:
select cityName
The from student
Where the class in 1501150 (2)
Group by cityName
select marjor, count (1) the as CNT
The from student
Group by marjor
CodePudding user response: