db_id stringclasses 11
values | instruction stringlengths 1.63k 14k | role stringclasses 45
values | policy unknown | input stringlengths 23 477 | output stringlengths 23 2.22k | difficulty stringclasses 3
values | metadata dict |
|---|---|---|---|---|---|---|---|
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | What was the overall rating for Aaron Mooy on 2016/2/4? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT t2.overall_rating FROM Player AS t1 INNER JOIN Player_Attributes AS t2 ON t1.player_api_id = t2.player_api_id WHERE SUBSTR(t2.`date`, 1, 10) = '2016-02-04' AND t1.player_name = 'Aaron Mooy'",
"permission": "denied",
"query_columns": {
"player_attributes": [
"date",
"overall_r... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | What was the potiential for Francesco Parravicini on 2010/8/30? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT t2.potential FROM Player AS t1 INNER JOIN Player_Attributes AS t2 ON t1.player_api_id = t2.player_api_id WHERE SUBSTR(t2.`date`, 1, 10) = '2010-08-30' AND t1.player_name = 'Francesco Parravicini'",
"permission": "denied",
"query_columns": {
"player_attributes": [
"date",
"pla... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | How was Francesco Migliore's attacking work rate on 2015/5/1? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT t2.attacking_work_rate FROM Player AS t1 INNER JOIN Player_Attributes AS t2 ON t1.player_api_id = t2.player_api_id WHERE t2.`date` LIKE '2015-05-01%' AND t1.player_name = 'Francesco Migliore'",
"permission": "denied",
"query_columns": {
"player_attributes": [
"attacking_work_rate",... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | Tell the defensive work rate for Kevin Berigaud on 2013/2/22. | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT t2.defensive_work_rate FROM Player AS t1 INNER JOIN Player_Attributes AS t2 ON t1.player_fifa_api_id = t2.player_fifa_api_id WHERE SUBSTR(t2.`date`, 1, 10) = '2013-02-22' AND t1.player_name = 'Kevin Berigaud'",
"permission": "denied",
"query_columns": {
"player_attributes": [
"date... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | When was the first time did Kevin Constant have his highest crossing score? Give the date. | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT `date` FROM ( SELECT t2.crossing, t2.`date` FROM Player AS t1 INNER JOIN Player_Attributes AS t2 ON t1.player_fifa_api_id = t2.player_fifa_api_id WHERE t1.player_name = 'Kevin Constant' ORDER BY t2.crossing DESC) ORDER BY date DESC LIMIT 1",
"permission": "denied",
"query_columns": {
"pl... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | What was the build up play speed class for "Willem II" on 2011/2/22? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT t2.buildUpPlaySpeedClass FROM Team AS t1 INNER JOIN Team_Attributes AS t2 ON t1.team_api_id = t2.team_api_id WHERE t1.team_long_name = 'Willem II' AND SUBSTR(t2.`date`, 1, 10) = '2011-02-22'",
"permission": "denied",
"query_columns": {
"team": [
"team_api_id",
"team_long_name... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | How was the build up play dribbling class for "LEI" on 2015/9/10? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT t2.buildUpPlayDribblingClass \nFROM Team AS t1 \nINNER JOIN Team_Attributes AS t2 ON t1.team_api_id = t2.team_api_id \nWHERE t1.team_short_name = 'LEI' \n AND t2.`date` >= '2015-09-10 00:00:00' \n AND t2.`date` < '2015-09-11 00:00:00'",
"permission": "denied",
"query_columns": {
"team"... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | Tell the build Up play passing class for "FC Lorient" on 2010/2/22. | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT t2.buildUpPlayPassingClass FROM Team AS t1 INNER JOIN Team_Attributes AS t2 ON t1.team_api_id = t2.team_api_id WHERE t1.team_long_name = 'FC Lorient' AND t2.`date` LIKE '2010-02-22%'",
"permission": "denied",
"query_columns": {
"team": [
"team_api_id",
"team_long_name"
],... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | State the chance creation passing class for "PEC Zwolle" on 2013/9/20. | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT t2.chanceCreationPassingClass FROM Team AS t1 INNER JOIN Team_Attributes AS t2 ON t1.team_api_id = t2.team_api_id WHERE t1.team_long_name = 'PEC Zwolle' AND SUBSTR(t2.`date`, 1, 10) = '2013-09-20'",
"permission": "denied",
"query_columns": {
"team": [
"team_api_id",
"team_lon... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | What was the chance creation crossing class for "Hull City" on 2010/2/22? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT t2.chanceCreationCrossingClass \nFROM Team AS t1 \nINNER JOIN Team_Attributes AS t2 ON t1.team_api_id = t2.team_api_id \nWHERE t1.team_long_name = 'Hull City' \n AND SUBSTR(t2.`date`, 1, 10) = '2010-02-22'\nORDER BY t2.id ASC \nLIMIT 1;",
"permission": "denied",
"query_columns": {
"team... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | For the team "Hannover 96", what was its defence aggression class on 2015/9/10? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT t2.defenceAggressionClass \nFROM Team AS t1 \nINNER JOIN Team_Attributes AS t2 ON t1.team_api_id = t2.team_api_id \nWHERE t1.team_long_name = 'Hannover 96' \nAND t2.`date` LIKE '2015-09-10%'",
"permission": "denied",
"query_columns": {
"team": [
"team_api_id",
"team_long_name... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | What was the average overall rating for Marko Arnautovic from 2007/2/22 to 2016/4/21? | Sorry, I cannot answer. | challenging | {
"gold_sql": "SELECT CAST(SUM(t2.overall_rating) AS REAL) / COUNT(t2.id) FROM Player AS t1 INNER JOIN Player_Attributes AS t2 ON t1.player_fifa_api_id = t2.player_fifa_api_id WHERE t1.player_name = 'Marko Arnautovic' AND SUBSTR(t2.`date`, 1, 10) BETWEEN '2007-02-22' AND '2016-04-21'",
"permission": "denied",
"qu... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | What percentage is Landon Donovan's overall rating higher than Jordan Bowery on 2013/7/12? | Sorry, I cannot answer. | challenging | {
"gold_sql": "SELECT (SUM(CASE WHEN t1.player_name = 'Landon Donovan' THEN t2.overall_rating ELSE 0 END) * 1.0 - SUM(CASE WHEN t1.player_name = 'Jordan Bowery' THEN t2.overall_rating ELSE 0 END)) * 100 / SUM(CASE WHEN t1.player_name = 'Landon Donovan' THEN t2.overall_rating ELSE 0 END) LvsJ_percent FROM Player AS t1... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | List down the tallest players' name. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT player_name FROM (SELECT player_name, height, DENSE_RANK() OVER (ORDER BY height DESC) as rank FROM Player) WHERE rank = 1",
"permission": "denied",
"query_columns": {
"player": [
"height",
"player_name"
]
},
"missing_columns": {
"player": [
"player_name"
... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | What are the player api id of 10 heaviest players? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT player_api_id FROM Player ORDER BY weight DESC LIMIT 10",
"permission": "denied",
"query_columns": {
"player": [
"player_api_id",
"weight"
]
},
"missing_columns": {
"player": [
"weight"
]
},
"reason": "Missing column permissions: player: weight",
"... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | List down the name of players who are 35 years old and above. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT player_name FROM Player WHERE CAST((JULIANDAY('now') - JULIANDAY(birthday)) AS REAL) / 365 >= 35",
"permission": "denied",
"query_columns": {
"player": [
"birthday",
"player_name"
]
},
"missing_columns": {
"player": [
"player_name"
]
},
"reason": "Mi... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | How many home team goal have been scored by Aaron Lennon? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT SUM(t2.home_team_goal) FROM Player AS t1 INNER JOIN match AS t2 ON t1.player_api_id = t2.away_player_9 WHERE t1.player_name = 'Aaron Lennon'",
"permission": "denied",
"query_columns": {
"player": [
"player_api_id",
"player_name"
],
"match": [
"away_player_9",
... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | Sum up the away team goal scored by both Daan Smith and Filipe Ferreira. | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT SUM(m.away_team_goal)\nFROM `Match` AS m\nWHERE EXISTS (\n SELECT 1\n FROM Player AS p\n WHERE p.player_name IN ('Daan Smith', 'Filipe Ferreira')\n AND p.player_api_id IN (\n m.away_player_1, m.away_player_2, m.away_player_3, m.away_player_4, m.away_player_5,\n m.away_player_6, m... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | Calculate the total home team goal scored by home teams whose player 1's age is 30 years old and below. | SELECT SUM(t2.home_team_goal) FROM Player AS t1 INNER JOIN Match AS t2 ON t1.player_api_id = t2.home_player_1 WHERE datetime(CURRENT_TIMESTAMP, 'localtime') - datetime(T1.birthday) < 31 | moderate | {
"gold_sql": "SELECT SUM(t2.home_team_goal) FROM Player AS t1 INNER JOIN Match AS t2 ON t1.player_api_id = t2.home_player_1 WHERE datetime(CURRENT_TIMESTAMP, 'localtime') - datetime(T1.birthday) < 31",
"permission": "allowed",
"query_columns": {
"player": [
"player_api_id"
],
"match": [
"... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | State the name of the most strongest player. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT DISTINCT t1.player_name FROM Player AS t1 INNER JOIN Player_Attributes AS t2 ON t1.player_api_id = t2.player_api_id WHERE t2.strength = (SELECT MAX(strength) FROM Player_Attributes) ORDER BY t1.player_name ASC;",
"permission": "denied",
"query_columns": {
"player_attributes": [
"pl... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | What is the name of players with the highest potential? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT DISTINCT t1.player_name FROM Player AS t1 INNER JOIN Player_Attributes AS t2 ON t1.player_api_id = t2.player_api_id ORDER BY t2.potential DESC LIMIT 1",
"permission": "denied",
"query_columns": {
"player_attributes": [
"player_api_id",
"potential"
],
"player": [
... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | Who are the players that tend to be attacking when their mates were doing attack moves? List down their name. | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT DISTINCT t1.player_name FROM Player AS t1 INNER JOIN Player_Attributes AS t2 ON t1.player_api_id = t2.player_api_id WHERE t2.attacking_work_rate = 'high'",
"permission": "denied",
"query_columns": {
"player_attributes": [
"attacking_work_rate",
"player_api_id"
],
"pla... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | Among the players with finishing rate of 1, pick the eldest player and state the player's name. | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT DISTINCT t1.player_name\nFROM Player AS t1\nINNER JOIN Player_Attributes AS t2 ON t1.player_api_id = t2.player_api_id\nWHERE t2.finishing = 1\nORDER BY t1.birthday ASC\nLIMIT 1;",
"permission": "denied",
"query_columns": {
"player_attributes": [
"finishing",
"player_api_id"
... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | State the names of players who played in matches held in Belgium. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT DISTINCT p.player_name\nFROM Country AS c\nJOIN `Match` AS m ON c.id = m.country_id\nJOIN Player AS p ON p.player_api_id IN (\n m.home_player_1, m.home_player_2, m.home_player_3, m.home_player_4, m.home_player_5,\n m.home_player_6, m.home_player_7, m.home_player_8, m.home_player_9, m.home_play... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | Locate players with vision scores of 90 and above, state the country of these players. | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT DISTINCT t4.name FROM Player_Attributes AS t1 INNER JOIN Player AS t2 ON t1.player_api_id = t2.player_api_id INNER JOIN Match AS t3 ON t2.player_api_id = t3.home_player_8 INNER JOIN Country AS t4 ON t3.country_id = t4.id WHERE t1.vision > 89",
"permission": "denied",
"query_columns": {
"... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | Which country has the highest average weight among all players who participated in matches in that country? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT T1.name FROM Country AS T1 INNER JOIN Match AS T2 ON T1.id = T2.country_id INNER JOIN Player AS T3 ON T3.player_api_id IN (T2.home_player_1, T2.home_player_2, T2.home_player_3, T2.home_player_4, T2.home_player_5, T2.home_player_6, T2.home_player_7, T2.home_player_8, T2.home_player_9, T2.home_pla... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | List down the long name for slow speed class team. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT DISTINCT t1.team_long_name FROM Team AS t1 INNER JOIN Team_Attributes AS t2 ON t1.team_api_id = t2.team_api_id WHERE t2.buildUpPlaySpeedClass = 'Slow'",
"permission": "denied",
"query_columns": {
"team": [
"team_api_id",
"team_long_name"
],
"team_attributes": [
... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | What are the short name of team who played safe while creating chance of passing? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT DISTINCT t1.team_short_name FROM Team AS t1 INNER JOIN Team_Attributes AS t2 ON t1.team_api_id = t2.team_api_id WHERE t2.chanceCreationPassingClass = 'Safe'",
"permission": "denied",
"query_columns": {
"team": [
"team_api_id",
"team_short_name"
],
"team_attributes": [... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | What is the average height of players who participated in matches in Italy? | SELECT AVG(T1.height) FROM Player AS T1 INNER JOIN Match AS T2 ON T1.player_api_id IN (T2.home_player_1, T2.home_player_2, T2.home_player_3, T2.home_player_4, T2.home_player_5, T2.home_player_6, T2.home_player_7, T2.home_player_8, T2.home_player_9, T2.home_player_10, T2.home_player_11, T2.away_player_1, T2.away_player_... | simple | {
"gold_sql": "SELECT AVG(T1.height) FROM Player AS T1 INNER JOIN Match AS T2 ON T1.player_api_id IN (T2.home_player_1, T2.home_player_2, T2.home_player_3, T2.home_player_4, T2.home_player_5, T2.home_player_6, T2.home_player_7, T2.home_player_8, T2.home_player_9, T2.home_player_10, T2.home_player_11, T2.away_player_1... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | Please provide the names of top three football players who are over 180 cm tall in alphabetical order. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT player_name FROM Player WHERE height > 180 ORDER BY player_name LIMIT 3",
"permission": "denied",
"query_columns": {
"player": [
"height",
"player_name"
]
},
"missing_columns": {
"player": [
"player_name"
]
},
"reason": "Missing column permissions: p... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | How many football players born after the 1990s have the first name 'Aaron'? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT COUNT(id)\nFROM Player\nWHERE birthday > '1990' AND player_name LIKE 'Aaron%';",
"permission": "denied",
"query_columns": {
"player": [
"birthday",
"id",
"player_name"
]
},
"missing_columns": {
"player": [
"player_name"
]
},
"reason": "Missing ... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | What is the difference between players 6 and 23's jumping scores? | SELECT SUM(CASE WHEN t1.id = 6 THEN t1.jumping ELSE 0 END) -
SUM(CASE WHEN t1.id = 23 THEN t1.jumping ELSE 0 END)
FROM Player_Attributes AS t1; | simple | {
"gold_sql": "SELECT SUM(CASE WHEN t1.id = 6 THEN t1.jumping ELSE 0 END) -\n SUM(CASE WHEN t1.id = 23 THEN t1.jumping ELSE 0 END)\nFROM Player_Attributes AS t1;",
"permission": "allowed",
"query_columns": {
"player_attributes": [
"id",
"jumping"
]
},
"missing_columns": {},
"reason... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | Please provide top five football players' IDs who are among the lowest potential players and prefer to use the right foot when attacking. | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT id FROM Player_Attributes WHERE preferred_foot = 'right' ORDER BY potential LIMIT 5",
"permission": "denied",
"query_columns": {
"player_attributes": [
"id",
"potential",
"preferred_foot"
]
},
"missing_columns": {
"player_attributes": [
"preferred_foot... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | How many players had the highest potential score for crossing that preferred to use their left foots while attacking? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT COUNT(t1.id) FROM Player_Attributes AS t1 WHERE t1.preferred_foot = 'left' AND t1.crossing = ( SELECT MAX(crossing) FROM Player_Attributes)",
"permission": "denied",
"query_columns": {
"player_attributes": [
"crossing",
"id",
"preferred_foot"
]
},
"missing_colum... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | What percentage of players have a strength and stamina score of more than 80? | SELECT CAST(COUNT(CASE WHEN strength > 80 AND stamina > 80 THEN id ELSE NULL END) AS REAL) * 100 / COUNT(id) FROM Player_Attributes t | simple | {
"gold_sql": "SELECT CAST(COUNT(CASE WHEN strength > 80 AND stamina > 80 THEN id ELSE NULL END) AS REAL) * 100 / COUNT(id) FROM Player_Attributes t",
"permission": "allowed",
"query_columns": {
"player_attributes": [
"id",
"stamina",
"strength"
]
},
"missing_columns": {},
"reason"... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | In what country did the Poland Ekstraklasa take place? | SELECT name FROM Country WHERE id IN ( SELECT country_id FROM League WHERE name = 'Poland Ekstraklasa' ) | simple | {
"gold_sql": "SELECT name FROM Country WHERE id IN ( SELECT country_id FROM League WHERE name = 'Poland Ekstraklasa' )",
"permission": "allowed",
"query_columns": {
"league": [
"country_id",
"id",
"name"
],
"country": []
},
"missing_columns": {},
"reason": "All required column... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | What was the final score for the match on September 24, 2008, in the Belgian Jupiler League between the home team and the away team? | Sorry, I cannot answer. | challenging | {
"gold_sql": "SELECT t2.home_team_goal, t2.away_team_goal FROM League AS t1 INNER JOIN Match AS t2 ON t1.id = t2.league_id WHERE t1.name = 'Belgium Jupiler League' AND t2.`date` LIKE '2008-09-24%'",
"permission": "denied",
"query_columns": {
"league": [
"id",
"name"
],
"match": [
"a... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | What are Alexis Blin's latest sprint speed, agility, and acceleration scores? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT sprint_speed, agility, acceleration FROM Player_Attributes WHERE player_api_id IN ( SELECT player_api_id FROM Player WHERE player_name = 'Alexis Blin' ) ORDER BY date DESC LIMIT 1",
"permission": "denied",
"query_columns": {
"player_attributes": [
"acceleration",
"agility",
... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | Does the KSV Cercle Brugge team have a slow, balanced or fast speed class? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT DISTINCT t1.buildUpPlaySpeedClass FROM Team_Attributes AS t1 INNER JOIN Team AS t2 ON t1.team_api_id = t2.team_api_id WHERE t2.team_long_name = 'KSV Cercle Brugge'",
"permission": "denied",
"query_columns": {
"team": [
"team_api_id",
"team_long_name"
],
"team_attribut... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | In the 2015–2016 season, how many games were played in the Italian Serie A league? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT COUNT(t2.id) FROM League AS t1 INNER JOIN Match AS t2 ON t1.id = t2.league_id WHERE t1.name = 'Italy Serie A' AND t2.season = '2015/2016'",
"permission": "denied",
"query_columns": {
"league": [
"id",
"name"
],
"match": [
"id",
"league_id",
"season"
... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | What was the highest score of the home team in the Netherlands Eredivisie league? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT MAX(t2.home_team_goal) FROM League AS t1 INNER JOIN Match AS t2 ON t1.id = t2.league_id WHERE t1.name = 'Netherlands Eredivisie'",
"permission": "denied",
"query_columns": {
"league": [
"id",
"name"
],
"match": [
"home_team_goal",
"league_id"
]
},
... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | Please state the finishing rate and curve score of the player who has the heaviest weight. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT id, finishing, curve FROM Player_Attributes WHERE player_api_id = ( SELECT player_api_id FROM Player ORDER BY weight DESC LIMIT 1 ) LIMIT 1",
"permission": "denied",
"query_columns": {
"player_attributes": [
"curve",
"finishing",
"id",
"player_api_id"
],
"... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | Which top 4 leagues had the most games in the 2015-2016 season? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT t1.name FROM League AS t1 INNER JOIN Match AS t2 ON t1.id = t2.league_id WHERE t2.season = '2015/2016' GROUP BY t1.name ORDER BY COUNT(t2.id) DESC LIMIT 4",
"permission": "denied",
"query_columns": {
"league": [
"id",
"name"
],
"match": [
"id",
"league_id"... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | Please provide the full name of the away team that scored the most goals. | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT t2.team_long_name FROM Match AS t1 INNER JOIN Team AS t2 ON t1.away_team_api_id = t2.team_api_id ORDER BY t1.away_team_goal DESC LIMIT 1",
"permission": "denied",
"query_columns": {
"team": [
"team_api_id",
"team_long_name"
],
"match": [
"away_team_api_id",
... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | Please name one player whose overall strength is the greatest. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT t1.player_name FROM Player AS t1 INNER JOIN Player_Attributes AS t2 ON t1.player_api_id = t2.player_api_id WHERE t2.overall_rating = (SELECT MAX(overall_rating) FROM Player_Attributes) ORDER BY t1.player_name LIMIT 1",
"permission": "denied",
"query_columns": {
"player_attributes": [
... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_2 | {
"Country": [
"*"
],
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSD",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
... | What is the percentage of players that are under 180 cm who have an overall strength of more than 70? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT CAST(COUNT(CASE WHEN t2.overall_rating > 70 THEN t1.id ELSE NULL END) AS REAL) * 100 / COUNT(t1.id) percent FROM Player AS t1 INNER JOIN Player_Attributes AS t2 ON t1.player_api_id = t2.player_api_id WHERE t1.height < 180",
"permission": "denied",
"query_columns": {
"player_attributes": ... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | Which player has the highest overall rating? Indicate the player's api id. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT player_api_id FROM Player_Attributes ORDER BY overall_rating DESC LIMIT 1",
"permission": "denied",
"query_columns": {
"player_attributes": [
"overall_rating",
"player_api_id"
]
},
"missing_columns": {
"player_attributes": [
"player_api_id"
]
},
"rea... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | What is the height of the tallest player? Indicate his name. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT player_name, height FROM Player ORDER BY height DESC LIMIT 1",
"permission": "denied",
"query_columns": {
"player": [
"height",
"player_name"
]
},
"missing_columns": {
"player": [
"player_name"
]
},
"reason": "Missing column permissions: player: play... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | What is the preferred foot when attacking of the player with the lowest potential? | SELECT preferred_foot FROM Player_Attributes WHERE potential IS NOT NULL ORDER BY potential ASC LIMIT 1 | simple | {
"gold_sql": "SELECT preferred_foot FROM Player_Attributes WHERE potential IS NOT NULL ORDER BY potential ASC LIMIT 1",
"permission": "allowed",
"query_columns": {
"player_attributes": [
"potential",
"preferred_foot"
]
},
"missing_columns": {},
"reason": "All required columns are permit... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | Among players with an overall rating between 60 to 65, how many players will be in all your attacking moves, instead of defending? | SELECT COUNT(id) FROM Player_Attributes WHERE overall_rating BETWEEN 60 AND 65 AND defensive_work_rate = 'low' | moderate | {
"gold_sql": "SELECT COUNT(id) FROM Player_Attributes WHERE overall_rating BETWEEN 60 AND 65 AND defensive_work_rate = 'low'",
"permission": "allowed",
"query_columns": {
"player_attributes": [
"defensive_work_rate",
"id",
"overall_rating"
]
},
"missing_columns": {},
"reason": "Al... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | Who are the top 5 players by maximum crossing rating? Indicate their player id. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT player_api_id\nFROM Player_Attributes\nGROUP BY player_api_id\nORDER BY MAX(crossing) DESC, player_api_id ASC\nLIMIT 5;",
"permission": "denied",
"query_columns": {
"player_attributes": [
"crossing",
"player_api_id"
]
},
"missing_columns": {
"player_attributes": [... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | Give the name of the league that had the most goals in the 2016 season? | SELECT t2.name FROM Match AS t1 INNER JOIN League AS t2 ON t1.league_id = t2.id WHERE t1.season = '2015/2016' GROUP BY t2.name ORDER BY SUM(t1.home_team_goal + t1.away_team_goal) DESC LIMIT 1 | moderate | {
"gold_sql": "SELECT t2.name FROM Match AS t1 INNER JOIN League AS t2 ON t1.league_id = t2.id WHERE t1.season = '2015/2016' GROUP BY t2.name ORDER BY SUM(t1.home_team_goal + t1.away_team_goal) DESC LIMIT 1",
"permission": "allowed",
"query_columns": {
"league": [
"id",
"name"
],
"match": ... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | Which home team had lost the fewest matches in the 2016 season? | SELECT teamDetails.team_long_name FROM Match AS matchData INNER JOIN Team AS teamDetails ON matchData.home_team_api_id = teamDetails.team_api_id WHERE matchData.season = '2015/2016' AND matchData.home_team_goal - matchData.away_team_goal < 0 GROUP BY matchData.home_team_api_id ORDER BY COUNT(*) ASC, teamDetails.team_ap... | moderate | {
"gold_sql": "SELECT teamDetails.team_long_name FROM Match AS matchData INNER JOIN Team AS teamDetails ON matchData.home_team_api_id = teamDetails.team_api_id WHERE matchData.season = '2015/2016' AND matchData.home_team_goal - matchData.away_team_goal < 0 GROUP BY matchData.home_team_api_id ORDER BY COUNT(*) ASC, te... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | Indicate the full names of the top 10 players with the highest penalties rating. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT t2.player_name\nFROM Player_Attributes AS t1\nJOIN Player AS t2 ON t1.player_api_id = t2.player_api_id\nGROUP BY t2.player_api_id, t2.player_name\nORDER BY MAX(t1.penalties) DESC, t2.player_api_id ASC\nLIMIT 10;",
"permission": "denied",
"query_columns": {
"player_attributes": [
"p... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | In Scotland Premier League, which away team won the most during the 2010 season? | SELECT t.team_long_name FROM League l JOIN `Match` m ON l.id = m.league_id JOIN Team t ON m.away_team_api_id = t.team_api_id WHERE l.name = 'Scotland Premier League' AND m.season = '2009/2010' AND m.away_team_goal > m.home_team_goal GROUP BY m.away_team_api_id, t.team_long_name ORDER BY COUNT(*) DESC, t.team_api_id ASC... | challenging | {
"gold_sql": "SELECT t.team_long_name FROM League l JOIN `Match` m ON l.id = m.league_id JOIN Team t ON m.away_team_api_id = t.team_api_id WHERE l.name = 'Scotland Premier League' AND m.season = '2009/2010' AND m.away_team_goal > m.home_team_goal GROUP BY m.away_team_api_id, t.team_long_name ORDER BY COUNT(*) DESC, ... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | What are the speeds at which attacks are put together for the top 4 teams with the highest build Up Play Speed? | SELECT t1.buildUpPlaySpeed FROM Team_Attributes AS t1 INNER JOIN Team AS t2 ON t1.team_api_id = t2.team_api_id ORDER BY t1.buildUpPlaySpeed DESC, t1.team_api_id ASC LIMIT 4 | moderate | {
"gold_sql": "SELECT t1.buildUpPlaySpeed FROM Team_Attributes AS t1 INNER JOIN Team AS t2 ON t1.team_api_id = t2.team_api_id ORDER BY t1.buildUpPlaySpeed DESC, t1.team_api_id ASC LIMIT 4",
"permission": "allowed",
"query_columns": {
"team": [
"team_api_id"
],
"team_attributes": [
"buildUp... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | Give the name of the league had the most matches end as draw in the 2016 season? | SELECT t2.name FROM Match AS t1 INNER JOIN League AS t2 ON t1.league_id = t2.id WHERE t1.season = '2015/2016' AND t1.home_team_goal = t1.away_team_goal GROUP BY t2.name ORDER BY COUNT(t1.id) DESC LIMIT 1 | moderate | {
"gold_sql": "SELECT t2.name FROM Match AS t1 INNER JOIN League AS t2 ON t1.league_id = t2.id WHERE t1.season = '2015/2016' AND t1.home_team_goal = t1.away_team_goal GROUP BY t2.name ORDER BY COUNT(t1.id) DESC LIMIT 1",
"permission": "allowed",
"query_columns": {
"league": [
"id",
"name"
],
... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | Calculate the current age of players who have a sprint speed of at least 97 between 2013 and 2015. | Sorry, I cannot answer. | challenging | {
"gold_sql": "SELECT DISTINCT DATETIME() - T2.birthday age FROM Player_Attributes AS t1 INNER JOIN Player AS t2 ON t1.player_api_id = t2.player_api_id WHERE STRFTIME('%Y',t1.`date`) >= '2013' AND STRFTIME('%Y',t1.`date`) <= '2015' AND t1.sprint_speed >= 97",
"permission": "denied",
"query_columns": {
"player... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | Give the name of the league with the highest matches of all time and how many matches were played in the said league. | SELECT t2.name, t1.max_count FROM League AS t2 JOIN (SELECT league_id, MAX(cnt) AS max_count FROM (SELECT league_id, COUNT(id) AS cnt FROM Match GROUP BY league_id) AS subquery) AS t1 ON t1.league_id = t2.id | moderate | {
"gold_sql": "SELECT t2.name, t1.max_count FROM League AS t2 JOIN (SELECT league_id, MAX(cnt) AS max_count FROM (SELECT league_id, COUNT(id) AS cnt FROM Match GROUP BY league_id) AS subquery) AS t1 ON t1.league_id = t2.id",
"permission": "allowed",
"query_columns": {
"league": [
"id",
"name"
... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | What is the average height of players born between 1990 and 1995? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT SUM(height) / COUNT(id) FROM Player WHERE SUBSTR(birthday, 1, 4) BETWEEN '1990' AND '1995'",
"permission": "denied",
"query_columns": {
"player": [
"birthday",
"height",
"id"
]
},
"missing_columns": {
"player": [
"id"
]
},
"reason": "Missing co... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | List the players' api id who had the highest above average overall ratings in 2010. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT player_api_id FROM Player_Attributes WHERE SUBSTR(`date`, 1, 4) = '2010' ORDER BY overall_rating DESC LIMIT 1",
"permission": "denied",
"query_columns": {
"player_attributes": [
"date",
"overall_rating",
"player_api_id"
]
},
"missing_columns": {
"player_attr... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | Give the team_fifa_api_id of teams with more than 50 but less than 60 build-up play speed. | SELECT DISTINCT team_fifa_api_id FROM Team_Attributes WHERE buildUpPlaySpeed > 50 AND buildUpPlaySpeed < 60 | simple | {
"gold_sql": "SELECT DISTINCT team_fifa_api_id FROM Team_Attributes WHERE buildUpPlaySpeed > 50 AND buildUpPlaySpeed < 60",
"permission": "allowed",
"query_columns": {
"team_attributes": [
"buildUpPlaySpeed",
"team_fifa_api_id"
]
},
"missing_columns": {},
"reason": "All required columns... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | List the long name of teams with above-average build-up play passing in 2012. | SELECT DISTINCT t4.team_long_name FROM Team_Attributes AS t3 INNER JOIN Team AS t4 ON t3.team_api_id = t4.team_api_id WHERE SUBSTR(t3.`date`, 1, 4) = '2012' AND t3.buildUpPlayPassing > ( SELECT AVG(t2.buildUpPlayPassing) FROM Team AS t1 INNER JOIN Team_Attributes AS t2 ON t1.team_api_id = t2.team_api_id WHERE STRFTIME(... | challenging | {
"gold_sql": "SELECT DISTINCT t4.team_long_name FROM Team_Attributes AS t3 INNER JOIN Team AS t4 ON t3.team_api_id = t4.team_api_id WHERE SUBSTR(t3.`date`, 1, 4) = '2012' AND t3.buildUpPlayPassing > ( SELECT AVG(t2.buildUpPlayPassing) FROM Team AS t1 INNER JOIN Team_Attributes AS t2 ON t1.team_api_id = t2.team_api_i... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | Calculate the percentage of players who prefer left foot, who were born between 1987 and 1992. | Sorry, I cannot answer. | challenging | {
"gold_sql": "SELECT \n CAST(COUNT(DISTINCT CASE WHEN t2.preferred_foot = 'left' THEN t1.player_api_id ELSE NULL END) AS REAL) * 100 \n / COUNT(DISTINCT t1.player_api_id) AS percent\nFROM Player AS t1\nINNER JOIN Player_Attributes AS t2 ON t1.player_api_id = t2.player_api_id\nWHERE SUBSTR(t1.birthday, 1, 4) BE... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | List the top 5 leagues in ascending order of the number of goals made in all seasons combined. | SELECT t1.name, SUM(t2.home_team_goal) + SUM(t2.away_team_goal) FROM League AS t1 INNER JOIN Match AS t2 ON t1.id = t2.league_id GROUP BY t1.name ORDER BY SUM(t2.home_team_goal) + SUM(t2.away_team_goal) ASC LIMIT 5 | moderate | {
"gold_sql": "SELECT t1.name, SUM(t2.home_team_goal) + SUM(t2.away_team_goal) FROM League AS t1 INNER JOIN Match AS t2 ON t1.id = t2.league_id GROUP BY t1.name ORDER BY SUM(t2.home_team_goal) + SUM(t2.away_team_goal) ASC LIMIT 5",
"permission": "allowed",
"query_columns": {
"league": [
"id",
"nam... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | Find the average number of long-shot done by Ahmed Samir Farag. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT CAST(SUM(t2.long_shots) AS REAL) / COUNT(t2.long_shots) FROM Player AS t1 INNER JOIN Player_Attributes AS t2 ON t1.player_api_id = t2.player_api_id WHERE t1.player_name = 'Ahmed Samir Farag'",
"permission": "denied",
"query_columns": {
"player_attributes": [
"long_shots",
"pl... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | List the top 10 players' names whose heights are above 180 in descending order of average heading accuracy. | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT t1.player_name FROM Player AS t1 INNER JOIN Player_Attributes AS t2 ON t1.player_api_id = t2.player_api_id WHERE t1.height > 180 GROUP BY t1.id ORDER BY CAST(SUM(t2.heading_accuracy) AS REAL) / COUNT(t2.`player_fifa_api_id`) DESC LIMIT 10",
"permission": "denied",
"query_columns": {
"pla... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | For the teams with normal build-up play dribbling class in 2014, List the names of the teams with less than average chance creation passing, in descending order of chance creation passing. | SELECT t3.team_long_name FROM Team AS t3 INNER JOIN Team_Attributes AS t4 ON t3.team_api_id = t4.team_api_id WHERE t4.buildUpPlayDribblingClass = 'Normal' AND t4.chanceCreationPassing < ( SELECT CAST(SUM(t2.chanceCreationPassing) AS REAL) / COUNT(t1.id) FROM Team AS t1 INNER JOIN Team_Attributes AS t2 ON t1.team_api_id... | challenging | {
"gold_sql": "SELECT t3.team_long_name FROM Team AS t3 INNER JOIN Team_Attributes AS t4 ON t3.team_api_id = t4.team_api_id WHERE t4.buildUpPlayDribblingClass = 'Normal' AND t4.chanceCreationPassing < ( SELECT CAST(SUM(t2.chanceCreationPassing) AS REAL) / COUNT(t1.id) FROM Team AS t1 INNER JOIN Team_Attributes AS t2 ... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | List the name of leagues in which the average goals by the home team is higher than the away team in the 2009/2010 season. | SELECT t1.name FROM League AS t1 INNER JOIN Match AS t2 ON t1.id = t2.league_id WHERE t2.season = '2009/2010' GROUP BY t1.name HAVING (CAST(SUM(t2.home_team_goal) AS REAL) / COUNT(DISTINCT t2.id)) - (CAST(SUM(t2.away_team_goal) AS REAL) / COUNT(DISTINCT t2.id)) > 0 | challenging | {
"gold_sql": "SELECT t1.name FROM League AS t1 INNER JOIN Match AS t2 ON t1.id = t2.league_id WHERE t2.season = '2009/2010' GROUP BY t1.name HAVING (CAST(SUM(t2.home_team_goal) AS REAL) / COUNT(DISTINCT t2.id)) - (CAST(SUM(t2.away_team_goal) AS REAL) / COUNT(DISTINCT t2.id)) > 0",
"permission": "allowed",
"query... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | What is the short name of the football team Queens Park Rangers? | SELECT team_short_name FROM Team WHERE team_long_name = 'Queens Park Rangers' | simple | {
"gold_sql": "SELECT team_short_name FROM Team WHERE team_long_name = 'Queens Park Rangers'",
"permission": "allowed",
"query_columns": {
"team": [
"team_long_name",
"team_short_name"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"question_id": 1043,
"e... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | List the football players with a birthyear of 1970 and a birthmonth of October. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT player_name FROM Player WHERE SUBSTR(birthday, 1, 7) = '1970-10'",
"permission": "denied",
"query_columns": {
"player": [
"birthday",
"player_name"
]
},
"missing_columns": {
"player": [
"player_name"
]
},
"reason": "Missing column permissions: player... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | What is the attacking work rate of the football playerr Franco Zennaro? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT DISTINCT t2.attacking_work_rate FROM Player AS t1 INNER JOIN Player_Attributes AS t2 ON t1.player_api_id = t2.player_api_id WHERE t1.player_name = 'Franco Zennaro'",
"permission": "denied",
"query_columns": {
"player_attributes": [
"attacking_work_rate",
"player_api_id"
]... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | What is the ADO Den Haag team freedom of movement in the 1st two thirds of the pitch? | SELECT DISTINCT t2.buildUpPlayPositioningClass FROM Team AS t1 INNER JOIN Team_attributes AS t2 ON t1.team_fifa_api_id = t2.team_fifa_api_id WHERE t1.team_long_name = 'ADO Den Haag' | moderate | {
"gold_sql": "SELECT DISTINCT t2.buildUpPlayPositioningClass FROM Team AS t1 INNER JOIN Team_attributes AS t2 ON t1.team_fifa_api_id = t2.team_fifa_api_id WHERE t1.team_long_name = 'ADO Den Haag'",
"permission": "allowed",
"query_columns": {
"team": [
"team_fifa_api_id",
"team_long_name"
],
... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | What is the football player Francois Affolter header's finishing rate on 18/09/2014? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT t2.heading_accuracy \nFROM Player AS t1 \nINNER JOIN Player_Attributes AS t2 ON t1.player_api_id = t2.player_api_id \nWHERE t1.player_name = 'Francois Affolter' \nAND t2.`date` >= '2014-09-18 00:00:00' \nAND t2.`date` < '2014-09-19 00:00:00'",
"permission": "denied",
"query_columns": {
"... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | What is the overall rating of the football player Gabriel Tamas in year 2011? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT t2.overall_rating FROM Player AS t1 INNER JOIN Player_Attributes AS t2 ON t1.player_api_id = t2.player_api_id WHERE t1.player_name = 'Gabriel Tamas' AND strftime('%Y', t2.date) = '2011'",
"permission": "denied",
"query_columns": {
"player_attributes": [
"date",
"overall_ratin... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | How many matches in the 2015/2016 season were held in Scotland Premier League? | SELECT COUNT(t2.id) FROM League AS t1 INNER JOIN Match AS t2 ON t1.id = t2.league_id WHERE t2.season = '2015/2016' AND t1.name = 'Scotland Premier League' | simple | {
"gold_sql": "SELECT COUNT(t2.id) FROM League AS t1 INNER JOIN Match AS t2 ON t1.id = t2.league_id WHERE t2.season = '2015/2016' AND t1.name = 'Scotland Premier League'",
"permission": "allowed",
"query_columns": {
"league": [
"id",
"name"
],
"match": [
"id",
"league_id",
... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | What is the preferred foot when attacking of the youngest football player? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT t2.preferred_foot FROM Player AS t1 INNER JOIN Player_Attributes AS t2 ON t1.player_api_id = t2.player_api_id ORDER BY t1.birthday DESC LIMIT 1",
"permission": "denied",
"query_columns": {
"player_attributes": [
"player_api_id",
"preferred_foot"
],
"player": [
"... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | List all the football player with the highest potential score. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT DISTINCT(t1.player_name) FROM Player AS t1 INNER JOIN Player_Attributes AS t2 ON t1.player_api_id = t2.player_api_id WHERE t2.potential = (SELECT MAX(potential) FROM Player_Attributes) ",
"permission": "denied",
"query_columns": {
"player_attributes": [
"player_api_id",
"pote... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | Among all the players whose weight is under 130, how many of them preferred foot in attacking is left? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT COUNT(DISTINCT t1.id) FROM Player AS t1 INNER JOIN Player_Attributes AS t2 ON t1.player_api_id = t2.player_api_id WHERE t1.weight < 130 AND t2.preferred_foot = 'left'",
"permission": "denied",
"query_columns": {
"player_attributes": [
"player_api_id",
"preferred_foot"
],
... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | List the football teams that has a chance creation passing class of Risky. Inidcate its short name only. | SELECT DISTINCT t1.team_short_name FROM Team AS t1 INNER JOIN Team_attributes AS t2 ON t1.team_api_id = t2.team_api_id WHERE t2.chanceCreationPassingClass = 'Risky' | moderate | {
"gold_sql": "SELECT DISTINCT t1.team_short_name FROM Team AS t1 INNER JOIN Team_attributes AS t2 ON t1.team_api_id = t2.team_api_id WHERE t2.chanceCreationPassingClass = 'Risky'",
"permission": "allowed",
"query_columns": {
"team": [
"team_api_id",
"team_short_name"
],
"team_attributes":... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | What is the defensive work rate of the football player David Wilson? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT DISTINCT t2.defensive_work_rate FROM Player AS t1 INNER JOIN Player_Attributes AS t2 ON t1.player_api_id = t2.player_api_id WHERE t1.player_name = 'David Wilson'",
"permission": "denied",
"query_columns": {
"player_attributes": [
"defensive_work_rate",
"player_api_id"
],
... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | When is the birthday of the football player who has the highest overall rating? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT t1.birthday FROM Player AS t1 INNER JOIN Player_Attributes AS t2 ON t1.player_api_id = t2.player_api_id ORDER BY t2.overall_rating DESC, t1.player_name LIMIT 1",
"permission": "denied",
"query_columns": {
"player_attributes": [
"overall_rating",
"player_api_id"
],
"pl... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | What is the name of the football league in the country of Netherlands? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT t2.name FROM Country AS t1 INNER JOIN League AS t2 ON t1.id = t2.country_id WHERE t1.name = 'Netherlands'",
"permission": "denied",
"query_columns": {
"league": [
"country_id",
"name"
],
"country": [
"id",
"name"
]
},
"missing_columns": {
"coun... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | Calculate the average home team goal in the 2010/2011 season in the country of Poland. | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT CAST(SUM(t2.home_team_goal) AS REAL) / COUNT(t2.id) FROM Country AS t1 INNER JOIN Match AS t2 ON t1.id = t2.country_id WHERE t1.name = 'Poland' AND t2.season = '2010/2011'",
"permission": "denied",
"query_columns": {
"country": [
"id",
"name"
],
"match": [
"coun... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | Who has the highest average finishing rate between the highest and shortest football player? | Sorry, I cannot answer. | challenging | {
"gold_sql": "SELECT A FROM ( SELECT AVG(finishing) result, 'Max' A FROM Player AS T1 INNER JOIN Player_Attributes AS T2 ON T1.player_api_id = T2.player_api_id WHERE T1.height = ( SELECT MAX(height) FROM Player ) UNION SELECT AVG(finishing) result, 'Min' A FROM Player AS T1 INNER JOIN Player_Attributes AS T2 ON T1.p... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | Please list player names which are higher than 180. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT player_name FROM Player WHERE height > 180",
"permission": "denied",
"query_columns": {
"player": [
"height",
"player_name"
]
},
"missing_columns": {
"player": [
"player_name"
]
},
"reason": "Missing column permissions: player: player_name",
"quest... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | How many players were born after 1990? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT COUNT(id) FROM Player WHERE STRFTIME('%Y', birthday) > '1990'",
"permission": "denied",
"query_columns": {
"player": [
"birthday",
"id"
]
},
"missing_columns": {
"player": [
"id"
]
},
"reason": "Missing column permissions: player: id",
"question_id... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | How many players whose first names are Adam and weigh more than 170? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT COUNT(id) FROM Player WHERE weight > 170 AND player_name LIKE 'Adam%'",
"permission": "denied",
"query_columns": {
"player": [
"id",
"player_name",
"weight"
]
},
"missing_columns": {
"player": [
"id",
"player_name"
]
},
"reason": "Missing... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | Which players had an overall rating of over 80 from 2008 to 2010? Please list player names. | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT DISTINCT t1.player_name FROM Player AS t1 INNER JOIN Player_Attributes AS t2 ON t1.player_api_id = t2.player_api_id WHERE t2.overall_rating > 80 AND SUBSTR(t2.`date`, 1, 4) BETWEEN '2008' AND '2010'",
"permission": "denied",
"query_columns": {
"player_attributes": [
"date",
"... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | What is Aaron Doran's potential score? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT t2.potential FROM Player AS t1 INNER JOIN Player_Attributes AS t2 ON t1.player_api_id = t2.player_api_id WHERE t1.player_name = 'Aaron Doran'",
"permission": "denied",
"query_columns": {
"player_attributes": [
"player_api_id",
"potential"
],
"player": [
"player_... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | List out of players whose preferred foot is left. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT DISTINCT t1.id, t1.player_name FROM Player AS t1 INNER JOIN Player_Attributes AS t2 ON t1.player_api_id = t2.player_api_id WHERE t2.preferred_foot = 'left'",
"permission": "denied",
"query_columns": {
"player_attributes": [
"player_api_id",
"preferred_foot"
],
"player... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | Please list all team names which the speed class is fast. | SELECT DISTINCT t1.team_long_name FROM Team AS t1 INNER JOIN Team_Attributes AS t2 ON t1.team_api_id = t2.team_api_id WHERE t2.buildUpPlaySpeedClass = 'Fast' | simple | {
"gold_sql": "SELECT DISTINCT t1.team_long_name FROM Team AS t1 INNER JOIN Team_Attributes AS t2 ON t1.team_api_id = t2.team_api_id WHERE t2.buildUpPlaySpeedClass = 'Fast'",
"permission": "allowed",
"query_columns": {
"team": [
"team_api_id",
"team_long_name"
],
"team_attributes": [
... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | What is the passing class of CLB team? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT t2.buildUpPlayPassingClass \nFROM Team AS t1 \nINNER JOIN Team_Attributes AS t2 ON t1.team_api_id = t2.team_api_id \nWHERE t1.team_short_name = 'CLB'\nORDER BY t2.id DESC \nLIMIT 1;",
"permission": "denied",
"query_columns": {
"team": [
"team_api_id",
"team_short_name"
],... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | Which teams have build up play passing more than 70? Please list their short names. | SELECT DISTINCT t1.team_short_name
FROM Team AS t1
INNER JOIN Team_Attributes AS t2 ON t1.team_api_id = t2.team_api_id
WHERE t2.buildUpPlayPassing > 70; | moderate | {
"gold_sql": "SELECT DISTINCT t1.team_short_name\nFROM Team AS t1\nINNER JOIN Team_Attributes AS t2 ON t1.team_api_id = t2.team_api_id\nWHERE t2.buildUpPlayPassing > 70;",
"permission": "allowed",
"query_columns": {
"team": [
"team_api_id",
"team_short_name"
],
"team_attributes": [
... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | From 2010 to 2015, what was the average overall rating of players who are higher than 170? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT CAST(SUM(t2.overall_rating) AS REAL) / COUNT(t2.id) FROM Player AS t1 INNER JOIN Player_Attributes AS t2 ON t1.player_api_id = t2.player_api_id WHERE t1.height > 170 AND STRFTIME('%Y',t2.`date`) >= '2010' AND STRFTIME('%Y',t2.`date`) <= '2015'",
"permission": "denied",
"query_columns": {
... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | Which football player has the shortest height? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT player_name FROM Player WHERE height = (SELECT MIN(height) FROM Player) ORDER BY player_name ASC;",
"permission": "denied",
"query_columns": {
"player": [
"height",
"player_name"
]
},
"missing_columns": {
"player": [
"player_name"
]
},
"reason": "Mis... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | Which country is the league Italy Serie A from? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT t1.name FROM Country AS t1 INNER JOIN League AS t2 ON t1.id = t2.country_id WHERE t2.name = 'Italy Serie A'",
"permission": "denied",
"query_columns": {
"league": [
"country_id",
"name"
],
"country": [
"id",
"name"
]
},
"missing_columns": {
"co... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | List the football team that has a build up play speed of 31, build up plan dribbling of 53, and build up play passing of 32. Only indicate the short name of the team. | SELECT DISTINCT t1.team_short_name FROM Team AS t1 INNER JOIN Team_Attributes AS t2 ON t1.team_api_id = t2.team_api_id WHERE t2.buildUpPlaySpeed = 31 AND t2.buildUpPlayDribbling = 53 AND t2.buildUpPlayPassing = 32 | challenging | {
"gold_sql": "SELECT DISTINCT t1.team_short_name FROM Team AS t1 INNER JOIN Team_Attributes AS t2 ON t1.team_api_id = t2.team_api_id WHERE t2.buildUpPlaySpeed = 31 AND t2.buildUpPlayDribbling = 53 AND t2.buildUpPlayPassing = 32",
"permission": "allowed",
"query_columns": {
"team": [
"team_api_id",
... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | What is the average overall rating of the football player Aaron Doran? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT CAST(SUM(t2.overall_rating) AS REAL) / COUNT(t2.id) FROM Player AS t1 INNER JOIN Player_Attributes AS t2 ON t1.player_api_id = t2.player_api_id WHERE t1.player_name = 'Aaron Doran'",
"permission": "denied",
"query_columns": {
"player_attributes": [
"id",
"overall_rating",
... |
european_football_2 | ##Instruction:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Database: european_football_2
Total Tables: 7
Total Columns: 199
Table Schemas:
Table: Country (2 columns)
--------------------------
• id (integer): the unique id for countries
• name (text): country name
Table: League ... | DataOperator_3 | {
"League": [
"*"
],
"Match": [
"B365A",
"B365D",
"B365H",
"BSA",
"BSH",
"BWA",
"BWD",
"BWH",
"GBA",
"GBD",
"GBH",
"IWA",
"IWD",
"IWH",
"LBA",
"LBD",
"LBH",
"PSA",
"PSD",
"PSH",
"SJA",
"SJD",
"SJH",
"VCA",
"VCD... | How many matches were held in the league Germany 1. Bundesliga
from August to October 2008? | SELECT COUNT(t2.id) FROM League AS t1 INNER JOIN Match AS t2 ON t1.id = t2.league_id WHERE t1.name = 'Germany 1. Bundesliga' AND SUBSTR(t2.`date`, 1, 7) BETWEEN '2008-08' AND '2008-10' | moderate | {
"gold_sql": "SELECT COUNT(t2.id) FROM League AS t1 INNER JOIN Match AS t2 ON t1.id = t2.league_id WHERE t1.name = 'Germany 1. Bundesliga' AND SUBSTR(t2.`date`, 1, 7) BETWEEN '2008-08' AND '2008-10'",
"permission": "allowed",
"query_columns": {
"league": [
"id",
"name"
],
"match": [
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.