SELECT name, id FROM airport WHERE IATA = "AEY" UNION SELECT name, id FROM airport WHERE name = "Ted Stevens Airport" AND IATA != "BWI" AND ICAO != "EHAM" OR City != "Anchorage" <table_name> : airport col : id | City | Country | IATA | ICAO | name row 1 : 1 | Akureyri | Iceland | AEY | BIAR | Akureyri Airport row 2 : 2 | Amsterdam | Netherlands | AMS | EHAM | Schiphol Airport row 3 : 3 | Anchorage | United States | ANC | PANC | Ted Stevens Airport row 4 : 4 | Baltimore | United States | BWI | KBWI | Baltimore-Washington Airport row 5 : 5 | Barcelona | Spain | BCN | LEBL | El Prat Airport row 6 : 6 | Bergen | Norway | BGO | ENBR | Bergen Airport row 7 : 7 | Billund | Denmark | BLL | EKBI | Billund Airport row 8 : 8 | Boston | United States | BOS | KBOS | Logan International Airport row 9 : 9 | Brussels | Belgium | BRU | EBBR | National Airport <table_name> : airport col : id | City | Country | IATA | ICAO | name row 1 : 1 | Akureyri | Iceland | AEY | BIAR | Akureyri Airport row 2 : 2 | Amsterdam | Netherlands | AMS | EHAM | Schiphol Airport row 3 : 3 | Anchorage | United States | ANC | PANC | Ted Stevens Airport row 4 : 4 | Baltimore | United States | BWI | KBWI | Baltimore-Washington Airport row 5 : 5 | Barcelona | Spain | BCN | LEBL | El Prat Airport row 6 : 6 | Bergen | Norway | BGO | ENBR | Bergen Airport row 7 : 7 | Billund | Denmark | BLL | EKBI | Billund Airport row 8 : 8 | Boston | United States | BOS | KBOS | Logan International Airport row 9 : 9 | Brussels | Belgium | BRU | EBBR | National Airport
col : name | id row 1 : Akureyri Airport | 1 row 2 : Baltimore-Washington Airport | 4 row 3 : Bergen Airport | 6 row 4 : Billund Airport | 7 row 5 : El Prat Airport | 5 row 6 : Logan International Airport | 8 row 7 : National Airport | 9 row 8 : Schiphol Airport | 2 row 9 : Ted Stevens Airport | 3