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_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | What are the colors of cards from ID 1-20? What are the format of these cards? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT T1.colors, T2.format FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T1.id BETWEEN 1 AND 20",
"permission": "denied",
"query_columns": {
"legalities": [
"format",
"uuid"
],
"cards": [
"colors",
"id",
"uuid"
]
},
"missi... |
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... | Among the Artifact cards, which are black color and comes with foreign languague translation? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT DISTINCT T1.name FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid WHERE T1.originalType = 'Artifact' AND T1.colors = 'B'",
"permission": "denied",
"query_columns": {
"foreign_data": [
"uuid"
],
"cards": [
"colors",
"name",
"originalType"... |
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... | Pick 3 cards with rarity of uncommon, list down name these cards according to ascending order of it's ruling date. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT DISTINCT T1.name FROM cards AS T1 INNER JOIN rulings AS T2 ON T1.uuid = T2.uuid WHERE T1.rarity = 'uncommon' ORDER BY T2.date ASC LIMIT 3",
"permission": "denied",
"query_columns": {
"cards": [
"name",
"rarity",
"uuid"
],
"rulings": [
"date",
"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... | On how many cards designed by John Avon is its foil non-powerful? | SELECT COUNT(id) FROM cards WHERE (cardKingdomId IS NULL OR cardKingdomFoilId IS NULL) AND artist = 'John Avon' | simple | {
"gold_sql": "SELECT COUNT(id) FROM cards WHERE (cardKingdomId IS NULL OR cardKingdomFoilId IS NULL) AND artist = 'John Avon'",
"permission": "allowed",
"query_columns": {
"cards": [
"artist",
"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... | How many white bordered cards are powerful? | SELECT COUNT(id) FROM cards WHERE borderColor = 'white' AND cardKingdomId IS NOT NULL AND cardKingdomFoilId IS NOT NULL | simple | {
"gold_sql": "SELECT COUNT(id) FROM cards WHERE borderColor = 'white' AND cardKingdomId IS NOT NULL AND cardKingdomFoilId IS NOT NULL",
"permission": "allowed",
"query_columns": {
"cards": [
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"id"
]
},
"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... | How many cards designed by UDON and available in mtgo print type has a starting maximum hand size of -1? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT COUNT(id) FROM cards WHERE hAND = '-1' AND artist = 'UDON' AND Availability = 'mtgo'",
"permission": "denied",
"query_columns": {
"cards": [
"artist",
"availability",
"hand",
"id"
]
},
"missing_columns": {
"cards": [
"hand"
]
},
"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... | How many cards with a 1993 frame version and available on paper have a sensitive content warning? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT COUNT(id) FROM cards WHERE frameVersion = '1993' AND availability = 'paper' AND hasContentWarning = 1",
"permission": "denied",
"query_columns": {
"cards": [
"availability",
"frameVersion",
"hasContentWarning",
"id"
]
},
"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_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | What is the mana cost of cards with a normal layout, a 2003 frame version, with a black border color, and available in paper and mtgo? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT manaCost\nFROM cards\nWHERE availability = 'mtgo,paper'\n AND borderColor = 'black'\n AND frameVersion = 2003\n AND layout = 'normal';",
"permission": "denied",
"query_columns": {
"cards": [
"availability",
"borderColor",
"frameVersion",
"layout",
"manaCo... |
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 unconverted mana do all the cards created by Rob Alexander cost in total? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT manaCost FROM cards WHERE artist = 'Rob Alexander'",
"permission": "denied",
"query_columns": {
"cards": [
"artist",
"manaCost"
]
},
"missing_columns": {
"cards": [
"manaCost"
]
},
"reason": "Missing column permissions: cards: manaCost",
"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... | Lists all types of cards available in arena. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT DISTINCT subtypes, supertypes FROM cards WHERE availability = 'arena' AND subtypes IS NOT NULL AND supertypes IS NOT NULL",
"permission": "denied",
"query_columns": {
"cards": [
"availability",
"subtypes",
"supertypes"
]
},
"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_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | Lists the set code of all cards translated into Spanish. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT setCode FROM set_translations WHERE language = 'Spanish'",
"permission": "denied",
"query_columns": {
"set_translations": [
"setCode"
]
},
"missing_columns": {
"set_translations": [
"setCode"
]
},
"reason": "Missing column permissions: set_translations: 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 percentage of legendary frame effect cards that are only available in online game variations? | SELECT SUM(CASE WHEN isOnlineOnly = 1 THEN 1.0 ELSE 0 END) / COUNT(id) * 100 FROM cards WHERE frameEffects = 'legendary' | moderate | {
"gold_sql": "SELECT SUM(CASE WHEN isOnlineOnly = 1 THEN 1.0 ELSE 0 END) / COUNT(id) * 100 FROM cards WHERE frameEffects = 'legendary'",
"permission": "allowed",
"query_columns": {
"cards": [
"frameEffects",
"id",
"isOnlineOnly"
]
},
"missing_columns": {},
"reason": "All required ... |
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 Story Spotlight cards that do not have a text box? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT (SELECT COUNT (id) FROM cards WHERE isTextless = 1 AND isStorySpotlight = 1) * 100 / COUNT(id) FROM cards WHERE isStorySpotlight = 1",
"permission": "denied",
"query_columns": {
"cards": [
"id",
"isStorySpotlight",
"isTextless"
]
},
"missing_columns": {
"car... |
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 cards in Spanish. List them by name. | SELECT (SELECT CAST(SUM(CASE WHEN language = 'Spanish' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(*) FROM foreign_data) AS percentage, name FROM foreign_data WHERE language = 'Spanish' ORDER BY name | simple | {
"gold_sql": "SELECT (SELECT CAST(SUM(CASE WHEN language = 'Spanish' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(*) FROM foreign_data) AS percentage, name FROM foreign_data WHERE language = 'Spanish' ORDER BY name",
"permission": "allowed",
"query_columns": {
"foreign_data": [
"name"
]
},
"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... | Indicates the name of all the languages into which the set whose number of cards is 309 is translated. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT T2.language FROM sets AS T1 INNER JOIN set_translations AS T2 ON T1.code = T2.setCode WHERE T1.baseSetSize = 309",
"permission": "denied",
"query_columns": {
"sets": [
"baseSetSize",
"code"
],
"set_translations": [
"language",
"setCode"
]
},
"missi... |
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 Brazilian Portuguese translated sets are inside the Commander block? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT COUNT(T1.id) FROM sets AS T1 INNER JOIN set_translations AS T2 ON T1.code = T2.setCode WHERE T2.language = 'Portuguese (Brazil)' AND T1.block = 'Commander'",
"permission": "denied",
"query_columns": {
"sets": [
"block",
"code",
"id"
],
"set_translations": [
... |
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 by ID all Creature-type cards with legal status. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT DISTINCT T1.id FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T2.status = 'Legal' AND T1.types = 'Creature'",
"permission": "denied",
"query_columns": {
"legalities": [
"status",
"uuid"
],
"cards": [
"id",
"types",
"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... | Lists all types of cards in German. | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT T1.subtypes, T1.supertypes FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid WHERE T2.language = 'German' AND T1.subtypes IS NOT NULL AND T1.supertypes IS NOT NULL",
"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 unknown power cards contain info about the triggered ability | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT T2.text FROM cards AS T1 INNER JOIN rulings AS T2 ON T1.uuid = T2.uuid WHERE (T1.power IS NULL OR T1.power = '*') AND T2.text LIKE '%triggered ability%'",
"permission": "denied",
"query_columns": {
"cards": [
"power",
"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... | Indicates the number of cards with pre-modern format, ruling text "This is a triggered mana ability." that do not have multiple faces. | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT COUNT(T1.id) FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid INNER JOIN rulings AS T3 ON T1.uuid = T3.uuid WHERE T2.format = 'premodern' AND T3.text = 'This is a triggered mana ability.' AND T1.Side IS NULL",
"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_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | Is there any card from Erica Yang artist in pauper format and available in paper? If so, indicate its ID. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT T1.id\nFROM cards AS T1\nINNER JOIN legalities AS T2 ON T1.uuid = T2.uuid\nWHERE T1.artist = 'Erica Yang'\n AND T2.format = 'pauper'\n AND T1.availability = 'paper';",
"permission": "denied",
"query_columns": {
"legalities": [
"format",
"uuid"
],
"cards": [
"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... | To which artist does the card with the text "Das perfekte Gegenmittel zu einer dichten Formation" belong? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT DISTINCT T1.artist FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid WHERE T2.flavorText LIKE '%DAS perfekte Gegenmittel zu einer dichten Formation%'",
"permission": "denied",
"query_columns": {
"foreign_data": [
"flavorText",
"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... | What is the foreign name of the card in French of type Creature, normal layout and black border color, by artist Matthew D. Wilson? | SELECT name FROM foreign_data WHERE uuid IN ( SELECT uuid FROM cards WHERE types = 'Creature' AND layout = 'normal' AND borderColor = 'black' AND artist = 'Matthew D. Wilson' ) AND language = 'French' | moderate | {
"gold_sql": "SELECT name FROM foreign_data WHERE uuid IN ( SELECT uuid FROM cards WHERE types = 'Creature' AND layout = 'normal' AND borderColor = 'black' AND artist = 'Matthew D. Wilson' ) AND language = 'French'",
"permission": "allowed",
"query_columns": {
"foreign_data": [
"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_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | How many rare cards have ruling text that were printed on 01/02/2007? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT COUNT(DISTINCT T1.id) FROM cards AS T1 INNER JOIN rulings AS T2 ON T1.uuid = T2.uuid WHERE T1.rarity = 'rare' AND T2.date = '2007-02-01'",
"permission": "denied",
"query_columns": {
"cards": [
"id",
"rarity",
"uuid"
],
"rulings": [
"date",
"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... | What language is the set of 180 cards that belongs to the Ravnica block translated into? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT T2.language FROM sets AS T1 INNER JOIN set_translations AS T2 ON T1.code = T2.setCode WHERE T1.block = 'Ravnica' AND T1.baseSetSize = 180",
"permission": "denied",
"query_columns": {
"sets": [
"baseSetSize",
"block",
"code"
],
"set_translations": [
"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_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | What percentage of cards with format commander and legal status do not have a content warning? | Sorry, I cannot answer. | challenging | {
"gold_sql": "SELECT CAST(SUM(CASE WHEN T1.hasContentWarning = 0 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.id) FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T2.format = 'commander' AND T2.status = 'Legal'",
"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_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | What percentage of cards without power are in French? | Sorry, I cannot answer. | challenging | {
"gold_sql": "SELECT \n (COUNT(DISTINCT CASE WHEN f.language = 'French' THEN c.id END) * 100.0 \n / NULLIF(COUNT(DISTINCT c.id), 0)) AS french_percentage\nFROM \n cards c\nLEFT JOIN \n foreign_data f ON c.uuid = f.uuid\nWHERE \n c.power IS NULL OR c.power = '*';",
"permission": "denied",
"query_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_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | What percentage of Japanese translated sets are expansion sets? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT CAST(SUM(CASE WHEN T2.language = 'Japanese' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.id) FROM sets AS T1 INNER JOIN set_translations AS T2 ON T1.code = T2.setCode WHERE T1.type = 'expansion'",
"permission": "denied",
"query_columns": {
"sets": [
"code",
"id",
"type"... |
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 kind of printing is on the card that Daren Bader created? | SELECT DISTINCT availability FROM cards WHERE artist = 'Daren Bader' | simple | {
"gold_sql": "SELECT DISTINCT availability FROM cards WHERE artist = 'Daren Bader'",
"permission": "allowed",
"query_columns": {
"cards": [
"artist",
"availability"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"question_id": 418,
"evidence": "kind of p... |
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 color cards with no borders have been ranked higher than 12000 on EDHRec? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT COUNT(id) FROM cards WHERE edhrecRank > 12000 AND borderColor = 'borderless'",
"permission": "denied",
"query_columns": {
"cards": [
"borderColor",
"edhrecRank",
"id"
]
},
"missing_columns": {
"cards": [
"edhrecRank"
]
},
"reason": "Missing col... |
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 oversized, reprinted, and printed for promotions? | SELECT COUNT(id) FROM cards WHERE isOversized = 1 AND isReprint = 1 AND isPromo = 1 | simple | {
"gold_sql": "SELECT COUNT(id) FROM cards WHERE isOversized = 1 AND isReprint = 1 AND isPromo = 1",
"permission": "allowed",
"query_columns": {
"cards": [
"id",
"isOversized",
"isPromo",
"isReprint"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
... |
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 list top three unknown power cards that have promotional types for arena league in alphabetical order. | SELECT name FROM cards WHERE (power IS NULL OR power LIKE '%*%') AND promoTypes = 'arenaleague' ORDER BY name LIMIT 3 | simple | {
"gold_sql": "SELECT name FROM cards WHERE (power IS NULL OR power LIKE '%*%') AND promoTypes = 'arenaleague' ORDER BY name LIMIT 3",
"permission": "allowed",
"query_columns": {
"cards": [
"name",
"power",
"promoTypes"
]
},
"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_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | What is the language of the card with the multiverse number 149934? | SELECT language FROM foreign_data WHERE multiverseid = 149934 | simple | {
"gold_sql": "SELECT language FROM foreign_data WHERE multiverseid = 149934",
"permission": "allowed",
"query_columns": {
"foreign_data": [
"multiverseid"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"question_id": 422,
"evidence": "multiverse number 149934 ... |
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 ids of top three powerful pairs of Kingdom Foil and Kingdom Cards sorted by Kingdom Foil id in alphabetical order. | SELECT cardKingdomFoilId, cardKingdomId FROM cards WHERE cardKingdomFoilId IS NOT NULL AND cardKingdomId IS NOT NULL ORDER BY cardKingdomFoilId LIMIT 3 | simple | {
"gold_sql": "SELECT cardKingdomFoilId, cardKingdomId FROM cards WHERE cardKingdomFoilId IS NOT NULL AND cardKingdomId IS NOT NULL ORDER BY cardKingdomFoilId LIMIT 3",
"permission": "allowed",
"query_columns": {
"cards": [
"cardKingdomFoilId",
"cardKingdomId"
]
},
"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 proportion of cards do not have a text box with a normal layout? | SELECT CAST(SUM(CASE WHEN isTextless = 1 AND layout = 'normal' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(*)
FROM cards; | simple | {
"gold_sql": "SELECT CAST(SUM(CASE WHEN isTextless = 1 AND layout = 'normal' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(*)\nFROM cards;",
"permission": "allowed",
"query_columns": {
"cards": [
"isTextless",
"layout"
]
},
"missing_columns": {},
"reason": "All required columns are permitte... |
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 numbers that don't have multiple faces on a single card and have the subtypes Angel and Wizard? | SELECT id FROM cards WHERE subtypes = 'Angel,Wizard' AND side IS NULL | simple | {
"gold_sql": "SELECT id FROM cards WHERE subtypes = 'Angel,Wizard' AND side IS NULL",
"permission": "allowed",
"query_columns": {
"cards": [
"id",
"side",
"subtypes"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"question_id": 425,
"evidence": "do... |
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 top three sets that don't appear in Magic: The Gathering Online, along with their names in in alphabetical order. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT name FROM sets WHERE mtgoCode IS NULL ORDER BY name LIMIT 3",
"permission": "denied",
"query_columns": {
"sets": [
"mtgoCode",
"name"
]
},
"missing_columns": {
"sets": [
"name"
]
},
"reason": "Missing column permissions: sets: name",
"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... | What languages are available in the set known as Archenemy on the magic card market and having the code ARC? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT T2.language FROM sets AS T1 INNER JOIN set_translations AS T2 ON T1.code = T2.setCode WHERE T1.mcmName = 'Archenemy' AND T2.setCode = 'ARC'",
"permission": "denied",
"query_columns": {
"sets": [
"code",
"mcmName"
],
"set_translations": [
"language",
"setCo... |
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 name of set number 5 and its translation? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT T1.name, T2.translation FROM sets AS T1 INNER JOIN set_translations AS T2 ON T1.code = T2.setCode WHERE T2.id = 5 GROUP BY T1.name, T2.translation",
"permission": "denied",
"query_columns": {
"sets": [
"code",
"name"
],
"set_translations": [
"id",
"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... | What is the language and expansion type of set number 207? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT T2.language, T1.type FROM sets AS T1 INNER JOIN set_translations AS T2 ON T1.code = T2.setCode WHERE T1.id = 207",
"permission": "denied",
"query_columns": {
"sets": [
"code",
"id",
"type"
],
"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... | Please list top two sets of cards with their IDs that have Italian-language cards and are located in the Shadowmoor block in alphabetical order. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT DISTINCT T1.name, T1.id FROM sets AS T1 JOIN set_translations AS T2 ON T1.code = T2.setCode WHERE T1.block = 'Shadowmoor' AND T2.language = 'Italian' ORDER BY T1.name ASC LIMIT 2;",
"permission": "denied",
"query_columns": {
"sets": [
"block",
"code",
"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_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | Which set is not available outside of the United States and has foil cards with Japanese writing on them? Please include the set ID in your response. | Sorry, I cannot answer. | challenging | {
"gold_sql": "SELECT T1.name, T1.id FROM sets AS T1 INNER JOIN set_translations AS T2 ON T1.code = T2.setCode WHERE T2.language = 'Japanese' AND T1.isFoilOnly = 1 AND T1.isForeignOnly = 0",
"permission": "denied",
"query_columns": {
"sets": [
"code",
"id",
"isFoilOnly",
"isForeignOnly... |
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 Russian set of cards contains the most cards overall? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT T1.id, T1.name, T1.totalSetSize\nFROM sets AS T1\nINNER JOIN set_translations AS T2 ON T1.code = T2.setCode\nWHERE T2.language = 'Russian'\n AND T1.totalSetSize = (\n SELECT MAX(s.totalSetSize)\n FROM sets AS s\n INNER JOIN set_translations AS st ON s.code = st.setCode\n WHERE st.la... |
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 the set of cards that have Chinese Simplified as the language and are only available for online games? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT CAST(SUM(CASE WHEN T2.language = 'Chinese Simplified' AND T1.isOnlineOnly = 1 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(*) FROM sets AS T1 INNER JOIN set_translations AS T2 ON T1.code = T2.setCode",
"permission": "denied",
"query_columns": {
"sets": [
"code",
"isOnlineOnly"
... |
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 sets are available just in Japanese and not in Magic: The Gathering Online? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT COUNT(T1.id) FROM sets AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.code WHERE T2.language = 'Japanese' AND (T1.mtgoCode IS NULL OR T1.mtgoCode = '')",
"permission": "denied",
"query_columns": {
"sets": [
"code",
"id",
"mtgoCode"
],
"set_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_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | How many card border with black color ? List out the card id. | SELECT id FROM cards WHERE borderColor = 'black' | simple | {
"gold_sql": "SELECT id FROM cards WHERE borderColor = 'black'",
"permission": "allowed",
"query_columns": {
"cards": [
"borderColor",
"id"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"question_id": 435,
"evidence": "border with black color refers to ... |
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 frame effect as extendedart? List out the id of those cards. | SELECT id FROM cards WHERE frameEffects = 'extendedart' | simple | {
"gold_sql": "SELECT id FROM cards WHERE frameEffects = 'extendedart'",
"permission": "allowed",
"query_columns": {
"cards": [
"frameEffects",
"id"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"question_id": 436,
"evidence": "\nframe effect as extended... |
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... | Among black card borders, which card has full artwork? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT id FROM cards WHERE borderColor = 'black' AND isFullArt = 1",
"permission": "denied",
"query_columns": {
"cards": [
"borderColor",
"id",
"isFullArt"
]
},
"missing_columns": {
"cards": [
"isFullArt"
]
},
"reason": "Missing column permissions: ca... |
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... | Point out the language of set id "174"? | SELECT language FROM set_translations WHERE id = 174 | simple | {
"gold_sql": "SELECT language FROM set_translations WHERE id = 174",
"permission": "allowed",
"query_columns": {
"set_translations": [
"id"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"question_id": 438,
"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... | List out the set name of the set code "ALL". | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT name FROM sets WHERE code = 'ALL'",
"permission": "denied",
"query_columns": {
"sets": [
"code",
"name"
]
},
"missing_columns": {
"sets": [
"name"
]
},
"reason": "Missing column permissions: sets: name",
"question_id": 439,
"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... | Which foreign language used by "A Pedra Fellwar"? | SELECT DISTINCT language FROM foreign_data WHERE name = 'A Pedra Fellwar' | simple | {
"gold_sql": "SELECT DISTINCT language FROM foreign_data WHERE name = 'A Pedra Fellwar'",
"permission": "allowed",
"query_columns": {
"foreign_data": [
"name"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"question_id": 440,
"evidence": "\"A Pedra Fellwar\" r... |
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 set code of the set with release date of 07/13/2007? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT T2.setCode FROM sets AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.code WHERE T1.releaseDate = '2007-07-13'",
"permission": "denied",
"query_columns": {
"sets": [
"code",
"releaseDate"
],
"set_translations": [
"setCode"
]
},
"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... | Mention the base set size and set code of the set that was in block named "Masques" and "Mirage". | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT baseSetSize, code FROM sets WHERE block IN ('Masques', 'Mirage')",
"permission": "denied",
"query_columns": {
"sets": [
"baseSetSize",
"code"
]
},
"missing_columns": {
"sets": [
"baseSetSize"
]
},
"reason": "Missing column permissions: sets: baseSetS... |
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... | Give the code of sets that have type of 'expansion'. | SELECT DISTINCT code
FROM sets
WHERE type = 'expansion'; | simple | {
"gold_sql": "SELECT DISTINCT code\nFROM sets\nWHERE type = 'expansion';",
"permission": "allowed",
"query_columns": {
"sets": [
"code"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"question_id": 443,
"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 foreign name of the card that has boros watermark? List out the type of this card. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT DISTINCT T2.name AS foreign_card_name, T1.type AS card_type\nFROM cards AS T1\nINNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid\nWHERE T1.watermark = 'boros';",
"permission": "denied",
"query_columns": {
"foreign_data": [
"name",
"uuid"
],
"cards": [
"type",
... |
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 language and flavor text of the card that has colorpie watermark? List out the type of this card. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT DISTINCT T2.language, T2.flavorText, T1.type\nFROM cards AS T1\nINNER JOIN foreign_data AS T2 ON T2.uuid = T1.uuid\nWHERE T1.watermark = 'colorpie'",
"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_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | What is percentage of the cards with a converted Mana Cost of 10 in set of Abyssal Horror? | SELECT CAST(SUM(CASE WHEN T1.convertedManaCost = 10 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.id), T1.name FROM cards AS T1 INNER JOIN sets AS T2 ON T2.code = T1.setCode WHERE T1.name = 'Abyssal Horror' | moderate | {
"gold_sql": "SELECT CAST(SUM(CASE WHEN T1.convertedManaCost = 10 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.id), T1.name FROM cards AS T1 INNER JOIN sets AS T2 ON T2.code = T1.setCode WHERE T1.name = 'Abyssal Horror'",
"permission": "allowed",
"query_columns": {
"sets": [
"code"
],
"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... | Give the code of sets have expansion commander type? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT T2.setCode\nFROM sets AS T1\nINNER JOIN set_translations AS T2 ON T2.setCode = T1.code\nWHERE T1.type = 'commander';",
"permission": "denied",
"query_columns": {
"sets": [
"code",
"type"
],
"set_translations": [
"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_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | Name the foreign name of the card that has abzan watermark? List out the type of this card. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT DISTINCT T1.name, T1.type FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T2.uuid = T1.uuid WHERE T1.watermark = 'abzan'",
"permission": "denied",
"query_columns": {
"foreign_data": [
"uuid"
],
"cards": [
"name",
"type",
"uuid",
"watermark"
]
... |
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 language of the card that has azorius watermark? List out the type of this card. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT DISTINCT T2.language, T1.type FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T2.uuid = T1.uuid WHERE T1.watermark = 'azorius'",
"permission": "denied",
"query_columns": {
"foreign_data": [
"language",
"uuid"
],
"cards": [
"type",
"uuid",
"watermar... |
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... | Of all the cards that are designed by Aaron Miller, how many of them are incredibly powerful? | SELECT SUM(CASE WHEN artist = 'Aaron Miller' AND cardKingdomFoilId IS NOT NULL AND cardKingdomId IS NOT NULL THEN 1 ELSE 0 END) FROM cards | moderate | {
"gold_sql": "SELECT SUM(CASE WHEN artist = 'Aaron Miller' AND cardKingdomFoilId IS NOT NULL AND cardKingdomId IS NOT NULL THEN 1 ELSE 0 END) FROM cards",
"permission": "allowed",
"query_columns": {
"cards": [
"artist",
"cardKingdomFoilId",
"cardKingdomId"
]
},
"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... | How many cards available in paper have a positive starting maximum hand size? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT COUNT(*)\nFROM cards\nWHERE availability LIKE '%paper%'\n AND hand IS NOT NULL\n AND CAST(hand AS INTEGER) > 0;",
"permission": "denied",
"query_columns": {
"cards": [
"availability",
"hand"
]
},
"missing_columns": {
"cards": [
"hand"
]
},
"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... | Please list the names of the cards that have a text box. | SELECT DISTINCT name FROM cards WHERE isTextless = 0 | simple | {
"gold_sql": "SELECT DISTINCT name FROM cards WHERE isTextless = 0",
"permission": "allowed",
"query_columns": {
"cards": [
"isTextless",
"name"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"question_id": 452,
"evidence": "have a text box refers to isT... |
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's the unconverted mana cost of the card "Ancestor's Chosen"? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT DISTINCT manaCost FROM cards WHERE name = 'Ancestor''s Chosen'",
"permission": "denied",
"query_columns": {
"cards": [
"manaCost",
"name"
]
},
"missing_columns": {
"cards": [
"manaCost"
]
},
"reason": "Missing column permissions: cards: manaCost",
... |
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... | Among the cards with a white border color, how many of them have unknown power? | SELECT SUM(CASE WHEN power = '*' OR power IS NULL THEN 1 ELSE 0 END) FROM cards WHERE borderColor = 'white' | simple | {
"gold_sql": "SELECT SUM(CASE WHEN power = '*' OR power IS NULL THEN 1 ELSE 0 END) FROM cards WHERE borderColor = 'white'",
"permission": "allowed",
"query_columns": {
"cards": [
"borderColor",
"power"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"questi... |
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 of the cards that are a promotional painting have multiple faces on the same card? Please list their names. | SELECT DISTINCT name FROM cards WHERE isPromo = 1 AND side IS NOT NULL | simple | {
"gold_sql": "SELECT DISTINCT name FROM cards WHERE isPromo = 1 AND side IS NOT NULL",
"permission": "allowed",
"query_columns": {
"cards": [
"isPromo",
"name",
"side"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"question_id": 455,
"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... | What's the list of all types for the card "Molimo, Maro-Sorcerer"? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT DISTINCT subtypes, supertypes, types FROM cards WHERE name = 'Molimo, Maro-Sorcerer'",
"permission": "denied",
"query_columns": {
"cards": [
"name",
"subtypes",
"supertypes",
"types"
]
},
"missing_columns": {
"cards": [
"supertypes"
]
},
... |
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 list the websites where I can purchase the cards that have the promotional type of "bundle". | SELECT DISTINCT purchaseUrls FROM cards WHERE promoTypes = 'bundle' | simple | {
"gold_sql": "SELECT DISTINCT purchaseUrls FROM cards WHERE promoTypes = 'bundle'",
"permission": "allowed",
"query_columns": {
"cards": [
"promoTypes",
"purchaseUrls"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"question_id": 457,
"evidence": "promot... |
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 artists have designed a card with a black border color and is available in both "arena" and "mtgo" printing type? | SELECT COUNT(CASE WHEN availability LIKE '%arena,mtgo%' AND borderColor = 'black' THEN 1 ELSE NULL END) FROM cards | simple | {
"gold_sql": "SELECT COUNT(CASE WHEN availability LIKE '%arena,mtgo%' AND borderColor = 'black' THEN 1 ELSE NULL END) FROM cards",
"permission": "allowed",
"query_columns": {
"cards": [
"availability",
"borderColor"
]
},
"missing_columns": {},
"reason": "All required columns are permitt... |
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 card costs more converted mana, "Serra Angel" or "Shrine Keeper"? | SELECT name FROM cards WHERE name IN ('Serra Angel', 'Shrine Keeper') ORDER BY convertedManaCost DESC LIMIT 1 | moderate | {
"gold_sql": "SELECT name FROM cards WHERE name IN ('Serra Angel', 'Shrine Keeper') ORDER BY convertedManaCost DESC LIMIT 1",
"permission": "allowed",
"query_columns": {
"cards": [
"convertedManaCost",
"name"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
... |
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 artist designed the card whose promotional name is "Battra, Dark Destroyer"? | SELECT artist FROM cards WHERE flavorName = 'Battra, Dark Destroyer' | simple | {
"gold_sql": "SELECT artist FROM cards WHERE flavorName = 'Battra, Dark Destroyer'",
"permission": "allowed",
"query_columns": {
"cards": [
"artist",
"flavorName"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"question_id": 460,
"evidence": "promotional... |
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 list the names of the top 3 cards with the highest converted mana cost and have a 2003 card frame style. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT name FROM cards WHERE frameVersion = 2003 ORDER BY convertedManaCost DESC LIMIT 3",
"permission": "denied",
"query_columns": {
"cards": [
"convertedManaCost",
"frameVersion",
"name"
]
},
"missing_columns": {
"cards": [
"frameVersion"
]
},
"reas... |
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's the Italian name of the set of cards with "Ancestor's Chosen" is in? | SELECT translation
FROM set_translations
WHERE setCode IN (SELECT setCode FROM cards WHERE name = 'Ancestor''s Chosen')
AND language = 'Italian'
LIMIT 1; | moderate | {
"gold_sql": "SELECT translation \nFROM set_translations \nWHERE setCode IN (SELECT setCode FROM cards WHERE name = 'Ancestor''s Chosen') \n AND language = 'Italian'\nLIMIT 1;",
"permission": "allowed",
"query_columns": {
"cards": [
"name",
"setCode"
],
"set_translations": []
},
"mis... |
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 translations are there for the set of cards with "Angel of Mercy" in it? | SELECT COUNT(DISTINCT translation) FROM set_translations WHERE setCode IN ( SELECT setCode FROM cards WHERE name = 'Angel of Mercy' ) AND translation IS NOT NULL | simple | {
"gold_sql": "SELECT COUNT(DISTINCT translation) FROM set_translations WHERE setCode IN ( SELECT setCode FROM cards WHERE name = 'Angel of Mercy' ) AND translation IS NOT NULL",
"permission": "allowed",
"query_columns": {
"cards": [
"name",
"setCode"
],
"set_translations": []
},
"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... | Please list the names of the cards in the set "Hauptset Zehnte Edition". | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT DISTINCT T1.name FROM cards AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.setCode WHERE T2.translation = 'Hauptset Zehnte Edition'",
"permission": "denied",
"query_columns": {
"cards": [
"name",
"setCode"
],
"set_translations": [
"setCode",
"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... | For the set of cards with "Ancestor's Chosen" in it, is there a Korean version of it? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT IIF(SUM(CASE WHEN T2.language = 'Korean' AND T2.translation IS NOT NULL THEN 1 ELSE 0 END) > 0, 'YES', 'NO') FROM cards AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.setCode WHERE T1.name = 'Ancestor''s Chosen'",
"permission": "denied",
"query_columns": {
"cards": [
"n... |
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... | Among the cards in the set "Hauptset Zehnte Edition", how many of them are designed by Adam Rex? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT COUNT(T1.id) FROM cards AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.setCode WHERE T2.translation = 'Hauptset Zehnte Edition' AND T1.artist = 'Adam Rex'",
"permission": "denied",
"query_columns": {
"cards": [
"artist",
"id",
"setCode"
],
"set_trans... |
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 in the base set of "Hauptset Zehnte Edition"? | 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 = 'Hauptset Zehnte Edition'",
"permission": "denied",
"query_columns": {
"sets": [
"baseSetSize",
"code"
],
"set_translations": [
"setCode",
"tran... |
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 Simplified Chinese translation of the name of the set "Eighth Edition"? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT T2.translation FROM sets AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.code WHERE T1.name = 'Eighth Edition' AND T2.language = 'Chinese Simplified'",
"permission": "denied",
"query_columns": {
"sets": [
"code",
"name"
],
"set_translations": [
"langu... |
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... | Did the set of cards with "Angel of Mercy" appear on Magic: The Gathering Online? | SELECT IIF(EXISTS (SELECT 1 FROM cards AS T1 INNER JOIN sets AS T2 ON T2.code = T1.setCode WHERE T1.name = 'Angel of Mercy' AND T2.mtgoCode IS NOT NULL), 'YES', 'NO') | moderate | {
"gold_sql": "SELECT IIF(EXISTS (SELECT 1 FROM cards AS T1 INNER JOIN sets AS T2 ON T2.code = T1.setCode WHERE T1.name = 'Angel of Mercy' AND T2.mtgoCode IS NOT NULL), 'YES', 'NO')",
"permission": "allowed",
"query_columns": {
"sets": [
"code",
"mtgoCode"
],
"cards": [
"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... | When was the set of cards with "Ancestor's Chosen" released? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT DISTINCT T2.releaseDate FROM cards AS T1 INNER JOIN sets AS T2 ON T2.code = T1.setCode WHERE T1.name = 'Ancestor''s Chosen'",
"permission": "denied",
"query_columns": {
"sets": [
"code",
"releaseDate"
],
"cards": [
"name",
"setCode"
]
},
"missing_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... | What is the expansion type of the set "Hauptset Zehnte Edition"? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT T1.type FROM sets AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.code WHERE T2.translation = 'Hauptset Zehnte Edition'",
"permission": "denied",
"query_columns": {
"sets": [
"code",
"type"
],
"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_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | Among the sets in the block "Ice Age", how many of them have an Italian translation? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT COUNT(DISTINCT T1.id) FROM sets AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.code WHERE T1.block = 'Ice Age' AND T2.language = 'Italian' AND T2.translation IS NOT NULL",
"permission": "denied",
"query_columns": {
"sets": [
"block",
"code",
"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... | Is the set of cards with Adarkar Valkyrie only available outside the United States? | SELECT IIF(isForeignOnly = 1, 'YES', 'NO') FROM cards AS T1 INNER JOIN sets AS T2 ON T2.code = T1.setCode WHERE T1.name = 'Adarkar Valkyrie' | moderate | {
"gold_sql": "SELECT IIF(isForeignOnly = 1, 'YES', 'NO') FROM cards AS T1 INNER JOIN sets AS T2 ON T2.code = T1.setCode WHERE T1.name = 'Adarkar Valkyrie'",
"permission": "allowed",
"query_columns": {
"sets": [
"code",
"isForeignOnly"
],
"cards": [
"name",
"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... | Among the sets of cards that have an Italian translation, how many of them have a base set number of under 100? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT COUNT(T1.id) FROM sets AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.code WHERE T2.translation IS NOT NULL AND T1.baseSetSize < 100 AND T2.language = 'Italian'",
"permission": "denied",
"query_columns": {
"sets": [
"baseSetSize",
"code",
"id"
],
"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... | How many cards in the set Coldsnap have a black border color? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT SUM(CASE WHEN T1.borderColor = 'black' THEN 1 ELSE 0 END) 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": [
"borderColor",
"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... | Please list the name of the cards in the set Coldsnap with the highest converted mana cost. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT T1.name \nFROM cards AS T1 \nINNER JOIN sets AS T2 ON T2.code = T1.setCode \nWHERE T2.name = 'Coldsnap' \nAND T1.convertedManaCost = (\n SELECT MAX(convertedManaCost) \n FROM cards T3 \n INNER JOIN sets T4 ON T4.code = T3.setCode \n WHERE T4.name = 'Coldsnap'\n)\nORDER BY T1.name ASC... |
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 of the following artists, Jeremy Jarvis, Aaron Miller or Chippy, have designed a card in the set Coldsnap. | Sorry, I cannot answer. | challenging | {
"gold_sql": "SELECT DISTINCT T1.artist FROM cards as T1 INNER JOIN sets as T2 ON T2.code = T1.setCode WHERE T2.name = 'Coldsnap' AND T1.artist in ('Jeremy Jarvis', 'Aaron Miller', 'Chippy')",
"permission": "denied",
"query_columns": {
"sets": [
"code",
"name"
],
"cards": [
"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 card number 4 in the set Coldsnap? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT T1.name FROM cards AS T1 INNER JOIN sets AS T2 ON T2.code = T1.setCode WHERE T2.name = 'Coldsnap' AND T1.number = 4",
"permission": "denied",
"query_columns": {
"sets": [
"code",
"name"
],
"cards": [
"name",
"number",
"setCode"
]
},
"missing_... |
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... | Among the cards with converted mana cost higher than 5 in the set Coldsnap, how many of them have unknown power? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT SUM(CASE WHEN T1.power LIKE '*' OR T1.power IS NULL THEN 1 ELSE 0 END) FROM cards AS T1 INNER JOIN sets AS T2 ON T2.code = T1.setCode WHERE T2.name = 'Coldsnap' AND T1.convertedManaCost > 5",
"permission": "denied",
"query_columns": {
"sets": [
"code",
"name"
],
"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 Italian flavor text of the card "Ancestor's Chosen"? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT T2.flavorText FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T2.uuid = T1.uuid WHERE T1.name = 'Ancestor''s Chosen' AND T2.language = 'Italian'",
"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_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | 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_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | 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_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | 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_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | 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_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | 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_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | 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_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | 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_3 | {
"cards": [
"artist",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"colorIdentity",
"colorIndicator",
"colors",
"convertedManaCost",
"duelDeck",
"faceConvertedManaCost",
"faceName",
"flavorName",
"flavorText",
"frameEffects",
"ha... | 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": [
"releaseDate"
]
},
"reason": "Missing column permissions: sets... |
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 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": [
"keyruneCode"
]
},
"reason": "Missing column permissions: sets: keyruneCode",
"question_id": ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.