+--------+-------+----------+-----------+
| Maker | Model | SeatType | NoOfSeats |
+--------+-------+----------+-----------+
| Airbus | 340 | E | 220 |
| Airbus | 340 | F | 20 |
| Airbus | 380 | E | 300 |
| Airbus | 380 | F | 60 |
| Boeing | 747 | E | 300 |
| Boeing | 747 | F | 40 |
| Boeing | 777 | E | 200 |
| Boeing | 777 | F | 20 |
| Boeing | 787 | E | 250 |
| Boeing | 787 | F | 25 |
+--------+-------+----------+-----------+
Below is my attempt to create a query of this "PlaneSeats" table
select Maker, count(distinct Model)
from PlaneSeats
group by Maker, Model
having SUM(NoOfSeats) > 350;
and here is the result query
+--------+-----------------------+
| Maker | count(distinct Model) |
+--------+-----------------------+
| Airbus | 1 |
+--------+-----------------------+
but what I want to get is the Maker and total number of planes made by this maker, also for Makers who make any plane with total number of seats more than 350. I understand the count should be 2 here instead of 1 since there are 2 models for Maker Airbus. Please help me find out where it's wrong. Thank you.