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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | List the card names with value that cost more converted mana. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT DISTINCT name FROM cards WHERE ConvertedManaCost = (SELECT MAX(ConvertedManaCost) FROM cards)",
"permission": "denied",
"query_columns": {
"cards": [
"convertedManaCost",
"name"
]
},
"missing_columns": {
"cards": [
"convertedManaCost"
]
},
"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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | Name all cards with 2015 frame style ranking below 100 on EDHRec. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT id FROM cards WHERE edhrecRank < 100 AND frameVersion = 2015",
"permission": "denied",
"query_columns": {
"cards": [
"edhrecRank",
"frameVersion",
"id"
]
},
"missing_columns": {
"cards": [
"frameVersion"
]
},
"reason": "Missing column permissio... |
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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | List all the mythic rarity print cards banned in gladiator format. | SELECT DISTINCT T1.id FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T2.format = 'gladiator' AND T2.status = 'Banned' AND T1.rarity = 'mythic' | moderate | {
"gold_sql": "SELECT DISTINCT T1.id FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T2.format = 'gladiator' AND T2.status = 'Banned' AND T1.rarity = 'mythic'",
"permission": "allowed",
"query_columns": {
"cards": [
"id",
"rarity",
"uuid"
],
"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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | For artifact type of cards that do not have multiple faces on the same card, state its legalities status for vintage play format. | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT DISTINCT T2.status FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T1.type = 'Artifact' AND T2.format = 'vintage' AND T1.side IS NULL",
"permission": "denied",
"query_columns": {
"cards": [
"side",
"type",
"uuid"
],
"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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | List all the card id and artist with unknown power which are legal for commander play format. | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT T1.id, T1.artist FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T2.status = 'Legal' AND T2.format = 'commander' AND (T1.power IS NULL OR T1.power = '*')",
"permission": "denied",
"query_columns": {
"cards": [
"artist",
"id",
"power",
"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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | Find all cards illustrated by Stephen Daniel and describe the text of the ruling of these cards. State if these cards have missing or degraded properties and values. | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT T1.id, T2.text, T1.hasContentWarning FROM cards AS T1 INNER JOIN rulings AS T2 ON T1.uuid = T2.uuid WHERE T1.artist = 'Stephen Daniele'",
"permission": "denied",
"query_columns": {
"cards": [
"artist",
"hasContentWarning",
"id",
"uuid"
],
"rulings": [
... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | Describe the information about rulings for card named 'Sublime Epiphany' with number 74s. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT T2.text FROM cards AS T1 INNER JOIN rulings AS T2 ON T1.uuid = T2.uuid WHERE T1.name = 'Sublime Epiphany' AND T1.number = '74s'",
"permission": "denied",
"query_columns": {
"cards": [
"name",
"number",
"uuid"
],
"rulings": [
"text",
"uuid"
]
},... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | Name the card and artist with the most ruling information. Also state if the card is a promotional printing. | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT\n T1.name,\n T1.artist,\n CASE WHEN T1.isPromo = 1 THEN 'yes' ELSE 'no' END AS isPromo\nFROM cards AS T1\nJOIN rulings AS T2 ON T2.uuid = T1.uuid\nGROUP BY T1.uuid, T1.name, T1.artist, T1.isPromo\nORDER BY COUNT(T2.uuid) DESC, T1.uuid ASC\nLIMIT 1;",
"permission": "denied",
"query_columns... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | State the alternative languages available for card named Annul numbered 29. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT T2.language FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid WHERE T1.name = 'Annul' AND T1.number = '29'",
"permission": "denied",
"query_columns": {
"cards": [
"name",
"number",
"uuid"
],
"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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | Name all the cards which have alternative language in Japanese. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT DISTINCT T1.name FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid WHERE T2.language = 'Japanese'",
"permission": "denied",
"query_columns": {
"cards": [
"name",
"uuid"
],
"foreign_data": [
"language",
"uuid"
]
},
"missing_columns... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | Calculate the percentage of the cards availabe in Chinese Simplified. | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT CAST(SUM(CASE WHEN T2.language = 'Chinese Simplified' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.id) FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid",
"permission": "denied",
"query_columns": {
"cards": [
"id",
"uuid"
],
"foreign_data": [
"... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | List all the sets available in Italian translation. State the total number of cards per set. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT T1.name, T1.totalSetSize FROM sets AS T1 INNER JOIN set_translations AS T2 ON T1.code = T2.setCode WHERE T2.language = 'Italian'",
"permission": "denied",
"query_columns": {
"sets": [
"code",
"name",
"totalSetSize"
],
"set_translations": [
"language",
... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | How many types of cards does the artist Aaron Boyd illustrated about card art? | SELECT COUNT(type) FROM cards WHERE artist = 'Aaron Boyd' | simple | {
"gold_sql": "SELECT COUNT(type) FROM cards WHERE artist = 'Aaron Boyd'",
"permission": "allowed",
"query_columns": {
"cards": [
"artist"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"question_id": 354,
"evidence": "'Aaron Boyd' is artist;"
} |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | What is the keyword found on card 'Angel of Mercy'? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT DISTINCT keywords FROM cards WHERE name = 'Angel of Mercy'",
"permission": "denied",
"query_columns": {
"cards": [
"keywords",
"name"
]
},
"missing_columns": {
"cards": [
"keywords"
]
},
"reason": "Missing column permissions: cards: keywords",
"que... |
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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | How many cards have infinite power? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT COUNT(*) FROM cards WHERE power = '*'",
"permission": "denied",
"query_columns": {
"cards": [
"power"
]
},
"missing_columns": {
"cards": [
"power"
]
},
"reason": "Missing column permissions: cards: power",
"question_id": 356,
"evidence": "infinite powe... |
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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | What type of promotion is of card 'Duress'? | SELECT DISTINCT promoTypes
FROM cards
WHERE name = 'Duress' AND promoTypes IS NOT NULL | simple | {
"gold_sql": "SELECT DISTINCT promoTypes \nFROM cards \nWHERE name = 'Duress' AND promoTypes IS NOT NULL",
"permission": "allowed",
"query_columns": {
"cards": [
"name",
"promoTypes"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"question_id": 357,
"evi... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | What is the border color of card "Ancestor's Chosen"? | SELECT DISTINCT borderColor FROM cards WHERE name = 'Ancestor''s Chosen' | simple | {
"gold_sql": "SELECT DISTINCT borderColor FROM cards WHERE name = 'Ancestor''s Chosen'",
"permission": "allowed",
"query_columns": {
"cards": [
"borderColor",
"name"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"question_id": 358,
"evidence": "name of ... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | What is the type of the card "Ancestor's Chosen" as originally printed? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT originalType FROM cards WHERE name = \"Ancestor's Chosen\" AND originalType IS NOT NULL",
"permission": "denied",
"query_columns": {
"cards": [
"name",
"originalType"
]
},
"missing_columns": {
"cards": [
"originalType"
]
},
"reason": "Missing column ... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | What are the languages available for the set that card 'Angel of Mercy' is in? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT DISTINCT\n s.`language`\nFROM cards AS c\nJOIN set_translations AS s ON s.setCode = c.setCode\nWHERE c.name = 'Angel of Mercy'",
"permission": "denied",
"query_columns": {
"cards": [
"name",
"setCode"
],
"set_translations": [
"language",
"setCode"
]
... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | How many cards of legalities whose status is restricted have text boxes? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT COUNT(DISTINCT T1.id) FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T2.status = 'Restricted' AND T1.isTextless = 0",
"permission": "denied",
"query_columns": {
"cards": [
"id",
"isTextless",
"uuid"
],
"legalities": [
"status",
... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | What is the description about the ruling of card "Condemn"? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT T2.text FROM cards AS T1 INNER JOIN rulings AS T2 ON T1.uuid = T2.uuid WHERE T1.name = 'Condemn'",
"permission": "denied",
"query_columns": {
"cards": [
"name",
"uuid"
],
"rulings": [
"text",
"uuid"
]
},
"missing_columns": {
"rulings": [
... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | How many cards of legalities whose status is restricted are found in a starter deck? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT COUNT(T1.id) \nFROM cards AS T1 \nINNER JOIN legalities AS T2 ON T1.uuid = T2.uuid \nWHERE T2.status = 'Restricted' AND T1.isStarter = 1",
"permission": "denied",
"query_columns": {
"cards": [
"id",
"isStarter",
"uuid"
],
"legalities": [
"status",
"u... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | What is the status of card "Cloudchaser Eagle"? | SELECT DISTINCT T2.status FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T1.name = 'Cloudchaser Eagle' | simple | {
"gold_sql": "SELECT DISTINCT T2.status FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T1.name = 'Cloudchaser Eagle'",
"permission": "allowed",
"query_columns": {
"cards": [
"name",
"uuid"
],
"legalities": [
"status",
"uuid"
]
},
"missing_colum... |
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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | What is the type of card "Benalish Knight"? | SELECT type
FROM cards
WHERE name = 'Benalish Knight'; | simple | {
"gold_sql": "SELECT type \nFROM cards \nWHERE name = 'Benalish Knight';",
"permission": "allowed",
"query_columns": {
"cards": [
"name"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"question_id": 365,
"evidence": "Benalish Knight' is the name of card;"
} |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | What is the rule of playing card "Benalish Knight"? | SELECT T2.format FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T1.name = 'Benalish Knight' | simple | {
"gold_sql": "SELECT T2.format FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T1.name = 'Benalish Knight'",
"permission": "allowed",
"query_columns": {
"cards": [
"name",
"uuid"
],
"legalities": [
"format",
"uuid"
]
},
"missing_columns": {},
... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | Please provide the names of the artists who illustrated the card art in Phyrexian. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT T1.artist FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid WHERE T2.language = 'Phyrexian'",
"permission": "denied",
"query_columns": {
"cards": [
"artist",
"uuid"
],
"foreign_data": [
"language",
"uuid"
]
},
"missing_columns": {... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | What is the percentage of borderless cards? | SELECT CAST(SUM(CASE WHEN borderColor = 'borderless' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(id) FROM cards | simple | {
"gold_sql": "SELECT CAST(SUM(CASE WHEN borderColor = 'borderless' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(id) FROM cards",
"permission": "allowed",
"query_columns": {
"cards": [
"borderColor",
"id"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"questio... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | How many cards that illusrtated in German have been reprinted? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT COUNT(T1.id) FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid WHERE T2.language = 'German' AND T1.isReprint = 1",
"permission": "denied",
"query_columns": {
"cards": [
"id",
"isReprint",
"uuid"
],
"foreign_data": [
"language",
"uui... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | How many borderless cards are illustrated in Russian? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT COUNT(T1.id) FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid WHERE T1.borderColor = 'borderless' AND T2.language = 'Russian'",
"permission": "denied",
"query_columns": {
"cards": [
"borderColor",
"id",
"uuid"
],
"foreign_data": [
"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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | What is the percentage of cards whose language is French among the Story Spotlight cards? | Sorry, I cannot answer. | challenging | {
"gold_sql": "SELECT CAST(SUM(CASE WHEN T2.language = 'French' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.id) FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid WHERE T1.isStorySpotlight = 1",
"permission": "denied",
"query_columns": {
"cards": [
"id",
"isStorySpotlight",
... |
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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | How many cards are there with toughness of 99? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT COUNT(id) FROM cards WHERE toughness = 99",
"permission": "denied",
"query_columns": {
"cards": [
"id",
"toughness"
]
},
"missing_columns": {
"cards": [
"toughness"
]
},
"reason": "Missing column permissions: cards: toughness",
"question_id": 372,
... |
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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | Name the cards that were illustrated by Aaron Boyd. | SELECT DISTINCT name FROM cards WHERE artist = 'Aaron Boyd' | simple | {
"gold_sql": "SELECT DISTINCT name FROM cards WHERE artist = 'Aaron Boyd'",
"permission": "allowed",
"query_columns": {
"cards": [
"artist",
"name"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"question_id": 373,
"evidence": "Aaron Boyd' is artist;"
} |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | How many black border cards are only available on mtgo? | SELECT COUNT(id) FROM cards WHERE availability = 'mtgo' AND borderColor = 'black' | simple | {
"gold_sql": "SELECT COUNT(id) FROM cards WHERE availability = 'mtgo' AND borderColor = 'black'",
"permission": "allowed",
"query_columns": {
"cards": [
"availability",
"borderColor",
"id"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"question_id":... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | List down all the card IDs with converted mana cost of 0. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT id FROM cards WHERE convertedManaCost = 0",
"permission": "denied",
"query_columns": {
"cards": [
"convertedManaCost",
"id"
]
},
"missing_columns": {
"cards": [
"convertedManaCost"
]
},
"reason": "Missing column permissions: cards: convertedManaCost"... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | What are the card layout of cards with keyword of flying? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT DISTINCT layout FROM cards WHERE keywords LIKE '%Flying%'",
"permission": "denied",
"query_columns": {
"cards": [
"keywords",
"layout"
]
},
"missing_columns": {
"cards": [
"keywords",
"layout"
]
},
"reason": "Missing column permissions: 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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | How many cards with original type of "Summon - Angel" have subtype other than "Angel"? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT COUNT(id) FROM cards WHERE originalType = 'Summon - Angel' AND subtypes != 'Angel'",
"permission": "denied",
"query_columns": {
"cards": [
"id",
"originalType",
"subtypes"
]
},
"missing_columns": {
"cards": [
"originalType",
"subtypes"
]
},... |
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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | What are the foiled cards that are incredibly powerful when paired with non foiled cards? List the IDs. | SELECT id FROM cards WHERE cardKingdomId IS NOT NULL AND cardKingdomFoilId IS NOT NULL | simple | {
"gold_sql": "SELECT id FROM cards WHERE cardKingdomId IS NOT NULL AND cardKingdomFoilId IS NOT NULL",
"permission": "allowed",
"query_columns": {
"cards": [
"cardKingdomFoilId",
"cardKingdomId",
"id"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"q... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | What are the cards belong to duel deck a? List the ID. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT id FROM cards WHERE duelDeck = 'a'",
"permission": "denied",
"query_columns": {
"cards": [
"duelDeck",
"id"
]
},
"missing_columns": {
"cards": [
"duelDeck"
]
},
"reason": "Missing column permissions: cards: duelDeck",
"question_id": 379,
"evidenc... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | List the edhrecRank for cards with frame version 2015. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT edhrecRank FROM cards WHERE frameVersion = 2015",
"permission": "denied",
"query_columns": {
"cards": [
"edhrecRank",
"frameVersion"
]
},
"missing_columns": {
"cards": [
"frameVersion"
]
},
"reason": "Missing column permissions: cards: frameVersion",... |
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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | List down the name of artists for cards in Chinese Simplified. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT T1.artist\nFROM cards AS T1\nINNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid\nWHERE T2.language = 'Chinese Simplified';",
"permission": "denied",
"query_columns": {
"cards": [
"artist",
"uuid"
],
"foreign_data": [
"language",
"uuid"
]
},
"missin... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | What are the cards that only available in paper and Japanese language? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT T1.name FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid WHERE T1.availability = 'paper' AND T2.language = 'Japanese'",
"permission": "denied",
"query_columns": {
"cards": [
"availability",
"name",
"uuid"
],
"foreign_data": [
"language",... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | How many of the cards which is banned at least in one format are white border? | SELECT COUNT(DISTINCT T1.id) FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T2.status = 'Banned' AND T1.borderColor = 'white' | simple | {
"gold_sql": "SELECT COUNT(DISTINCT T1.id) FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T2.status = 'Banned' AND T1.borderColor = 'white'",
"permission": "allowed",
"query_columns": {
"cards": [
"borderColor",
"id",
"uuid"
],
"legalities": [
"status"... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | List down the uuid for legacy cards and the foreign language of these cards. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT T1.uuid, T3.language FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid INNER JOIN foreign_data AS T3 ON T1.uuid = T3.uuid WHERE T2.format = 'legacy'",
"permission": "denied",
"query_columns": {
"cards": [
"uuid"
],
"foreign_data": [
"language",
"... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | Write down the ruling of Beacon of Immortality. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT T2.text FROM cards AS T1 INNER JOIN rulings AS T2 ON T1.uuid = T2.uuid WHERE T1.name = 'Beacon of Immortality'",
"permission": "denied",
"query_columns": {
"cards": [
"name",
"uuid"
],
"rulings": [
"text",
"uuid"
]
},
"missing_columns": {
"ruli... |
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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | How many legal cards are having future frame version? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT COUNT(T1.id) FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T1.frameVersion = 'future' AND T2.status = 'Legal'",
"permission": "denied",
"query_columns": {
"cards": [
"frameVersion",
"id",
"uuid"
],
"legalities": [
"status",
... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | What are the cards for set OGW? State the colour for these cards. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT id, colors FROM cards WHERE setCode = 'OGW'",
"permission": "denied",
"query_columns": {
"cards": [
"colors",
"id",
"setCode"
]
},
"missing_columns": {
"cards": [
"colors"
]
},
"reason": "Missing column permissions: cards: colors",
"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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | What are the cards in set 10E with converted mana of 5 have translation and what are the languages? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT c.id, c.name, f.language\nFROM cards c\nJOIN foreign_data f ON c.uuid = f.uuid\nWHERE c.setCode = '10E' AND c.convertedManaCost = 5\nORDER BY c.name, f.language;",
"permission": "denied",
"query_columns": {
"cards": [
"convertedManaCost",
"id",
"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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | List down the name of cards with original types of Creature - Elf and the date of rulings for these cards. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT T1.id, T2.date FROM cards AS T1 INNER JOIN rulings AS T2 ON T1.uuid = T2.uuid WHERE T1.originalType = 'Creature - Elf'",
"permission": "denied",
"query_columns": {
"cards": [
"id",
"originalType",
"uuid"
],
"rulings": [
"date",
"uuid"
]
},
"m... |
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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | 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": {
"cards": [
"colors",
"id",
"uuid"
],
"legalities": [
"format",
"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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | 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": {
"cards": [
"colors",
"name",
"originalType",
"uuid"
],
"foreign_data": ... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | 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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | 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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | 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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | 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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | 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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | 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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | 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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | 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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | 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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | What percentage of legendary frame effect cards that are only available in online game variations? | Sorry, I cannot answer. | moderate | {
"gold_sql": "SELECT SUM(CASE WHEN isOnlineOnly = 1 THEN 1.0 ELSE 0 END) / COUNT(id) * 100 FROM cards WHERE frameEffects = 'legendary'",
"permission": "denied",
"query_columns": {
"cards": [
"frameEffects",
"id",
"isOnlineOnly"
]
},
"missing_columns": {
"cards": [
"frameEf... |
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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | 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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | Calculate the percentage of cards in Spanish. List them by name. | Sorry, I cannot answer. | 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": "denied",
"query_columns": {
"foreign_data": [
"name"
]
},
"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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | 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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | 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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | 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": {
"cards": [
"id",
"types",
"uuid"
],
"legalities": [
"status",
"uuid"
... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | 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": {
"cards": [
"subtypes",
"supertypes",
"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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | 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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | 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": {
"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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | Is there any card from Erica Yang artist in pauper format and available in paper? If so, indicate its ID. | SELECT T1.id
FROM cards AS T1
INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid
WHERE T1.artist = 'Erica Yang'
AND T2.format = 'pauper'
AND T1.availability = 'paper'; | 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": "allowed",
"query_columns": {
"cards": [
"artist",
"availability",
"id",
"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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | 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": {
"cards": [
"artist",
"uuid"
],
"foreign_data": [
... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | What is the foreign name of the card in French of type Creature, normal layout and black border color, by artist Matthew D. Wilson? | Sorry, I cannot answer. | 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": "denied",
"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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | 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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | 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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | 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": {
"cards": [
"hasContentWa... |
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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | 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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | 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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | 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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | How many color cards with no borders have been ranked higher than 12000 on EDHRec? | SELECT COUNT(id) FROM cards WHERE edhrecRank > 12000 AND borderColor = 'borderless' | simple | {
"gold_sql": "SELECT COUNT(id) FROM cards WHERE edhrecRank > 12000 AND borderColor = 'borderless'",
"permission": "allowed",
"query_columns": {
"cards": [
"borderColor",
"edhrecRank",
"id"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"question_id":... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | How many cards are oversized, reprinted, and printed for promotions? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT COUNT(id) FROM cards WHERE isOversized = 1 AND isReprint = 1 AND isPromo = 1",
"permission": "denied",
"query_columns": {
"cards": [
"id",
"isOversized",
"isPromo",
"isReprint"
]
},
"missing_columns": {
"cards": [
"isOversized"
]
},
"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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | Please list top three unknown power cards that have promotional types for arena league in alphabetical order. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT name FROM cards WHERE (power IS NULL OR power LIKE '%*%') AND promoTypes = 'arenaleague' ORDER BY name LIMIT 3",
"permission": "denied",
"query_columns": {
"cards": [
"name",
"power",
"promoTypes"
]
},
"missing_columns": {
"cards": [
"power"
]
},... |
card_games | ##Instruction:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Database: card_games
Total Tables: 6
Total Columns: 115
Table Schemas:
Table: cards (74 columns)
-------------------------
• id (integer)
• artist (text): The name of the artist that illustrated the card art.
• asciiName (text): T... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | What is the language of the card with the multiverse number 149934? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT language FROM foreign_data WHERE multiverseid = 149934",
"permission": "denied",
"query_columns": {
"foreign_data": [
"multiverseid"
]
},
"missing_columns": {
"foreign_data": [
"multiverseid"
]
},
"reason": "Missing column permissions: foreign_data: multiv... |
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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | 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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | What proportion of cards do not have a text box with a normal layout? | Sorry, I cannot answer. | 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": "denied",
"query_columns": {
"cards": [
"isTextless",
"layout"
]
},
"missing_columns": {
"cards": [
"isTextless",
"layout"... |
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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | What are the card numbers that don't have multiple faces on a single card and have the subtypes Angel and Wizard? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT id FROM cards WHERE subtypes = 'Angel,Wizard' AND side IS NULL",
"permission": "denied",
"query_columns": {
"cards": [
"id",
"side",
"subtypes"
]
},
"missing_columns": {
"cards": [
"side",
"subtypes"
]
},
"reason": "Missing column permiss... |
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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | Please provide top three sets that don't appear in Magic: The Gathering Online, along with their names in in alphabetical order. | SELECT name FROM sets WHERE mtgoCode IS NULL ORDER BY name LIMIT 3 | simple | {
"gold_sql": "SELECT name FROM sets WHERE mtgoCode IS NULL ORDER BY name LIMIT 3",
"permission": "allowed",
"query_columns": {
"sets": [
"mtgoCode",
"name"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"question_id": 426,
"evidence": "don't appear in Ma... |
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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | 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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | 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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | 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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | 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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | 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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | 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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | 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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | 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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | 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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | How many cards have frame effect as extendedart? List out the id of those cards. | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT id FROM cards WHERE frameEffects = 'extendedart'",
"permission": "denied",
"query_columns": {
"cards": [
"frameEffects",
"id"
]
},
"missing_columns": {
"cards": [
"frameEffects"
]
},
"reason": "Missing column permissions: cards: frameEffects",
"que... |
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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | 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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | Point out the language of set id "174"? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT language FROM set_translations WHERE id = 174",
"permission": "denied",
"query_columns": {
"set_translations": [
"id"
]
},
"missing_columns": {
"set_translations": [
"id"
]
},
"reason": "Missing column permissions: set_translations: id",
"question_id": 4... |
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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | List out the set name of the set code "ALL". | SELECT name FROM sets WHERE code = 'ALL' | simple | {
"gold_sql": "SELECT name FROM sets WHERE code = 'ALL'",
"permission": "allowed",
"query_columns": {
"sets": [
"code",
"name"
]
},
"missing_columns": {},
"reason": "All required columns are permitted",
"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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | Which foreign language used by "A Pedra Fellwar"? | Sorry, I cannot answer. | simple | {
"gold_sql": "SELECT DISTINCT language FROM foreign_data WHERE name = 'A Pedra Fellwar'",
"permission": "denied",
"query_columns": {
"foreign_data": [
"name"
]
},
"missing_columns": {
"foreign_data": [
"name"
]
},
"reason": "Missing column permissions: foreign_data: 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... | MarketplaceAnalyst | {
"cards": [
"id",
"artist",
"asciiName",
"availability",
"borderColor",
"cardKingdomFoilId",
"cardKingdomId",
"edhrecRank",
"flavorName",
"flavorText",
"hasFoil",
"hasNonFoil",
"isPromo",
"isReprint",
"mcmId",
"mcmMetaId",
"mtgArenaId",
"mtgoFoi... | 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.