dreamerdeo's picture
Upload folder using huggingface_hub
1faca1c
[
{
"db_id": "aircraft",
"query": "SELECT count(*) FROM aircraft",
"query_toks": [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"aircraft"
],
"query_toks_no_value": [
"select",
"count",
"(",
"*",
")",
"from",
"aircraft"
],
"question": "Combien d'aéronefs y a-t-il?",
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT count(*) FROM aircraft",
"query_toks": [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"aircraft"
],
"query_toks_no_value": [
"select",
"count",
"(",
"*",
")",
"from",
"aircraft"
],
"question": "Quel est le nombre d'avions?",
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT Description FROM aircraft",
"query_toks": [
"SELECT",
"Description",
"FROM",
"aircraft"
],
"query_toks_no_value": [
"select",
"description",
"from",
"aircraft"
],
"question": "Énumérez la description de tous les avions.",
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
6,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT Description FROM aircraft",
"query_toks": [
"SELECT",
"Description",
"FROM",
"aircraft"
],
"query_toks_no_value": [
"select",
"description",
"from",
"aircraft"
],
"question": "Quelles sont les descriptions des avions?",
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
6,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT avg(International_Passengers) FROM airport",
"query_toks": [
"SELECT",
"avg",
"(",
"International_Passengers",
")",
"FROM",
"airport"
],
"query_toks_no_value": [
"select",
"avg",
"(",
"international_passengers",
")",
"from",
"airport"
],
"question": "Quel est le nombre moyen de passagers internationaux de tous les aéroports?",
"sql": {
"from": {
"table_units": [
[
"table_unit",
3
]
],
"conds": []
},
"select": [
false,
[
[
5,
[
0,
[
0,
21,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT avg(International_Passengers) FROM airport",
"query_toks": [
"SELECT",
"avg",
"(",
"International_Passengers",
")",
"FROM",
"airport"
],
"query_toks_no_value": [
"select",
"avg",
"(",
"international_passengers",
")",
"from",
"airport"
],
"question": "Quel est le nombre moyen de passagers internationaux pour un aéroport?",
"sql": {
"from": {
"table_units": [
[
"table_unit",
3
]
],
"conds": []
},
"select": [
false,
[
[
5,
[
0,
[
0,
21,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT International_Passengers , Domestic_Passengers FROM airport WHERE Airport_Name = \"London Heathrow\"",
"query_toks": [
"SELECT",
"International_Passengers",
",",
"Domestic_Passengers",
"FROM",
"airport",
"WHERE",
"Airport_Name",
"=",
"``",
"London",
"Heathrow",
"''"
],
"query_toks_no_value": [
"select",
"international_passengers",
",",
"domestic_passengers",
"from",
"airport",
"where",
"airport_name",
"=",
"value"
],
"question": "Quel est le nombre de passagers internationaux et nationaux de l'aéroport nommé \"London Heathrow\"?",
"sql": {
"from": {
"table_units": [
[
"table_unit",
3
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
21,
false
],
null
]
],
[
0,
[
0,
[
0,
22,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
18,
false
],
null
],
"\"London Heathrow\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT International_Passengers , Domestic_Passengers FROM airport WHERE Airport_Name = \"London Heathrow\"",
"query_toks": [
"SELECT",
"International_Passengers",
",",
"Domestic_Passengers",
"FROM",
"airport",
"WHERE",
"Airport_Name",
"=",
"``",
"London",
"Heathrow",
"''"
],
"query_toks_no_value": [
"select",
"international_passengers",
",",
"domestic_passengers",
"from",
"airport",
"where",
"airport_name",
"=",
"value"
],
"question": "Combien de passagers internationaux et nationaux y a-t-il à l'aéroport de \"Londres Heathrow\"?",
"sql": {
"from": {
"table_units": [
[
"table_unit",
3
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
21,
false
],
null
]
],
[
0,
[
0,
[
0,
22,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
18,
false
],
null
],
"\"London Heathrow\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT sum(Domestic_Passengers) FROM airport WHERE Airport_Name LIKE \"%London%\"",
"query_toks": [
"SELECT",
"sum",
"(",
"Domestic_Passengers",
")",
"FROM",
"airport",
"WHERE",
"Airport_Name",
"LIKE",
"``",
"%",
"London",
"%",
"''"
],
"query_toks_no_value": [
"select",
"sum",
"(",
"domestic_passengers",
")",
"from",
"airport",
"where",
"airport_name",
"like",
"value"
],
"question": "Quel est le nombre total de passagers nationaux des aéroports qui contiennent le mot \"Londres\".",
"sql": {
"from": {
"table_units": [
[
"table_unit",
3
]
],
"conds": []
},
"select": [
false,
[
[
4,
[
0,
[
0,
22,
false
],
null
]
]
]
],
"where": [
[
false,
9,
[
0,
[
0,
18,
false
],
null
],
"\"%London%\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT sum(Domestic_Passengers) FROM airport WHERE Airport_Name LIKE \"%London%\"",
"query_toks": [
"SELECT",
"sum",
"(",
"Domestic_Passengers",
")",
"FROM",
"airport",
"WHERE",
"Airport_Name",
"LIKE",
"``",
"%",
"London",
"%",
"''"
],
"query_toks_no_value": [
"select",
"sum",
"(",
"domestic_passengers",
")",
"from",
"airport",
"where",
"airport_name",
"like",
"value"
],
"question": "Quel est le nombre total de passagers nationaux dans tous les aéroports de \"Londres\"?",
"sql": {
"from": {
"table_units": [
[
"table_unit",
3
]
],
"conds": []
},
"select": [
false,
[
[
4,
[
0,
[
0,
22,
false
],
null
]
]
]
],
"where": [
[
false,
9,
[
0,
[
0,
18,
false
],
null
],
"\"%London%\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT max(Transit_Passengers) , min(Transit_Passengers) FROM airport",
"query_toks": [
"SELECT",
"max",
"(",
"Transit_Passengers",
")",
",",
"min",
"(",
"Transit_Passengers",
")",
"FROM",
"airport"
],
"query_toks_no_value": [
"select",
"max",
"(",
"transit_passengers",
")",
",",
"min",
"(",
"transit_passengers",
")",
"from",
"airport"
],
"question": "Quel est le nombre maximum et minimum de passagers en transit de tous les aéroports.",
"sql": {
"from": {
"table_units": [
[
"table_unit",
3
]
],
"conds": []
},
"select": [
false,
[
[
1,
[
0,
[
0,
23,
false
],
null
]
],
[
2,
[
0,
[
0,
23,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT max(Transit_Passengers) , min(Transit_Passengers) FROM airport",
"query_toks": [
"SELECT",
"max",
"(",
"Transit_Passengers",
")",
",",
"min",
"(",
"Transit_Passengers",
")",
"FROM",
"airport"
],
"query_toks_no_value": [
"select",
"max",
"(",
"transit_passengers",
")",
",",
"min",
"(",
"transit_passengers",
")",
"from",
"airport"
],
"question": "Quel est le nombre maximum et minimum de passagers en transit pour tous les aéroports?",
"sql": {
"from": {
"table_units": [
[
"table_unit",
3
]
],
"conds": []
},
"select": [
false,
[
[
1,
[
0,
[
0,
23,
false
],
null
]
],
[
2,
[
0,
[
0,
23,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT Name FROM pilot WHERE Age >= 25",
"query_toks": [
"SELECT",
"Name",
"FROM",
"pilot",
"WHERE",
"Age",
">",
"=",
"25"
],
"query_toks_no_value": [
"select",
"name",
"from",
"pilot",
"where",
"age",
">",
"=",
"value"
],
"question": "Quel est le nom des pilotes âgés de 25 ans ou plus?",
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
2,
false
],
null
]
]
]
],
"where": [
[
false,
5,
[
0,
[
0,
3,
false
],
null
],
25.0,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT Name FROM pilot WHERE Age >= 25",
"query_toks": [
"SELECT",
"Name",
"FROM",
"pilot",
"WHERE",
"Age",
">",
"=",
"25"
],
"query_toks_no_value": [
"select",
"name",
"from",
"pilot",
"where",
"age",
">",
"=",
"value"
],
"question": "quel est le nom de chaque pilote âgé d'au moins 25 ans?",
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
2,
false
],
null
]
]
]
],
"where": [
[
false,
5,
[
0,
[
0,
3,
false
],
null
],
25.0,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT Name FROM pilot ORDER BY Name ASC",
"query_toks": [
"SELECT",
"Name",
"FROM",
"pilot",
"ORDER",
"BY",
"Name",
"ASC"
],
"query_toks_no_value": [
"select",
"name",
"from",
"pilot",
"order",
"by",
"name",
"asc"
],
"question": "Répertoriez tous les noms de pilotes par ordre alphabétique croissant.",
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
2,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"asc",
[
[
0,
[
0,
2,
false
],
null
]
]
],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT Name FROM pilot ORDER BY Name ASC",
"query_toks": [
"SELECT",
"Name",
"FROM",
"pilot",
"ORDER",
"BY",
"Name",
"ASC"
],
"query_toks_no_value": [
"select",
"name",
"from",
"pilot",
"order",
"by",
"name",
"asc"
],
"question": "Quels sont les noms des pilotes par ordre alphabétique?",
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
2,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"asc",
[
[
0,
[
0,
2,
false
],
null
]
]
],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT Name FROM pilot WHERE Age <= 30 ORDER BY Name DESC",
"query_toks": [
"SELECT",
"Name",
"FROM",
"pilot",
"WHERE",
"Age",
"<",
"=",
"30",
"ORDER",
"BY",
"Name",
"DESC"
],
"query_toks_no_value": [
"select",
"name",
"from",
"pilot",
"where",
"age",
"<",
"=",
"value",
"order",
"by",
"name",
"desc"
],
"question": "Énumérez les noms de tous les pilotes âgés de 30 ans ou moins par ordre alphabétique décroissant.",
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
2,
false
],
null
]
]
]
],
"where": [
[
false,
6,
[
0,
[
0,
3,
false
],
null
],
30.0,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
0,
2,
false
],
null
]
]
],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT Name FROM pilot WHERE Age <= 30 ORDER BY Name DESC",
"query_toks": [
"SELECT",
"Name",
"FROM",
"pilot",
"WHERE",
"Age",
"<",
"=",
"30",
"ORDER",
"BY",
"Name",
"DESC"
],
"query_toks_no_value": [
"select",
"name",
"from",
"pilot",
"where",
"age",
"<",
"=",
"value",
"order",
"by",
"name",
"desc"
],
"question": "Quels sont les noms de tous les pilotes de 30 ans ou jeunes par ordre alphabétique décroissant?",
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
2,
false
],
null
]
]
]
],
"where": [
[
false,
6,
[
0,
[
0,
3,
false
],
null
],
30.0,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
0,
2,
false
],
null
]
]
],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Airport_Name = \"London Gatwick\"",
"query_toks": [
"SELECT",
"T1.Aircraft",
"FROM",
"aircraft",
"AS",
"T1",
"JOIN",
"airport_aircraft",
"AS",
"T2",
"ON",
"T1.Aircraft_ID",
"=",
"T2.Aircraft_ID",
"JOIN",
"airport",
"AS",
"T3",
"ON",
"T2.Airport_ID",
"=",
"T3.Airport_ID",
"WHERE",
"T3.Airport_Name",
"=",
"``",
"London",
"Gatwick",
"''"
],
"query_toks_no_value": [
"select",
"t1",
".",
"aircraft",
"from",
"aircraft",
"as",
"t1",
"join",
"airport_aircraft",
"as",
"t2",
"on",
"t1",
".",
"aircraft_id",
"=",
"t2",
".",
"aircraft_id",
"join",
"airport",
"as",
"t3",
"on",
"t2",
".",
"airport_id",
"=",
"t3",
".",
"airport_id",
"where",
"t3",
".",
"airport_name",
"=",
"value"
],
"question": "Veuillez indiquer les noms des avions associés à l'aéroport avec le nom \"London Gatwick\".",
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
],
[
"table_unit",
4
],
[
"table_unit",
3
]
],
"conds": [
[
false,
2,
[
0,
[
0,
4,
false
],
null
],
[
0,
28,
false
],
null
],
"and",
[
false,
2,
[
0,
[
0,
27,
false
],
null
],
[
0,
17,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
5,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
18,
false
],
null
],
"\"London Gatwick\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Airport_Name = \"London Gatwick\"",
"query_toks": [
"SELECT",
"T1.Aircraft",
"FROM",
"aircraft",
"AS",
"T1",
"JOIN",
"airport_aircraft",
"AS",
"T2",
"ON",
"T1.Aircraft_ID",
"=",
"T2.Aircraft_ID",
"JOIN",
"airport",
"AS",
"T3",
"ON",
"T2.Airport_ID",
"=",
"T3.Airport_ID",
"WHERE",
"T3.Airport_Name",
"=",
"``",
"London",
"Gatwick",
"''"
],
"query_toks_no_value": [
"select",
"t1",
".",
"aircraft",
"from",
"aircraft",
"as",
"t1",
"join",
"airport_aircraft",
"as",
"t2",
"on",
"t1",
".",
"aircraft_id",
"=",
"t2",
".",
"aircraft_id",
"join",
"airport",
"as",
"t3",
"on",
"t2",
".",
"airport_id",
"=",
"t3",
".",
"airport_id",
"where",
"t3",
".",
"airport_name",
"=",
"value"
],
"question": "Quels sont les noms de tous les avions associés à l'aéroport de \"London Gatwick\"?",
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
],
[
"table_unit",
4
],
[
"table_unit",
3
]
],
"conds": [
[
false,
2,
[
0,
[
0,
4,
false
],
null
],
[
0,
28,
false
],
null
],
"and",
[
false,
2,
[
0,
[
0,
27,
false
],
null
],
[
0,
17,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
5,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
18,
false
],
null
],
"\"London Gatwick\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT T1.Aircraft , T1.Description FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Total_Passengers > 10000000",
"query_toks": [
"SELECT",
"T1.Aircraft",
",",
"T1.Description",
"FROM",
"aircraft",
"AS",
"T1",
"JOIN",
"airport_aircraft",
"AS",
"T2",
"ON",
"T1.Aircraft_ID",
"=",
"T2.Aircraft_ID",
"JOIN",
"airport",
"AS",
"T3",
"ON",
"T2.Airport_ID",
"=",
"T3.Airport_ID",
"WHERE",
"T3.Total_Passengers",
">",
"10000000"
],
"query_toks_no_value": [
"select",
"t1",
".",
"aircraft",
",",
"t1",
".",
"description",
"from",
"aircraft",
"as",
"t1",
"join",
"airport_aircraft",
"as",
"t2",
"on",
"t1",
".",
"aircraft_id",
"=",
"t2",
".",
"aircraft_id",
"join",
"airport",
"as",
"t3",
"on",
"t2",
".",
"airport_id",
"=",
"t3",
".",
"airport_id",
"where",
"t3",
".",
"total_passengers",
">",
"value"
],
"question": "Veuillez indiquer les noms et les descriptions des avions associés aux aéroports qui ont un nombre total de passagers supérieur à 10 000 000.",
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
],
[
"table_unit",
4
],
[
"table_unit",
3
]
],
"conds": [
[
false,
2,
[
0,
[
0,
4,
false
],
null
],
[
0,
28,
false
],
null
],
"and",
[
false,
2,
[
0,
[
0,
27,
false
],
null
],
[
0,
17,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
5,
false
],
null
]
],
[
0,
[
0,
[
0,
6,
false
],
null
]
]
]
],
"where": [
[
false,
3,
[
0,
[
0,
19,
false
],
null
],
10000000.0,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT T1.Aircraft , T1.Description FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Total_Passengers > 10000000",
"query_toks": [
"SELECT",
"T1.Aircraft",
",",
"T1.Description",
"FROM",
"aircraft",
"AS",
"T1",
"JOIN",
"airport_aircraft",
"AS",
"T2",
"ON",
"T1.Aircraft_ID",
"=",
"T2.Aircraft_ID",
"JOIN",
"airport",
"AS",
"T3",
"ON",
"T2.Airport_ID",
"=",
"T3.Airport_ID",
"WHERE",
"T3.Total_Passengers",
">",
"10000000"
],
"query_toks_no_value": [
"select",
"t1",
".",
"aircraft",
",",
"t1",
".",
"description",
"from",
"aircraft",
"as",
"t1",
"join",
"airport_aircraft",
"as",
"t2",
"on",
"t1",
".",
"aircraft_id",
"=",
"t2",
".",
"aircraft_id",
"join",
"airport",
"as",
"t3",
"on",
"t2",
".",
"airport_id",
"=",
"t3",
".",
"airport_id",
"where",
"t3",
".",
"total_passengers",
">",
"value"
],
"question": "Quels sont les noms et les descriptions des avions associés à un aéroport qui compte plus de 10 000 000 passagers au total?",
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
],
[
"table_unit",
4
],
[
"table_unit",
3
]
],
"conds": [
[
false,
2,
[
0,
[
0,
4,
false
],
null
],
[
0,
28,
false
],
null
],
"and",
[
false,
2,
[
0,
[
0,
27,
false
],
null
],
[
0,
17,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
5,
false
],
null
]
],
[
0,
[
0,
[
0,
6,
false
],
null
]
]
]
],
"where": [
[
false,
3,
[
0,
[
0,
19,
false
],
null
],
10000000.0,
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT avg(T3.Total_Passengers) FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T1.Aircraft = \"Robinson R-22\"",
"query_toks": [
"SELECT",
"avg",
"(",
"T3.Total_Passengers",
")",
"FROM",
"aircraft",
"AS",
"T1",
"JOIN",
"airport_aircraft",
"AS",
"T2",
"ON",
"T1.Aircraft_ID",
"=",
"T2.Aircraft_ID",
"JOIN",
"airport",
"AS",
"T3",
"ON",
"T2.Airport_ID",
"=",
"T3.Airport_ID",
"WHERE",
"T1.Aircraft",
"=",
"``",
"Robinson",
"R-22",
"''"
],
"query_toks_no_value": [
"select",
"avg",
"(",
"t3",
".",
"total_passengers",
")",
"from",
"aircraft",
"as",
"t1",
"join",
"airport_aircraft",
"as",
"t2",
"on",
"t1",
".",
"aircraft_id",
"=",
"t2",
".",
"aircraft_id",
"join",
"airport",
"as",
"t3",
"on",
"t2",
".",
"airport_id",
"=",
"t3",
".",
"airport_id",
"where",
"t1",
".",
"aircraft",
"=",
"value"
],
"question": "Quel est le nombre total moyen de passagers des aéroports associés à l'avion \"Robinson R-22\"?",
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
],
[
"table_unit",
4
],
[
"table_unit",
3
]
],
"conds": [
[
false,
2,
[
0,
[
0,
4,
false
],
null
],
[
0,
28,
false
],
null
],
"and",
[
false,
2,
[
0,
[
0,
27,
false
],
null
],
[
0,
17,
false
],
null
]
]
},
"select": [
false,
[
[
5,
[
0,
[
0,
19,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
5,
false
],
null
],
"\"Robinson R-22\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT avg(T3.Total_Passengers) FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T1.Aircraft = \"Robinson R-22\"",
"query_toks": [
"SELECT",
"avg",
"(",
"T3.Total_Passengers",
")",
"FROM",
"aircraft",
"AS",
"T1",
"JOIN",
"airport_aircraft",
"AS",
"T2",
"ON",
"T1.Aircraft_ID",
"=",
"T2.Aircraft_ID",
"JOIN",
"airport",
"AS",
"T3",
"ON",
"T2.Airport_ID",
"=",
"T3.Airport_ID",
"WHERE",
"T1.Aircraft",
"=",
"``",
"Robinson",
"R-22",
"''"
],
"query_toks_no_value": [
"select",
"avg",
"(",
"t3",
".",
"total_passengers",
")",
"from",
"aircraft",
"as",
"t1",
"join",
"airport_aircraft",
"as",
"t2",
"on",
"t1",
".",
"aircraft_id",
"=",
"t2",
".",
"aircraft_id",
"join",
"airport",
"as",
"t3",
"on",
"t2",
".",
"airport_id",
"=",
"t3",
".",
"airport_id",
"where",
"t1",
".",
"aircraft",
"=",
"value"
],
"question": "Quel est le nombre total moyen de passagers pour tous les aéroports que l'avion \"Robinson R-22\" visite?",
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
],
[
"table_unit",
4
],
[
"table_unit",
3
]
],
"conds": [
[
false,
2,
[
0,
[
0,
4,
false
],
null
],
[
0,
28,
false
],
null
],
"and",
[
false,
2,
[
0,
[
0,
27,
false
],
null
],
[
0,
17,
false
],
null
]
]
},
"select": [
false,
[
[
5,
[
0,
[
0,
19,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
5,
false
],
null
],
"\"Robinson R-22\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT T2.Location , T1.Aircraft FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID = T2.Winning_Aircraft",
"query_toks": [
"SELECT",
"T2.Location",
",",
"T1.Aircraft",
"FROM",
"aircraft",
"AS",
"T1",
"JOIN",
"MATCH",
"AS",
"T2",
"ON",
"T1.Aircraft_ID",
"=",
"T2.Winning_Aircraft"
],
"query_toks_no_value": [
"select",
"t2",
".",
"location",
",",
"t1",
".",
"aircraft",
"from",
"aircraft",
"as",
"t1",
"join",
"match",
"as",
"t2",
"on",
"t1",
".",
"aircraft_id",
"=",
"t2",
".",
"winning_aircraft"
],
"question": "Veuillez indiquer l'emplacement et le nom de l'avion gagnant.",
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
],
[
"table_unit",
2
]
],
"conds": [
[
false,
2,
[
0,
[
0,
4,
false
],
null
],
[
0,
16,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
11,
false
],
null
]
],
[
0,
[
0,
[
0,
5,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT T2.Location , T1.Aircraft FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID = T2.Winning_Aircraft",
"query_toks": [
"SELECT",
"T2.Location",
",",
"T1.Aircraft",
"FROM",
"aircraft",
"AS",
"T1",
"JOIN",
"MATCH",
"AS",
"T2",
"ON",
"T1.Aircraft_ID",
"=",
"T2.Winning_Aircraft"
],
"query_toks_no_value": [
"select",
"t2",
".",
"location",
",",
"t1",
".",
"aircraft",
"from",
"aircraft",
"as",
"t1",
"join",
"match",
"as",
"t2",
"on",
"t1",
".",
"aircraft_id",
"=",
"t2",
".",
"winning_aircraft"
],
"question": "Quel est l'emplacement et le nom de l'avion gagnant?",
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
],
[
"table_unit",
2
]
],
"conds": [
[
false,
2,
[
0,
[
0,
4,
false
],
null
],
[
0,
16,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
11,
false
],
null
]
],
[
0,
[
0,
[
0,
5,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT T1.Aircraft FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID = T2.Winning_Aircraft GROUP BY T2.Winning_Aircraft ORDER BY COUNT(*) DESC LIMIT 1",
"query_toks": [
"SELECT",
"T1.Aircraft",
"FROM",
"aircraft",
"AS",
"T1",
"JOIN",
"MATCH",
"AS",
"T2",
"ON",
"T1.Aircraft_ID",
"=",
"T2.Winning_Aircraft",
"GROUP",
"BY",
"T2.Winning_Aircraft",
"ORDER",
"BY",
"COUNT",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"t1",
".",
"aircraft",
"from",
"aircraft",
"as",
"t1",
"join",
"match",
"as",
"t2",
"on",
"t1",
".",
"aircraft_id",
"=",
"t2",
".",
"winning_aircraft",
"group",
"by",
"t2",
".",
"winning_aircraft",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
],
"question": "Indiquez le nom de l'avion qui a été nommé avion gagnant le plus de fois.",
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
],
[
"table_unit",
2
]
],
"conds": [
[
false,
2,
[
0,
[
0,
4,
false
],
null
],
[
0,
16,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
5,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
16,
false
]
],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
3,
0,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT T1.Aircraft FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID = T2.Winning_Aircraft GROUP BY T2.Winning_Aircraft ORDER BY COUNT(*) DESC LIMIT 1",
"query_toks": [
"SELECT",
"T1.Aircraft",
"FROM",
"aircraft",
"AS",
"T1",
"JOIN",
"MATCH",
"AS",
"T2",
"ON",
"T1.Aircraft_ID",
"=",
"T2.Winning_Aircraft",
"GROUP",
"BY",
"T2.Winning_Aircraft",
"ORDER",
"BY",
"COUNT",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"t1",
".",
"aircraft",
"from",
"aircraft",
"as",
"t1",
"join",
"match",
"as",
"t2",
"on",
"t1",
".",
"aircraft_id",
"=",
"t2",
".",
"winning_aircraft",
"group",
"by",
"t2",
".",
"winning_aircraft",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
],
"question": "Quel est le nom de l'avion qui a le plus remporté un prix?",
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
],
[
"table_unit",
2
]
],
"conds": [
[
false,
2,
[
0,
[
0,
4,
false
],
null
],
[
0,
16,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
5,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
16,
false
]
],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
3,
0,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT T1.Aircraft , COUNT(*) FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID = T2.Winning_Aircraft GROUP BY T2.Winning_Aircraft",
"query_toks": [
"SELECT",
"T1.Aircraft",
",",
"COUNT",
"(",
"*",
")",
"FROM",
"aircraft",
"AS",
"T1",
"JOIN",
"MATCH",
"AS",
"T2",
"ON",
"T1.Aircraft_ID",
"=",
"T2.Winning_Aircraft",
"GROUP",
"BY",
"T2.Winning_Aircraft"
],
"query_toks_no_value": [
"select",
"t1",
".",
"aircraft",
",",
"count",
"(",
"*",
")",
"from",
"aircraft",
"as",
"t1",
"join",
"match",
"as",
"t2",
"on",
"t1",
".",
"aircraft_id",
"=",
"t2",
".",
"winning_aircraft",
"group",
"by",
"t2",
".",
"winning_aircraft"
],
"question": "Énumérez les noms des avions et le nombre de fois où ils ont remporté des matchs.",
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
],
[
"table_unit",
2
]
],
"conds": [
[
false,
2,
[
0,
[
0,
4,
false
],
null
],
[
0,
16,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
5,
false
],
null
]
],
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
16,
false
]
],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT T1.Aircraft , COUNT(*) FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID = T2.Winning_Aircraft GROUP BY T2.Winning_Aircraft",
"query_toks": [
"SELECT",
"T1.Aircraft",
",",
"COUNT",
"(",
"*",
")",
"FROM",
"aircraft",
"AS",
"T1",
"JOIN",
"MATCH",
"AS",
"T2",
"ON",
"T1.Aircraft_ID",
"=",
"T2.Winning_Aircraft",
"GROUP",
"BY",
"T2.Winning_Aircraft"
],
"query_toks_no_value": [
"select",
"t1",
".",
"aircraft",
",",
"count",
"(",
"*",
")",
"from",
"aircraft",
"as",
"t1",
"join",
"match",
"as",
"t2",
"on",
"t1",
".",
"aircraft_id",
"=",
"t2",
".",
"winning_aircraft",
"group",
"by",
"t2",
".",
"winning_aircraft"
],
"question": "Pour chaque avion qui a remporté un prix, quel est son nom et combien de fois a-t-il gagné?",
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
],
[
"table_unit",
2
]
],
"conds": [
[
false,
2,
[
0,
[
0,
4,
false
],
null
],
[
0,
16,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
5,
false
],
null
]
],
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
16,
false
]
],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT Name FROM pilot ORDER BY Age DESC",
"query_toks": [
"SELECT",
"Name",
"FROM",
"pilot",
"ORDER",
"BY",
"Age",
"DESC"
],
"query_toks_no_value": [
"select",
"name",
"from",
"pilot",
"order",
"by",
"age",
"desc"
],
"question": "Répertoriez les noms de tous les pilotes par ordre décroissant d'âge.",
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
2,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
0,
3,
false
],
null
]
]
],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT Name FROM pilot ORDER BY Age DESC",
"query_toks": [
"SELECT",
"Name",
"FROM",
"pilot",
"ORDER",
"BY",
"Age",
"DESC"
],
"query_toks_no_value": [
"select",
"name",
"from",
"pilot",
"order",
"by",
"age",
"desc"
],
"question": "Quels sont les noms de tous les pilotes classés par âge décroissant?",
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
2,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
0,
3,
false
],
null
]
]
],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT T1.Aircraft FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID = T2.Winning_Aircraft GROUP BY T2.Winning_Aircraft HAVING COUNT(*) >= 2",
"query_toks": [
"SELECT",
"T1.Aircraft",
"FROM",
"aircraft",
"AS",
"T1",
"JOIN",
"MATCH",
"AS",
"T2",
"ON",
"T1.Aircraft_ID",
"=",
"T2.Winning_Aircraft",
"GROUP",
"BY",
"T2.Winning_Aircraft",
"HAVING",
"COUNT",
"(",
"*",
")",
">",
"=",
"2"
],
"query_toks_no_value": [
"select",
"t1",
".",
"aircraft",
"from",
"aircraft",
"as",
"t1",
"join",
"match",
"as",
"t2",
"on",
"t1",
".",
"aircraft_id",
"=",
"t2",
".",
"winning_aircraft",
"group",
"by",
"t2",
".",
"winning_aircraft",
"having",
"count",
"(",
"*",
")",
">",
"=",
"value"
],
"question": "Énumérez les noms des avions et qui ont remporté des matchs au moins deux fois.",
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
],
[
"table_unit",
2
]
],
"conds": [
[
false,
2,
[
0,
[
0,
4,
false
],
null
],
[
0,
16,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
5,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
16,
false
]
],
"having": [
[
false,
5,
[
0,
[
3,
0,
false
],
null
],
2.0,
null
]
],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT T1.Aircraft FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID = T2.Winning_Aircraft GROUP BY T2.Winning_Aircraft HAVING COUNT(*) >= 2",
"query_toks": [
"SELECT",
"T1.Aircraft",
"FROM",
"aircraft",
"AS",
"T1",
"JOIN",
"MATCH",
"AS",
"T2",
"ON",
"T1.Aircraft_ID",
"=",
"T2.Winning_Aircraft",
"GROUP",
"BY",
"T2.Winning_Aircraft",
"HAVING",
"COUNT",
"(",
"*",
")",
">",
"=",
"2"
],
"query_toks_no_value": [
"select",
"t1",
".",
"aircraft",
"from",
"aircraft",
"as",
"t1",
"join",
"match",
"as",
"t2",
"on",
"t1",
".",
"aircraft_id",
"=",
"t2",
".",
"winning_aircraft",
"group",
"by",
"t2",
".",
"winning_aircraft",
"having",
"count",
"(",
"*",
")",
">",
"=",
"value"
],
"question": "Quels sont les noms de tous les avions qui ont remporté un match au moins deux fois?",
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
],
[
"table_unit",
2
]
],
"conds": [
[
false,
2,
[
0,
[
0,
4,
false
],
null
],
[
0,
16,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
5,
false
],
null
]
]
]
],
"where": [],
"groupBy": [
[
0,
16,
false
]
],
"having": [
[
false,
5,
[
0,
[
3,
0,
false
],
null
],
2.0,
null
]
],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT Aircraft FROM aircraft WHERE Aircraft_ID NOT IN (SELECT Winning_Aircraft FROM MATCH)",
"query_toks": [
"SELECT",
"Aircraft",
"FROM",
"aircraft",
"WHERE",
"Aircraft_ID",
"NOT",
"IN",
"(",
"SELECT",
"Winning_Aircraft",
"FROM",
"MATCH",
")"
],
"query_toks_no_value": [
"select",
"aircraft",
"from",
"aircraft",
"where",
"aircraft_id",
"not",
"in",
"(",
"select",
"winning_aircraft",
"from",
"match",
")"
],
"question": "Listez les noms des avions et qui n'ont remporté aucun match.",
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
5,
false
],
null
]
]
]
],
"where": [
[
true,
8,
[
0,
[
0,
4,
false
],
null
],
{
"from": {
"table_units": [
[
"table_unit",
2
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
16,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
},
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT Aircraft FROM aircraft WHERE Aircraft_ID NOT IN (SELECT Winning_Aircraft FROM MATCH)",
"query_toks": [
"SELECT",
"Aircraft",
"FROM",
"aircraft",
"WHERE",
"Aircraft_ID",
"NOT",
"IN",
"(",
"SELECT",
"Winning_Aircraft",
"FROM",
"MATCH",
")"
],
"query_toks_no_value": [
"select",
"aircraft",
"from",
"aircraft",
"where",
"aircraft_id",
"not",
"in",
"(",
"select",
"winning_aircraft",
"from",
"match",
")"
],
"question": "Quels sont les noms de tous les avions qui n'ont jamais gagné de match?",
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
5,
false
],
null
]
]
]
],
"where": [
[
true,
8,
[
0,
[
0,
4,
false
],
null
],
{
"from": {
"table_units": [
[
"table_unit",
2
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
16,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
},
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Airport_Name = \"London Heathrow\" INTERSECT SELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Airport_Name = \"London Gatwick\"",
"query_toks": [
"SELECT",
"T1.Aircraft",
"FROM",
"aircraft",
"AS",
"T1",
"JOIN",
"airport_aircraft",
"AS",
"T2",
"ON",
"T1.Aircraft_ID",
"=",
"T2.Aircraft_ID",
"JOIN",
"airport",
"AS",
"T3",
"ON",
"T2.Airport_ID",
"=",
"T3.Airport_ID",
"WHERE",
"T3.Airport_Name",
"=",
"``",
"London",
"Heathrow",
"''",
"INTERSECT",
"SELECT",
"T1.Aircraft",
"FROM",
"aircraft",
"AS",
"T1",
"JOIN",
"airport_aircraft",
"AS",
"T2",
"ON",
"T1.Aircraft_ID",
"=",
"T2.Aircraft_ID",
"JOIN",
"airport",
"AS",
"T3",
"ON",
"T2.Airport_ID",
"=",
"T3.Airport_ID",
"WHERE",
"T3.Airport_Name",
"=",
"``",
"London",
"Gatwick",
"''"
],
"query_toks_no_value": [
"select",
"t1",
".",
"aircraft",
"from",
"aircraft",
"as",
"t1",
"join",
"airport_aircraft",
"as",
"t2",
"on",
"t1",
".",
"aircraft_id",
"=",
"t2",
".",
"aircraft_id",
"join",
"airport",
"as",
"t3",
"on",
"t2",
".",
"airport_id",
"=",
"t3",
".",
"airport_id",
"where",
"t3",
".",
"airport_name",
"=",
"value",
"intersect",
"select",
"t1",
".",
"aircraft",
"from",
"aircraft",
"as",
"t1",
"join",
"airport_aircraft",
"as",
"t2",
"on",
"t1",
".",
"aircraft_id",
"=",
"t2",
".",
"aircraft_id",
"join",
"airport",
"as",
"t3",
"on",
"t2",
".",
"airport_id",
"=",
"t3",
".",
"airport_id",
"where",
"t3",
".",
"airport_name",
"=",
"value"
],
"question": "Affichez les noms des avions associés à la fois à un aéroport nommé \"London Heathrow\" et à un aéroport nommé \"London Gatwick\"",
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
],
[
"table_unit",
4
],
[
"table_unit",
3
]
],
"conds": [
[
false,
2,
[
0,
[
0,
4,
false
],
null
],
[
0,
28,
false
],
null
],
"and",
[
false,
2,
[
0,
[
0,
27,
false
],
null
],
[
0,
17,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
5,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
18,
false
],
null
],
"\"London Heathrow\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": {
"from": {
"table_units": [
[
"table_unit",
1
],
[
"table_unit",
4
],
[
"table_unit",
3
]
],
"conds": [
[
false,
2,
[
0,
[
0,
4,
false
],
null
],
[
0,
28,
false
],
null
],
"and",
[
false,
2,
[
0,
[
0,
27,
false
],
null
],
[
0,
17,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
5,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
18,
false
],
null
],
"\"London Gatwick\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
},
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Airport_Name = \"London Heathrow\" INTERSECT SELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Airport_Name = \"London Gatwick\"",
"query_toks": [
"SELECT",
"T1.Aircraft",
"FROM",
"aircraft",
"AS",
"T1",
"JOIN",
"airport_aircraft",
"AS",
"T2",
"ON",
"T1.Aircraft_ID",
"=",
"T2.Aircraft_ID",
"JOIN",
"airport",
"AS",
"T3",
"ON",
"T2.Airport_ID",
"=",
"T3.Airport_ID",
"WHERE",
"T3.Airport_Name",
"=",
"``",
"London",
"Heathrow",
"''",
"INTERSECT",
"SELECT",
"T1.Aircraft",
"FROM",
"aircraft",
"AS",
"T1",
"JOIN",
"airport_aircraft",
"AS",
"T2",
"ON",
"T1.Aircraft_ID",
"=",
"T2.Aircraft_ID",
"JOIN",
"airport",
"AS",
"T3",
"ON",
"T2.Airport_ID",
"=",
"T3.Airport_ID",
"WHERE",
"T3.Airport_Name",
"=",
"``",
"London",
"Gatwick",
"''"
],
"query_toks_no_value": [
"select",
"t1",
".",
"aircraft",
"from",
"aircraft",
"as",
"t1",
"join",
"airport_aircraft",
"as",
"t2",
"on",
"t1",
".",
"aircraft_id",
"=",
"t2",
".",
"aircraft_id",
"join",
"airport",
"as",
"t3",
"on",
"t2",
".",
"airport_id",
"=",
"t3",
".",
"airport_id",
"where",
"t3",
".",
"airport_name",
"=",
"value",
"intersect",
"select",
"t1",
".",
"aircraft",
"from",
"aircraft",
"as",
"t1",
"join",
"airport_aircraft",
"as",
"t2",
"on",
"t1",
".",
"aircraft_id",
"=",
"t2",
".",
"aircraft_id",
"join",
"airport",
"as",
"t3",
"on",
"t2",
".",
"airport_id",
"=",
"t3",
".",
"airport_id",
"where",
"t3",
".",
"airport_name",
"=",
"value"
],
"question": "Quels sont les noms de tous les avions associés aux aéroports de \"Londres Heathrow\" et \"Gatwick\"?",
"sql": {
"from": {
"table_units": [
[
"table_unit",
1
],
[
"table_unit",
4
],
[
"table_unit",
3
]
],
"conds": [
[
false,
2,
[
0,
[
0,
4,
false
],
null
],
[
0,
28,
false
],
null
],
"and",
[
false,
2,
[
0,
[
0,
27,
false
],
null
],
[
0,
17,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
5,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
18,
false
],
null
],
"\"London Heathrow\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": {
"from": {
"table_units": [
[
"table_unit",
1
],
[
"table_unit",
4
],
[
"table_unit",
3
]
],
"conds": [
[
false,
2,
[
0,
[
0,
4,
false
],
null
],
[
0,
28,
false
],
null
],
"and",
[
false,
2,
[
0,
[
0,
27,
false
],
null
],
[
0,
17,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
5,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
18,
false
],
null
],
"\"London Gatwick\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
},
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT * FROM airport ORDER BY International_Passengers DESC LIMIT 1",
"query_toks": [
"SELECT",
"*",
"FROM",
"airport",
"ORDER",
"BY",
"International_Passengers",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"*",
"from",
"airport",
"order",
"by",
"international_passengers",
"desc",
"limit",
"value"
],
"question": "Affichez toutes les informations sur l'aéroport qui a le plus grand nombre de passagers internationaux.",
"sql": {
"from": {
"table_units": [
[
"table_unit",
3
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
0,
21,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT * FROM airport ORDER BY International_Passengers DESC LIMIT 1",
"query_toks": [
"SELECT",
"*",
"FROM",
"airport",
"ORDER",
"BY",
"International_Passengers",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"*",
"from",
"airport",
"order",
"by",
"international_passengers",
"desc",
"limit",
"value"
],
"question": "Quelles sont toutes les informations sur l'aéroport avec le plus grand nombre de passagers internationaux?",
"sql": {
"from": {
"table_units": [
[
"table_unit",
3
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
0,
21,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT t1.name , t1.age FROM pilot AS t1 JOIN MATCH AS t2 ON t1.pilot_id = t2.winning_pilot WHERE t1.age < 30 GROUP BY t2.winning_pilot ORDER BY count(*) DESC LIMIT 1",
"query_toks": [
"SELECT",
"t1.name",
",",
"t1.age",
"FROM",
"pilot",
"AS",
"t1",
"JOIN",
"MATCH",
"AS",
"t2",
"ON",
"t1.pilot_id",
"=",
"t2.winning_pilot",
"WHERE",
"t1.age",
"<",
"30",
"GROUP",
"BY",
"t2.winning_pilot",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"t1",
".",
"name",
",",
"t1",
".",
"age",
"from",
"pilot",
"as",
"t1",
"join",
"match",
"as",
"t2",
"on",
"t1",
".",
"pilot_id",
"=",
"t2",
".",
"winning_pilot",
"where",
"t1",
".",
"age",
"<",
"value",
"group",
"by",
"t2",
".",
"winning_pilot",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
],
"question": "trouvez le nom et l'âge du pilote qui a remporté le plus de victoires parmi les pilotes de moins de 30 ans.",
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
],
[
"table_unit",
2
]
],
"conds": [
[
false,
2,
[
0,
[
0,
1,
false
],
null
],
[
0,
15,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
2,
false
],
null
]
],
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"where": [
[
false,
4,
[
0,
[
0,
3,
false
],
null
],
30.0,
null
]
],
"groupBy": [
[
0,
15,
false
]
],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
3,
0,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT t1.name , t1.age FROM pilot AS t1 JOIN MATCH AS t2 ON t1.pilot_id = t2.winning_pilot WHERE t1.age < 30 GROUP BY t2.winning_pilot ORDER BY count(*) DESC LIMIT 1",
"query_toks": [
"SELECT",
"t1.name",
",",
"t1.age",
"FROM",
"pilot",
"AS",
"t1",
"JOIN",
"MATCH",
"AS",
"t2",
"ON",
"t1.pilot_id",
"=",
"t2.winning_pilot",
"WHERE",
"t1.age",
"<",
"30",
"GROUP",
"BY",
"t2.winning_pilot",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"t1",
".",
"name",
",",
"t1",
".",
"age",
"from",
"pilot",
"as",
"t1",
"join",
"match",
"as",
"t2",
"on",
"t1",
".",
"pilot_id",
"=",
"t2",
".",
"winning_pilot",
"where",
"t1",
".",
"age",
"<",
"value",
"group",
"by",
"t2",
".",
"winning_pilot",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
],
"question": "Quel est le nom et l'âge du pilote de moins de 30 ans qui a remporté le plus de victoires?",
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
],
[
"table_unit",
2
]
],
"conds": [
[
false,
2,
[
0,
[
0,
1,
false
],
null
],
[
0,
15,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
2,
false
],
null
]
],
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"where": [
[
false,
4,
[
0,
[
0,
3,
false
],
null
],
30.0,
null
]
],
"groupBy": [
[
0,
15,
false
]
],
"having": [],
"orderBy": [
"desc",
[
[
0,
[
3,
0,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT t1.name , t1.age FROM pilot AS t1 JOIN MATCH AS t2 ON t1.pilot_id = t2.winning_pilot ORDER BY t1.age LIMIT 1",
"query_toks": [
"SELECT",
"t1.name",
",",
"t1.age",
"FROM",
"pilot",
"AS",
"t1",
"JOIN",
"MATCH",
"AS",
"t2",
"ON",
"t1.pilot_id",
"=",
"t2.winning_pilot",
"ORDER",
"BY",
"t1.age",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"t1",
".",
"name",
",",
"t1",
".",
"age",
"from",
"pilot",
"as",
"t1",
"join",
"match",
"as",
"t2",
"on",
"t1",
".",
"pilot_id",
"=",
"t2",
".",
"winning_pilot",
"order",
"by",
"t1",
".",
"age",
"limit",
"value"
],
"question": "quel est le nom et l'âge du plus jeune pilote gagnant?",
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
],
[
"table_unit",
2
]
],
"conds": [
[
false,
2,
[
0,
[
0,
1,
false
],
null
],
[
0,
15,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
2,
false
],
null
]
],
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"asc",
[
[
0,
[
0,
3,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT t1.name , t1.age FROM pilot AS t1 JOIN MATCH AS t2 ON t1.pilot_id = t2.winning_pilot ORDER BY t1.age LIMIT 1",
"query_toks": [
"SELECT",
"t1.name",
",",
"t1.age",
"FROM",
"pilot",
"AS",
"t1",
"JOIN",
"MATCH",
"AS",
"t2",
"ON",
"t1.pilot_id",
"=",
"t2.winning_pilot",
"ORDER",
"BY",
"t1.age",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"t1",
".",
"name",
",",
"t1",
".",
"age",
"from",
"pilot",
"as",
"t1",
"join",
"match",
"as",
"t2",
"on",
"t1",
".",
"pilot_id",
"=",
"t2",
".",
"winning_pilot",
"order",
"by",
"t1",
".",
"age",
"limit",
"value"
],
"question": "Quel âge a le plus jeune pilote gagnant et comment s'appelle-t-il?",
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
],
[
"table_unit",
2
]
],
"conds": [
[
false,
2,
[
0,
[
0,
1,
false
],
null
],
[
0,
15,
false
],
null
]
]
},
"select": [
false,
[
[
0,
[
0,
[
0,
2,
false
],
null
]
],
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"where": [],
"groupBy": [],
"having": [],
"orderBy": [
"asc",
[
[
0,
[
0,
3,
false
],
null
]
]
],
"limit": 1,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT name FROM pilot WHERE pilot_id NOT IN (SELECT Winning_Pilot FROM MATCH WHERE country = 'Australia')",
"query_toks": [
"SELECT",
"name",
"FROM",
"pilot",
"WHERE",
"pilot_id",
"NOT",
"IN",
"(",
"SELECT",
"Winning_Pilot",
"FROM",
"MATCH",
"WHERE",
"country",
"=",
"'Australia",
"'",
")"
],
"query_toks_no_value": [
"select",
"name",
"from",
"pilot",
"where",
"pilot_id",
"not",
"in",
"(",
"select",
"winning_pilot",
"from",
"match",
"where",
"country",
"=",
"value",
")"
],
"question": "trouvez le nom des pilotes qui n'ont pas remporté les matchs organisés dans le pays de \"Australia\".",
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
2,
false
],
null
]
]
]
],
"where": [
[
true,
8,
[
0,
[
0,
1,
false
],
null
],
{
"from": {
"table_units": [
[
"table_unit",
2
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
15,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
12,
false
],
null
],
"\"Australia\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
},
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
},
{
"db_id": "aircraft",
"query": "SELECT name FROM pilot WHERE pilot_id NOT IN (SELECT Winning_Pilot FROM MATCH WHERE country = 'Australia')",
"query_toks": [
"SELECT",
"name",
"FROM",
"pilot",
"WHERE",
"pilot_id",
"NOT",
"IN",
"(",
"SELECT",
"Winning_Pilot",
"FROM",
"MATCH",
"WHERE",
"country",
"=",
"'Australia",
"'",
")"
],
"query_toks_no_value": [
"select",
"name",
"from",
"pilot",
"where",
"pilot_id",
"not",
"in",
"(",
"select",
"winning_pilot",
"from",
"match",
"where",
"country",
"=",
"value",
")"
],
"question": "Quels sont les noms des pilotes qui n'ont remporté aucun match en \"Australia\"?",
"sql": {
"from": {
"table_units": [
[
"table_unit",
0
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
2,
false
],
null
]
]
]
],
"where": [
[
true,
8,
[
0,
[
0,
1,
false
],
null
],
{
"from": {
"table_units": [
[
"table_unit",
2
]
],
"conds": []
},
"select": [
false,
[
[
0,
[
0,
[
0,
15,
false
],
null
]
]
]
],
"where": [
[
false,
2,
[
0,
[
0,
12,
false
],
null
],
"\"Australia\"",
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
},
null
]
],
"groupBy": [],
"having": [],
"orderBy": [],
"limit": null,
"intersect": null,
"union": null,
"except": null
}
}
]