For each country, what is the average elevation of that country's airports?
CREATE TABLE airlines (
    alid number,
    name text,
    iata text,
    icao text,
    callsign text,
    country text,
    active text
)

CREATE TABLE routes (
    rid number,
    dst_apid number,
    dst_ap text,
    src_apid number,
    src_ap text,
    alid number,
    airline text,
    codeshare text
)

CREATE TABLE airports (
    apid number,
    name text,
    city text,
    country text,
    x number,
    y number,
    elevation number,
    iata text,
    icao text
)
SELECT AVG(elevation), country FROM airports GROUP BY country
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: For each country, what is the average elevation of that country's airports? ### Input: CREATE TABLE airlines (
    alid number,
    name text,
    iata text,
    icao text,
    callsign text,
    country text,
    active text
)

CREATE TABLE routes (
    rid number,
    dst_apid number,
    dst_ap text,
    src_apid number,
    src_ap text,
    alid number,
    airline text,
    codeshare text
)

CREATE TABLE airports (
    apid number,
    name text,
    city text,
    country text,
    x number,
    y number,
    elevation number,
    iata text,
    icao text
) ### Response: SELECT AVG(elevation), country FROM airports GROUP BY country