CREATE TABLE "accidents_and_incidents" (
  "date" text,
  "airline" text,
  "aircraft_type" text,
  "registration" text,
  "people_on_board" real,
  "fatalities" real
);

Question: How many fatalities shows for the lockheed l-1049g?
SQL: SELECT SUM("fatalities") FROM "accidents_and_incidents" WHERE "aircraft_type"='lockheed l-1049g';

Question: What is the number of people on board at Iberia Airline, with the aircraft type of lockheed l-1049g?
SQL: SELECT AVG("people_on_board") FROM "accidents_and_incidents" WHERE "airline"='iberia' AND "aircraft_type"='lockheed l-1049g';

Question: How many fatalities are there for the airline of spantax, with a registration of ec-arz?
SQL: SELECT AVG("fatalities") FROM "accidents_and_incidents" WHERE "airline"='spantax' AND "registration"='ec-arz';