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 |
|---|---|---|---|---|---|---|---|
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | Please list all the foreign languages in which the card "Ancestor's Chosen" has a flavor text. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT T2.language FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T2.uuid = T1.uuid WHERE T1.name = 'Ancestor''s Chosen' AND T2.flavorText IS NOT NULL",
"permission": "denied",
"query_columns": {
"foreign_data": [
"flavorText",
"language",
"uuid"
],
"cards": [
... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | What's the German type of the card "Ancestor's Chosen"? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT DISTINCT T1.type FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T2.uuid = T1.uuid WHERE T1.name = 'Ancestor''s Chosen' AND T2.language = 'German'",
"permission": "denied",
"query_columns": {
"foreign_data": [
"language",
"uuid"
],
"cards": [
"name",
"ty... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | Please list the Italian text ruling of all the cards in the set Coldsnap. | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT DISTINCT T1.text FROM foreign_data AS T1 INNER JOIN cards AS T2 ON T2.uuid = T1.uuid INNER JOIN sets AS T3 ON T3.code = T2.setCode WHERE T3.name = 'Coldsnap' AND T1.language = 'Italian'",
"permission": "denied",
"query_columns": {
"foreign_data": [
"language",
"text",
"... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | Please list the Italian names of the cards in the set Coldsnap with the highest converted mana cost. | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT T2.name FROM foreign_data AS T1 INNER JOIN cards AS T2 ON T2.uuid = T1.uuid INNER JOIN sets AS T3 ON T3.code = T2.setCode WHERE T3.name = 'Coldsnap' AND T1.language = 'Italian' ORDER BY T2.convertedManaCost DESC",
"permission": "denied",
"query_columns": {
"foreign_data": [
"langua... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | When was the ruling for the card 'Reminisce' created? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT T2.date FROM cards AS T1 INNER JOIN rulings AS T2 ON T2.uuid = T1.uuid WHERE T1.name = 'Reminisce'",
"permission": "denied",
"query_columns": {
"cards": [
"name",
"uuid"
],
"rulings": [
"date",
"uuid"
]
},
"missing_columns": {
"cards": [
... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | What is the percentage of the cards with a converted mana cost of 7 in the set Coldsnap? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT CAST(SUM(CASE WHEN T1.convertedManaCost = 7 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.id) FROM cards AS T1 INNER JOIN sets AS T2 ON T2.code = T1.setCode WHERE T2.name = 'Coldsnap'",
"permission": "denied",
"query_columns": {
"sets": [
"code",
"name"
],
"cards": [
... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | What is the percentage of incredibly powerful cards in the set Coldsnap? | Sorry, I cannot answer. | challenging | {
"gold_sql": "SELECT CAST(SUM(CASE WHEN T1.cardKingdomFoilId IS NOT NULL AND T1.cardKingdomId IS NOT NULL THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.id) FROM cards AS T1 INNER JOIN sets AS T2 ON T2.code = T1.setCode WHERE T2.name = 'Coldsnap'",
"permission": "denied",
"query_columns": {
"sets": [
"co... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | What's the code for the set which was released on 2017/7/14? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT code FROM sets WHERE releaseDate = '2017-07-14' GROUP BY releaseDate, code",
"permission": "denied",
"query_columns": {
"sets": [
"code",
"releaseDate"
]
},
"missing_columns": {
"sets": [
"code"
]
},
"reason": "Missing column permissions: sets: code"... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | List the keyrune code for the set whose code is 'PKHC'. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT keyruneCode FROM sets WHERE code = 'PKHC'",
"permission": "denied",
"query_columns": {
"sets": [
"code",
"keyruneCode"
]
},
"missing_columns": {
"sets": [
"code",
"keyruneCode"
]
},
"reason": "Missing column permissions: sets: code, keyruneCode... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | For the set which had 'SS2' as the code, what is its magic card market id? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT mcmId FROM sets WHERE code = 'SS2'",
"permission": "denied",
"query_columns": {
"sets": [
"code",
"mcmId"
]
},
"missing_columns": {
"sets": [
"code"
]
},
"reason": "Missing column permissions: sets: code",
"question_id": 490,
"evidence": "magic c... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | What's the magic card market name for the set which was released on 2017/6/9? | SELECT mcmName FROM sets WHERE releaseDate = '2017-06-09' | simple | {
"gold_sql": "SELECT mcmName FROM sets WHERE releaseDate = '2017-06-09'",
"permission": "allowed",
"query_columns": {
"sets": [
"mcmName",
"releaseDate"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"question_id": 491,
"evidence": "magic card market nam... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | For the set "From the Vault: Lore", what is its expansion type? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT type FROM sets WHERE name LIKE '%FROM the Vault: Lore%'",
"permission": "denied",
"query_columns": {
"sets": [
"name"
]
},
"missing_columns": {
"sets": [
"name"
]
},
"reason": "Missing column permissions: sets: name",
"question_id": 492,
"evidence": "s... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | For the set "Commander 2014 Oversized" , give its parent code. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT parentCode FROM sets WHERE name = 'Commander 2014 Oversized'",
"permission": "denied",
"query_columns": {
"sets": [
"name",
"parentCode"
]
},
"missing_columns": {
"sets": [
"name"
]
},
"reason": "Missing column permissions: sets: name",
"question_i... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | For all cards illustrated by Jim Pavelec. and describe the text of the ruling of these cards. Do these cards have missing or degraded properties and values. | Sorry, I cannot answer. | challenging | {
"gold_sql": "SELECT T2.text , CASE WHEN T1.hasContentWarning = 1 THEN 'YES' ELSE 'NO' END FROM cards AS T1 INNER JOIN rulings AS T2 ON T2.uuid = T1.uuid WHERE T1.artist = 'Jim Pavelec'",
"permission": "denied",
"query_columns": {
"cards": [
"artist",
"hasContentWarning",
"uuid"
],
... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | What was the release date for the set which card "Evacuation" in it? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT T2.releaseDate FROM cards AS T1 INNER JOIN sets AS T2 ON T2.code = T1.setCode WHERE T1.name = 'Evacuation'",
"permission": "denied",
"query_columns": {
"sets": [
"code",
"releaseDate"
],
"cards": [
"name",
"setCode"
]
},
"missing_columns": {
"s... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | How many cards are there in the set of "Rinascita di Alara"? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT T1.baseSetSize FROM sets AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.code WHERE T2.translation = 'Rinascita di Alara'",
"permission": "denied",
"query_columns": {
"sets": [
"baseSetSize",
"code"
],
"set_translations": [
"setCode",
"translati... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | List the expansion type of the set "Huitième édition". | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT type FROM sets WHERE code IN ( SELECT setCode FROM set_translations WHERE translation = 'Huitième édition' )",
"permission": "denied",
"query_columns": {
"sets": [
"code"
],
"set_translations": [
"setCode"
]
},
"missing_columns": {
"sets": [
"code"
... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | What's the French name of the set of cards with "Tendo Ice Bridge" is in? | SELECT T2.translation FROM cards AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.setCode WHERE T1.name = 'Tendo Ice Bridge' AND T2.language = 'French' AND T2.translation IS NOT NULL | moderate | {
"gold_sql": "SELECT T2.translation FROM cards AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.setCode WHERE T1.name = 'Tendo Ice Bridge' AND T2.language = 'French' AND T2.translation IS NOT NULL",
"permission": "allowed",
"query_columns": {
"cards": [
"name",
"setCode"
],
"set... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | How many translations of the name of the set "Tenth Edition"? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT COUNT(DISTINCT T2.translation) FROM sets AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.code WHERE T1.name = 'Tenth Edition'",
"permission": "denied",
"query_columns": {
"sets": [
"code",
"name"
],
"set_translations": [
"setCode",
"translation"... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | Tell the Japanese name of the set which card "Fellwar Stone" is in it. | SELECT T2.translation FROM cards AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.setCode WHERE T1.name = 'Fellwar Stone' AND T2.language = 'Japanese' AND T2.translation IS NOT NULL | moderate | {
"gold_sql": "SELECT T2.translation FROM cards AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.setCode WHERE T1.name = 'Fellwar Stone' AND T2.language = 'Japanese' AND T2.translation IS NOT NULL",
"permission": "allowed",
"query_columns": {
"cards": [
"name",
"setCode"
],
"set_... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | Which card name in the set 'Journey into Nyx Hero's Path' has the highest converted mana cost. | Sorry, I cannot answer. | moderate | {
"gold_sql": "WITH MaxCMC AS (\n SELECT MAX(T1.convertedManaCost) AS max_cmc\n FROM cards AS T1\n INNER JOIN sets AS T2 ON T2.code = T1.setCode\n WHERE T2.name = 'Journey into Nyx Hero''s Path'\n)\nSELECT T1.name\nFROM cards AS T1\nINNER JOIN sets AS T2 ON T2.code = T1.setCode\nCROSS JOIN MaxCMC\nWHERE T... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | What is the release date for the set "Ola de frío"? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT T1.releaseDate FROM sets AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.code WHERE T2.translation = 'Ola de frío'",
"permission": "denied",
"query_columns": {
"sets": [
"code",
"releaseDate"
],
"set_translations": [
"setCode",
"translation"
... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | What was the expansion type for the set which card "Samite Pilgrim" in it? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT type FROM sets WHERE code IN ( SELECT setCode FROM cards WHERE name = 'Samite Pilgrim' )",
"permission": "denied",
"query_columns": {
"sets": [
"code",
"name"
],
"cards": [
"setCode"
]
},
"missing_columns": {
"sets": [
"code",
"name"
... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | How many cards are there in the set 'World Championship Decks 2004' with the converted mana cost as '3'. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT COUNT(id) FROM cards WHERE setCode IN ( SELECT code FROM sets WHERE name = 'World Championship Decks 2004' ) AND convertedManaCost = 3",
"permission": "denied",
"query_columns": {
"sets": [
"code",
"id",
"name"
],
"cards": [
"convertedManaCost",
"set... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | Show the Simplified Chinese translation of the name of the set "Mirrodin"? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT translation FROM set_translations WHERE setCode IN ( SELECT code FROM sets WHERE name = 'Mirrodin' ) AND language = 'Chinese Simplified'",
"permission": "denied",
"query_columns": {
"sets": [
"code",
"name"
],
"set_translations": [
"setCode"
]
},
"missin... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | For all the set of cards that has Japanese translation, what is the percentage of them are only available in non-foil? | Sorry, I cannot answer. | challenging | {
"gold_sql": "SELECT CAST(SUM(CASE WHEN isNonFoilOnly = 1 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(id) FROM sets WHERE code IN ( SELECT setCode FROM set_translations WHERE language = 'Japanese' )",
"permission": "denied",
"query_columns": {
"sets": [
"code",
"id",
"isNonFoilOnly"
],
... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | For all the cards that have a Brazilian Portuguese translation, what is the percentage of them that are only available online? | Sorry, I cannot answer. | challenging | {
"gold_sql": "SELECT CAST(SUM(CASE WHEN T1.isOnlineOnly = 1 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(DISTINCT T1.id) FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid WHERE T2.language = 'Portuguese (Brazil)'",
"permission": "denied",
"query_columns": {
"foreign_data": [
"language",
... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | What are the available printing types of the cards that doesn't have a text box created by Aleksi Briclot? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT DISTINCT availability FROM cards WHERE artist = 'Aleksi Briclot' AND isTextless = 1",
"permission": "denied",
"query_columns": {
"cards": [
"artist",
"availability",
"isTextless"
]
},
"missing_columns": {
"cards": [
"artist",
"availability",
... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | What is the unique id of the set that has the highest number of cards? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT id FROM sets ORDER BY baseSetSize DESC LIMIT 1",
"permission": "denied",
"query_columns": {
"sets": [
"baseSetSize",
"id"
]
},
"missing_columns": {
"sets": [
"id"
]
},
"reason": "Missing column permissions: sets: id",
"question_id": 509,
"evidenc... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | Among the cards that doesn't have multiple faces on the same card, who is the illustrator of the card art that has the highest cost of converted mana? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT artist FROM cards WHERE side IS NULL ORDER BY convertedManaCost DESC LIMIT 1",
"permission": "denied",
"query_columns": {
"cards": [
"artist",
"convertedManaCost",
"side"
]
},
"missing_columns": {
"cards": [
"artist",
"convertedManaCost",
"... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | What is the most common visual frame effects among the incredibly powerful foils? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT frameEffects FROM cards WHERE cardKingdomFoilId IS NOT NULL AND cardKingdomId IS NOT NULL GROUP BY frameEffects ORDER BY COUNT(frameEffects) DESC LIMIT 1",
"permission": "denied",
"query_columns": {
"cards": [
"cardKingdomFoilId",
"cardKingdomId",
"frameEffects"
]
... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | How many cards with unknown power that can't be found in foil is in duel deck A? | SELECT SUM(CASE WHEN power = '*' OR power IS NULL THEN 1 ELSE 0 END) FROM cards WHERE hasFoil = 0 AND duelDeck = 'a' | simple | {
"gold_sql": "SELECT SUM(CASE WHEN power = '*' OR power IS NULL THEN 1 ELSE 0 END) FROM cards WHERE hasFoil = 0 AND duelDeck = 'a'",
"permission": "allowed",
"query_columns": {
"cards": [
"duelDeck",
"hasFoil",
"power"
]
},
"missing_columns": {},
"reason": "All required columns ar... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | Among the sets whose expansion type is Commander, which set has the highest total number of cards including promotional and related supplemental products but excluding Alchemy modifications? Indicate the id of the set. | Sorry, I cannot answer. | challenging | {
"gold_sql": "SELECT id FROM sets WHERE type = 'commander' ORDER BY totalSetSize DESC, id ASC LIMIT 1",
"permission": "denied",
"query_columns": {
"sets": [
"id",
"totalSetSize"
]
},
"missing_columns": {
"sets": [
"id"
]
},
"reason": "Missing column permissions: sets: id... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | In duels, what are the top 10 cards with the highest converted mana cost? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT DISTINCT name FROM cards WHERE uuid IN ( SELECT uuid FROM legalities WHERE format = 'duel' ) ORDER BY convertedManaCost DESC, name ASC LIMIT 10",
"permission": "denied",
"query_columns": {
"legalities": [
"format"
],
"cards": [
"convertedManaCost",
"name"
]
... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | When was the oldest mythic card released and what are its legal play formats? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT T1.originalReleaseDate, T2.format FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T1.rarity = 'mythic' AND T1.originalReleaseDate IS NOT NULL AND T2.status = 'Legal' AND T1.originalReleaseDate = (SELECT MIN(originalReleaseDate) FROM cards WHERE rarity = 'mythic' AND origi... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | How many cards did Volkan Baǵa illustrated whose foreign language is in French? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT COUNT(T1.id) FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T2.uuid = T1.uuid WHERE T1.artist = 'Volkan Baǵa' AND T2.language = 'French'",
"permission": "denied",
"query_columns": {
"foreign_data": [
"language",
"uuid"
],
"cards": [
"artist",
"id",
... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | How many distinct rare enchantment Abundance cards have at least one legal play format? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT COUNT(DISTINCT T1.id) FROM cards AS T1 INNER JOIN legalities AS T2 ON T2.uuid = T1.uuid WHERE T1.rarity = 'rare' AND T1.types = 'Enchantment' AND T1.name = 'Abundance' AND T2.status = 'Legal'",
"permission": "denied",
"query_columns": {
"legalities": [
"status",
"uuid"
],... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | Which of the play format has the highest number of banned status? Indicate the play format and the names of all the card meet the condition. | Sorry, I cannot answer. | moderate | {
"gold_sql": "WITH MaxBanned AS (SELECT format, COUNT(*) AS count_banned FROM legalities WHERE status = 'Banned' GROUP BY format ORDER BY COUNT(*) DESC LIMIT 1) SELECT T2.format, T1.name FROM cards AS T1 INNER JOIN legalities AS T2 ON T2.uuid = T1.uuid INNER JOIN MaxBanned MB ON MB.format = T2.format WHERE T2.status... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | What is the language of the "Battlebond" set? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT language FROM set_translations WHERE id IN ( SELECT id FROM sets WHERE name = 'Battlebond' )",
"permission": "denied",
"query_columns": {
"sets": [
"id",
"name"
],
"set_translations": []
},
"missing_columns": {
"sets": [
"id",
"name"
]
},
"... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | Who is the illustrator that illustrated the least amount of cards? List the format of play of the cards that he/she illustrated. | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT T1.artist, T2.format FROM cards AS T1 INNER JOIN legalities AS T2 ON T2.uuid = T1.uuid GROUP BY T1.artist ORDER BY COUNT(T1.id) ASC LIMIT 1",
"permission": "denied",
"query_columns": {
"legalities": [
"format",
"uuid"
],
"cards": [
"artist",
"id",
"u... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | Among the cards whose version of frame style is 1997, what is the status of the card illustrated by D. Alexander Gregory in legacy play format that has sensitive content? | Sorry, I cannot answer. | challenging | {
"gold_sql": "SELECT DISTINCT T2.status FROM cards AS T1 INNER JOIN legalities AS T2 ON T2.uuid = T1.uuid WHERE T1.frameVersion = 1997 AND T1.hasContentWarning = 1 AND T1.artist = 'D. Alexander Gregory' AND T2.format = 'legacy'",
"permission": "denied",
"query_columns": {
"legalities": [
"format",
... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | Which cards are ranked 1st on EDHRec? List all of the cards name and its banned play format. | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT T1.name, T2.format FROM cards AS T1 INNER JOIN legalities AS T2 ON T2.uuid = T1.uuid WHERE T1.edhrecRank = 1 AND T2.status = 'Banned' GROUP BY T1.name, T2.format",
"permission": "denied",
"query_columns": {
"legalities": [
"format",
"status",
"uuid"
],
"cards": ... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | What is the annual average number of sets that were released between 1/1/2012 to 12/31/2015? Indicate the common langugage of the card. | Sorry, I cannot answer. | challenging | {
"gold_sql": "SELECT (CAST(SUM(T1.id) AS REAL) / COUNT(T1.id)) / 4, T2.language FROM sets AS T1 INNER JOIN set_translations AS T2 ON T1.id = T2.id WHERE T1.releaseDate BETWEEN '2012-01-01' AND '2015-12-31' GROUP BY T1.releaseDate ORDER BY COUNT(T2.language) DESC LIMIT 1",
"permission": "denied",
"query_columns":... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | List the artists who illustrated cards with black borders which are available only in arena. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT DISTINCT artist FROM cards WHERE availability = 'arena' AND BorderColor = 'black'",
"permission": "denied",
"query_columns": {
"cards": [
"artist",
"availability",
"borderColor"
]
},
"missing_columns": {
"cards": [
"artist",
"availability",
... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | Find the uuid of cards in which the old school format is restricted or banned. | SELECT uuid FROM legalities WHERE format = 'oldschool' AND (status = 'Banned' OR status = 'Restricted') | simple | {
"gold_sql": "SELECT uuid FROM legalities WHERE format = 'oldschool' AND (status = 'Banned' OR status = 'Restricted')",
"permission": "allowed",
"query_columns": {
"legalities": [
"format",
"status"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"question_... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | Among the card designed by Matthew D. Wilson, how many are available only in the paper? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT COUNT(id) FROM cards WHERE artist = 'Matthew D. Wilson' AND availability = 'paper'",
"permission": "denied",
"query_columns": {
"cards": [
"artist",
"availability",
"id"
]
},
"missing_columns": {
"cards": [
"artist",
"availability",
"id"
... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | What are the rulings for the card named and designed by Kev Walker? List them in descending order of dates. | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT T2.text FROM cards AS T1 INNER JOIN rulings AS T2 ON T2.uuid = T1.uuid WHERE T1.artist = 'Kev Walker' ORDER BY T2.date DESC",
"permission": "denied",
"query_columns": {
"cards": [
"artist",
"uuid"
],
"rulings": [
"date",
"text",
"uuid"
]
},
"... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | List the names of all the cards in the set Hour of Devastation and find the formats in which these cards are legal. | Sorry, I cannot answer. | challenging | {
"gold_sql": "SELECT DISTINCT T2.name , CASE WHEN T1.status = 'Legal' THEN T1.format ELSE NULL END FROM legalities AS T1 INNER JOIN cards AS T2 ON T2.uuid = T1.uuid WHERE T2.setCode IN ( SELECT code FROM sets WHERE name = 'Hour of Devastation' )",
"permission": "denied",
"query_columns": {
"legalities": [
... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | Find and list the names of sets which doesn't have Japanese translation but have Korean translation. | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT name FROM sets WHERE code IN ( SELECT setCode FROM set_translations WHERE language = 'Korean' AND language NOT LIKE '%Japanese%' )",
"permission": "denied",
"query_columns": {
"sets": [
"code",
"name"
],
"set_translations": [
"setCode"
]
},
"missing_colu... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_2 | {
"cards": [
"asciiName",
"cardKingdomId",
"colorIndicator",
"colors",
"duelDeck",
"edhrecRank",
"flavorName",
"frameEffects",
"frameVersion",
"hand",
"hasAlternativeDeckLimit",
"hasFoil",
"hasNonFoil",
"isOversized",
"isReserved",
"isStarter",
"isSt... | List all the frame styles and cards Allen Williams worked on and find any banned cards if there are any. | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT \n T1.frameVersion, \n T1.name,\n CASE \n WHEN EXISTS (SELECT 1 FROM legalities AS T2 WHERE T2.uuid = T1.uuid AND T2.status = 'Banned') \n THEN 'Banned' \n ELSE 'Not Banned' \n END AS banned_status\nFROM cards AS T1\nWHERE T1.artist = 'Allen Williams'\nORDER BY T... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | Which are the cards that have incredibly powerful foils. | SELECT id FROM cards WHERE cardKingdomFoilId IS NOT NULL AND cardKingdomId IS NOT NULL | simple | {
"gold_sql": "SELECT id FROM cards WHERE cardKingdomFoilId IS NOT NULL AND cardKingdomId IS NOT NULL",
"permission": "allowed",
"query_columns": {
"cards": [
"cardKingdomFoilId",
"cardKingdomId",
"id"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"q... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | What are the borderless cards available without powerful foils? | SELECT id FROM cards WHERE borderColor = 'borderless' AND (cardKingdomFoilId IS NULL OR cardKingdomId IS NULL) | simple | {
"gold_sql": "SELECT id FROM cards WHERE borderColor = 'borderless' AND (cardKingdomFoilId IS NULL OR cardKingdomId IS NULL)",
"permission": "allowed",
"query_columns": {
"cards": [
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"id"
]
},
"missing_columns": {},
"reason... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | List the card names with value that cost more converted mana. | SELECT DISTINCT name FROM cards WHERE ConvertedManaCost = (SELECT MAX(ConvertedManaCost) FROM cards) | simple | {
"gold_sql": "SELECT DISTINCT name FROM cards WHERE ConvertedManaCost = (SELECT MAX(ConvertedManaCost) FROM cards)",
"permission": "allowed",
"query_columns": {
"cards": [
"convertedManaCost",
"name"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"question... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | Name all cards with 2015 frame style ranking below 100 on EDHRec. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT id FROM cards WHERE edhrecRank < 100 AND frameVersion = 2015",
"permission": "denied",
"query_columns": {
"cards": [
"edhrecRank",
"frameVersion",
"id"
]
},
"missing_columns": {
"cards": [
"edhrecRank",
"frameVersion"
]
},
"reason": "Miss... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | List all the mythic rarity print cards banned in gladiator format. | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT DISTINCT T1.id FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T2.format = 'gladiator' AND T2.status = 'Banned' AND T1.rarity = 'mythic'",
"permission": "denied",
"query_columns": {
"legalities": [
"format",
"status",
"uuid"
],
"cards": [... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | For artifact type of cards that do not have multiple faces on the same card, state its legalities status for vintage play format. | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT DISTINCT T2.status FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T1.type = 'Artifact' AND T2.format = 'vintage' AND T1.side IS NULL",
"permission": "denied",
"query_columns": {
"legalities": [
"format",
"status",
"uuid"
],
"cards": [
... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | List all the card id and artist with unknown power which are legal for commander play format. | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT T1.id, T1.artist FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T2.status = 'Legal' AND T2.format = 'commander' AND (T1.power IS NULL OR T1.power = '*')",
"permission": "denied",
"query_columns": {
"legalities": [
"format",
"status",
"uuid"
... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | Find all cards illustrated by Stephen Daniel and describe the text of the ruling of these cards. State if these cards have missing or degraded properties and values. | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT T1.id, T2.text, T1.hasContentWarning FROM cards AS T1 INNER JOIN rulings AS T2 ON T1.uuid = T2.uuid WHERE T1.artist = 'Stephen Daniele'",
"permission": "denied",
"query_columns": {
"cards": [
"artist",
"hasContentWarning",
"id",
"uuid"
],
"rulings": [
... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | Describe the information about rulings for card named 'Sublime Epiphany' with number 74s. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT T2.text FROM cards AS T1 INNER JOIN rulings AS T2 ON T1.uuid = T2.uuid WHERE T1.name = 'Sublime Epiphany' AND T1.number = '74s'",
"permission": "denied",
"query_columns": {
"cards": [
"name",
"number",
"uuid"
],
"rulings": [
"text",
"uuid"
]
},... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | Name the card and artist with the most ruling information. Also state if the card is a promotional printing. | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT\n T1.name,\n T1.artist,\n CASE WHEN T1.isPromo = 1 THEN 'yes' ELSE 'no' END AS isPromo\nFROM cards AS T1\nJOIN rulings AS T2 ON T2.uuid = T1.uuid\nGROUP BY T1.uuid, T1.name, T1.artist, T1.isPromo\nORDER BY COUNT(T2.uuid) DESC, T1.uuid ASC\nLIMIT 1;",
"permission": "denied",
"query_columns... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | State the alternative languages available for card named Annul numbered 29. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT T2.language FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid WHERE T1.name = 'Annul' AND T1.number = '29'",
"permission": "denied",
"query_columns": {
"foreign_data": [
"language",
"uuid"
],
"cards": [
"name",
"number",
"uuid"
... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | Name all the cards which have alternative language in Japanese. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT DISTINCT T1.name FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid WHERE T2.language = 'Japanese'",
"permission": "denied",
"query_columns": {
"foreign_data": [
"language",
"uuid"
],
"cards": [
"name",
"uuid"
]
},
"missing_columns... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | Calculate the percentage of the cards availabe in Chinese Simplified. | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT CAST(SUM(CASE WHEN T2.language = 'Chinese Simplified' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.id) FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid",
"permission": "denied",
"query_columns": {
"foreign_data": [
"language",
"uuid"
],
"cards": [
... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | List all the sets available in Italian translation. State the total number of cards per set. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT T1.name, T1.totalSetSize FROM sets AS T1 INNER JOIN set_translations AS T2 ON T1.code = T2.setCode WHERE T2.language = 'Italian'",
"permission": "denied",
"query_columns": {
"sets": [
"code",
"name",
"totalSetSize"
],
"set_translations": [
"language",
... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | How many types of cards does the artist Aaron Boyd illustrated about card art? | SELECT COUNT(type) FROM cards WHERE artist = 'Aaron Boyd' | simple | {
"gold_sql": "SELECT COUNT(type) FROM cards WHERE artist = 'Aaron Boyd'",
"permission": "allowed",
"query_columns": {
"cards": [
"artist"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"question_id": 354,
"evidence": "'Aaron Boyd' is artist;"
} |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | What is the keyword found on card 'Angel of Mercy'? | SELECT DISTINCT keywords FROM cards WHERE name = 'Angel of Mercy' | simple | {
"gold_sql": "SELECT DISTINCT keywords FROM cards WHERE name = 'Angel of Mercy'",
"permission": "allowed",
"query_columns": {
"cards": [
"keywords",
"name"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"question_id": 355,
"evidence": "Angel of Mercy' is... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | How many cards have infinite power? | SELECT COUNT(*) FROM cards WHERE power = '*' | simple | {
"gold_sql": "SELECT COUNT(*) FROM cards WHERE power = '*'",
"permission": "allowed",
"query_columns": {
"cards": [
"power"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"question_id": 356,
"evidence": "infinite power refers to power = '*';"
} |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | What type of promotion is of card 'Duress'? | SELECT DISTINCT promoTypes
FROM cards
WHERE name = 'Duress' AND promoTypes IS NOT NULL | simple | {
"gold_sql": "SELECT DISTINCT promoTypes \nFROM cards \nWHERE name = 'Duress' AND promoTypes IS NOT NULL",
"permission": "allowed",
"query_columns": {
"cards": [
"name",
"promoTypes"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"question_id": 357,
"evi... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | What is the border color of card "Ancestor's Chosen"? | SELECT DISTINCT borderColor FROM cards WHERE name = 'Ancestor''s Chosen' | simple | {
"gold_sql": "SELECT DISTINCT borderColor FROM cards WHERE name = 'Ancestor''s Chosen'",
"permission": "allowed",
"query_columns": {
"cards": [
"borderColor",
"name"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"question_id": 358,
"evidence": "name of ... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | What is the type of the card "Ancestor's Chosen" as originally printed? | SELECT originalType FROM cards WHERE name = "Ancestor's Chosen" AND originalType IS NOT NULL | simple | {
"gold_sql": "SELECT originalType FROM cards WHERE name = \"Ancestor's Chosen\" AND originalType IS NOT NULL",
"permission": "allowed",
"query_columns": {
"cards": [
"name",
"originalType"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"question_id": 359,
... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | What are the languages available for the set that card 'Angel of Mercy' is in? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT DISTINCT\n s.`language`\nFROM cards AS c\nJOIN set_translations AS s ON s.setCode = c.setCode\nWHERE c.name = 'Angel of Mercy'",
"permission": "denied",
"query_columns": {
"cards": [
"name",
"setCode"
],
"set_translations": [
"language",
"setCode"
]
... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | How many cards of legalities whose status is restricted have text boxes? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT COUNT(DISTINCT T1.id) FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T2.status = 'Restricted' AND T1.isTextless = 0",
"permission": "denied",
"query_columns": {
"legalities": [
"status",
"uuid"
],
"cards": [
"id",
"isTextless",
... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | What is the description about the ruling of card "Condemn"? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT T2.text FROM cards AS T1 INNER JOIN rulings AS T2 ON T1.uuid = T2.uuid WHERE T1.name = 'Condemn'",
"permission": "denied",
"query_columns": {
"cards": [
"name",
"uuid"
],
"rulings": [
"text",
"uuid"
]
},
"missing_columns": {
"cards": [
"u... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | How many cards of legalities whose status is restricted are found in a starter deck? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT COUNT(T1.id) \nFROM cards AS T1 \nINNER JOIN legalities AS T2 ON T1.uuid = T2.uuid \nWHERE T2.status = 'Restricted' AND T1.isStarter = 1",
"permission": "denied",
"query_columns": {
"legalities": [
"status",
"uuid"
],
"cards": [
"id",
"isStarter",
"u... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | What is the status of card "Cloudchaser Eagle"? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT DISTINCT T2.status FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T1.name = 'Cloudchaser Eagle'",
"permission": "denied",
"query_columns": {
"legalities": [
"status",
"uuid"
],
"cards": [
"name",
"uuid"
]
},
"missing_column... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | What is the type of card "Benalish Knight"? | SELECT type
FROM cards
WHERE name = 'Benalish Knight'; | simple | {
"gold_sql": "SELECT type \nFROM cards \nWHERE name = 'Benalish Knight';",
"permission": "allowed",
"query_columns": {
"cards": [
"name"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"question_id": 365,
"evidence": "Benalish Knight' is the name of card;"
} |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | What is the rule of playing card "Benalish Knight"? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT T2.format FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T1.name = 'Benalish Knight'",
"permission": "denied",
"query_columns": {
"legalities": [
"format",
"uuid"
],
"cards": [
"name",
"uuid"
]
},
"missing_columns": {
"... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | Please provide the names of the artists who illustrated the card art in Phyrexian. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT T1.artist FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid WHERE T2.language = 'Phyrexian'",
"permission": "denied",
"query_columns": {
"foreign_data": [
"language",
"uuid"
],
"cards": [
"artist",
"uuid"
]
},
"missing_columns": {... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | What is the percentage of borderless cards? | SELECT CAST(SUM(CASE WHEN borderColor = 'borderless' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(id) FROM cards | simple | {
"gold_sql": "SELECT CAST(SUM(CASE WHEN borderColor = 'borderless' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(id) FROM cards",
"permission": "allowed",
"query_columns": {
"cards": [
"borderColor",
"id"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"questio... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | How many cards that illusrtated in German have been reprinted? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT COUNT(T1.id) FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid WHERE T2.language = 'German' AND T1.isReprint = 1",
"permission": "denied",
"query_columns": {
"foreign_data": [
"language",
"uuid"
],
"cards": [
"id",
"isReprint",
"uui... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | How many borderless cards are illustrated in Russian? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT COUNT(T1.id) FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid WHERE T1.borderColor = 'borderless' AND T2.language = 'Russian'",
"permission": "denied",
"query_columns": {
"foreign_data": [
"language",
"uuid"
],
"cards": [
"borderColor",
... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | What is the percentage of cards whose language is French among the Story Spotlight cards? | Sorry, I cannot answer. | challenging | {
"gold_sql": "SELECT CAST(SUM(CASE WHEN T2.language = 'French' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.id) FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid WHERE T1.isStorySpotlight = 1",
"permission": "denied",
"query_columns": {
"foreign_data": [
"language",
"uuid"
]... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | How many cards are there with toughness of 99? | SELECT COUNT(id) FROM cards WHERE toughness = 99 | simple | {
"gold_sql": "SELECT COUNT(id) FROM cards WHERE toughness = 99",
"permission": "allowed",
"query_columns": {
"cards": [
"id",
"toughness"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"question_id": 372,
"evidence": ""
} |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | Name the cards that were illustrated by Aaron Boyd. | SELECT DISTINCT name FROM cards WHERE artist = 'Aaron Boyd' | simple | {
"gold_sql": "SELECT DISTINCT name FROM cards WHERE artist = 'Aaron Boyd'",
"permission": "allowed",
"query_columns": {
"cards": [
"artist",
"name"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"question_id": 373,
"evidence": "Aaron Boyd' is artist;"
} |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | How many black border cards are only available on mtgo? | SELECT COUNT(id) FROM cards WHERE availability = 'mtgo' AND borderColor = 'black' | simple | {
"gold_sql": "SELECT COUNT(id) FROM cards WHERE availability = 'mtgo' AND borderColor = 'black'",
"permission": "allowed",
"query_columns": {
"cards": [
"availability",
"borderColor",
"id"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"question_id":... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | List down all the card IDs with converted mana cost of 0. | SELECT id FROM cards WHERE convertedManaCost = 0 | simple | {
"gold_sql": "SELECT id FROM cards WHERE convertedManaCost = 0",
"permission": "allowed",
"query_columns": {
"cards": [
"convertedManaCost",
"id"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"question_id": 375,
"evidence": "converted mana cost of 0 ref... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | What are the card layout of cards with keyword of flying? | SELECT DISTINCT layout FROM cards WHERE keywords LIKE '%Flying%' | simple | {
"gold_sql": "SELECT DISTINCT layout FROM cards WHERE keywords LIKE '%Flying%'",
"permission": "allowed",
"query_columns": {
"cards": [
"keywords",
"layout"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"question_id": 376,
"evidence": ""
} |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | How many cards with original type of "Summon - Angel" have subtype other than "Angel"? | SELECT COUNT(id) FROM cards WHERE originalType = 'Summon - Angel' AND subtypes != 'Angel' | simple | {
"gold_sql": "SELECT COUNT(id) FROM cards WHERE originalType = 'Summon - Angel' AND subtypes != 'Angel'",
"permission": "allowed",
"query_columns": {
"cards": [
"id",
"originalType",
"subtypes"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"question... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | What are the foiled cards that are incredibly powerful when paired with non foiled cards? List the IDs. | SELECT id FROM cards WHERE cardKingdomId IS NOT NULL AND cardKingdomFoilId IS NOT NULL | simple | {
"gold_sql": "SELECT id FROM cards WHERE cardKingdomId IS NOT NULL AND cardKingdomFoilId IS NOT NULL",
"permission": "allowed",
"query_columns": {
"cards": [
"cardKingdomFoilId",
"cardKingdomId",
"id"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"q... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | What are the cards belong to duel deck a? List the ID. | SELECT id FROM cards WHERE duelDeck = 'a' | simple | {
"gold_sql": "SELECT id FROM cards WHERE duelDeck = 'a'",
"permission": "allowed",
"query_columns": {
"cards": [
"duelDeck",
"id"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"question_id": 379,
"evidence": "duel deck a refers to duelDeck = a;"
} |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | List the edhrecRank for cards with frame version 2015. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT edhrecRank FROM cards WHERE frameVersion = 2015",
"permission": "denied",
"query_columns": {
"cards": [
"edhrecRank",
"frameVersion"
]
},
"missing_columns": {
"cards": [
"edhrecRank",
"frameVersion"
]
},
"reason": "Missing column permissions: c... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | List down the name of artists for cards in Chinese Simplified. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT T1.artist\nFROM cards AS T1\nINNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid\nWHERE T2.language = 'Chinese Simplified';",
"permission": "denied",
"query_columns": {
"foreign_data": [
"language",
"uuid"
],
"cards": [
"artist",
"uuid"
]
},
"missin... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | What are the cards that only available in paper and Japanese language? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT T1.name FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid WHERE T1.availability = 'paper' AND T2.language = 'Japanese'",
"permission": "denied",
"query_columns": {
"foreign_data": [
"language",
"uuid"
],
"cards": [
"availability",
"name",... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | How many of the cards which is banned at least in one format are white border? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT COUNT(DISTINCT T1.id) FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T2.status = 'Banned' AND T1.borderColor = 'white'",
"permission": "denied",
"query_columns": {
"legalities": [
"status",
"uuid"
],
"cards": [
"borderColor",
"id",... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | List down the uuid for legacy cards and the foreign language of these cards. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT T1.uuid, T3.language FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid INNER JOIN foreign_data AS T3 ON T1.uuid = T3.uuid WHERE T2.format = 'legacy'",
"permission": "denied",
"query_columns": {
"legalities": [
"format",
"uuid"
],
"foreign_data": [
... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | Write down the ruling of Beacon of Immortality. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT T2.text FROM cards AS T1 INNER JOIN rulings AS T2 ON T1.uuid = T2.uuid WHERE T1.name = 'Beacon of Immortality'",
"permission": "denied",
"query_columns": {
"cards": [
"name",
"uuid"
],
"rulings": [
"text",
"uuid"
]
},
"missing_columns": {
"card... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | How many legal cards are having future frame version? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT COUNT(T1.id) FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T1.frameVersion = 'future' AND T2.status = 'Legal'",
"permission": "denied",
"query_columns": {
"legalities": [
"status",
"uuid"
],
"cards": [
"frameVersion",
"id",
... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | What are the cards for set OGW? State the colour for these cards. | SELECT id, colors FROM cards WHERE setCode = 'OGW' | simple | {
"gold_sql": "SELECT id, colors FROM cards WHERE setCode = 'OGW'",
"permission": "allowed",
"query_columns": {
"cards": [
"colors",
"id",
"setCode"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"question_id": 387,
"evidence": "set OGW refers to se... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | What are the cards in set 10E with converted mana of 5 have translation and what are the languages? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT c.id, c.name, f.language\nFROM cards c\nJOIN foreign_data f ON c.uuid = f.uuid\nWHERE c.setCode = '10E' AND c.convertedManaCost = 5\nORDER BY c.name, f.language;",
"permission": "denied",
"query_columns": {
"foreign_data": [
"language",
"uuid"
],
"cards": [
"con... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | DataOperator_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | List down the name of cards with original types of Creature - Elf and the date of rulings for these cards. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT T1.id, T2.date FROM cards AS T1 INNER JOIN rulings AS T2 ON T1.uuid = T2.uuid WHERE T1.originalType = 'Creature - Elf'",
"permission": "denied",
"query_columns": {
"cards": [
"id",
"originalType",
"uuid"
],
"rulings": [
"date",
"uuid"
]
},
"m... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.