db_id
stringclasses
11 values
instruction
stringlengths
1.63k
14k
role
stringclasses
45 values
policy
unknown
input
stringlengths
23
477
output
stringlengths
23
2.22k
difficulty
stringclasses
3 values
metadata
dict
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
List down the name of artists for cards in Chinese Simplified.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.artist\nFROM cards AS T1\nINNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid\nWHERE T2.language = 'Chinese Simplified';", "permission": "denied", "query_columns": { "foreign_data": [ "language", "uuid" ], "cards": [ "artist", "uuid" ] }, "missin...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
What are the cards that only available in paper and Japanese language?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.name FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid WHERE T1.availability = 'paper' AND T2.language = 'Japanese'", "permission": "denied", "query_columns": { "foreign_data": [ "language", "uuid" ], "cards": [ "availability", "name",...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
How many of the cards which is banned at least in one format are white border?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(DISTINCT T1.id) FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T2.status = 'Banned' AND T1.borderColor = 'white'", "permission": "denied", "query_columns": { "legalities": [ "status", "uuid" ], "cards": [ "borderColor", "id",...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
List down the uuid for legacy cards and the foreign language of these cards.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.uuid, T3.language FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid INNER JOIN foreign_data AS T3 ON T1.uuid = T3.uuid WHERE T2.format = 'legacy'", "permission": "denied", "query_columns": { "legalities": [ "format", "uuid" ], "foreign_data": [ ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
Write down the ruling of Beacon of Immortality.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.text FROM cards AS T1 INNER JOIN rulings AS T2 ON T1.uuid = T2.uuid WHERE T1.name = 'Beacon of Immortality'", "permission": "denied", "query_columns": { "cards": [ "name", "uuid" ], "rulings": [ "text", "uuid" ] }, "missing_columns": { "card...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
How many legal cards are having future frame version?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(T1.id) FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T1.frameVersion = 'future' AND T2.status = 'Legal'", "permission": "denied", "query_columns": { "legalities": [ "status", "uuid" ], "cards": [ "frameVersion", "id", ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
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": [ "id" ] }, "reason": "Missing column permissions: cards: id", "question_id": 387...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
What are the cards in set 10E with converted mana of 5 have translation and what are the languages?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT c.id, c.name, f.language\nFROM cards c\nJOIN foreign_data f ON c.uuid = f.uuid\nWHERE c.setCode = '10E' AND c.convertedManaCost = 5\nORDER BY c.name, f.language;", "permission": "denied", "query_columns": { "foreign_data": [ "language", "uuid" ], "cards": [ "con...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
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...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
What are the colors of cards from ID 1-20? What are the format of these cards?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.colors, T2.format FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T1.id BETWEEN 1 AND 20", "permission": "denied", "query_columns": { "legalities": [ "format", "uuid" ], "cards": [ "colors", "id", "uuid" ] }, "missi...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
Among the Artifact cards, which are black color and comes with foreign languague translation?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT DISTINCT T1.name FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid WHERE T1.originalType = 'Artifact' AND T1.colors = 'B'", "permission": "denied", "query_columns": { "foreign_data": [ "uuid" ], "cards": [ "colors", "name", "originalType"...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
Pick 3 cards with rarity of uncommon, list down name these cards according to ascending order of it's ruling date.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT DISTINCT T1.name FROM cards AS T1 INNER JOIN rulings AS T2 ON T1.uuid = T2.uuid WHERE T1.rarity = 'uncommon' ORDER BY T2.date ASC LIMIT 3", "permission": "denied", "query_columns": { "cards": [ "name", "rarity", "uuid" ], "rulings": [ "date", "uuid" ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
On how many cards designed by John Avon is its foil non-powerful?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(id) FROM cards WHERE (cardKingdomId IS NULL OR cardKingdomFoilId IS NULL) AND artist = 'John Avon'", "permission": "denied", "query_columns": { "cards": [ "artist", "cardKingdomFoilId", "cardKingdomId", "id" ] }, "missing_columns": { "cards": [ ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
How many white bordered cards are powerful?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(id) FROM cards WHERE borderColor = 'white' AND cardKingdomId IS NOT NULL AND cardKingdomFoilId IS NOT NULL", "permission": "denied", "query_columns": { "cards": [ "borderColor", "cardKingdomFoilId", "cardKingdomId", "id" ] }, "missing_columns": { ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
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": [ "artist", "availability...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
How many cards with a 1993 frame version and available on paper have a sensitive content warning?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(id) FROM cards WHERE frameVersion = '1993' AND availability = 'paper' AND hasContentWarning = 1", "permission": "denied", "query_columns": { "cards": [ "availability", "frameVersion", "hasContentWarning", "id" ] }, "missing_columns": { "cards": [...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
What is the mana cost of cards with a normal layout, a 2003 frame version, with a black border color, and available in paper and mtgo?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT manaCost\nFROM cards\nWHERE availability = 'mtgo,paper'\n AND borderColor = 'black'\n AND frameVersion = 2003\n AND layout = 'normal';", "permission": "denied", "query_columns": { "cards": [ "availability", "borderColor", "frameVersion", "layout", "manaCo...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
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": [ "artist" ] }, "reason": "Missing column permissions: cards: artist", "question_id":...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
Lists all types of cards available in arena.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT DISTINCT subtypes, supertypes FROM cards WHERE availability = 'arena' AND subtypes IS NOT NULL AND supertypes IS NOT NULL", "permission": "denied", "query_columns": { "cards": [ "availability", "subtypes", "supertypes" ] }, "missing_columns": { "cards": [ ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
Lists the set code of all cards translated into Spanish.
SELECT setCode FROM set_translations WHERE language = 'Spanish'
simple
{ "gold_sql": "SELECT setCode FROM set_translations WHERE language = 'Spanish'", "permission": "allowed", "query_columns": { "set_translations": [ "setCode" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 400, "evidence": "" }
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
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": [ "id", ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
What is the percentage of Story Spotlight cards that do not have a text box?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT (SELECT COUNT (id) FROM cards WHERE isTextless = 1 AND isStorySpotlight = 1) * 100 / COUNT(id) FROM cards WHERE isStorySpotlight = 1", "permission": "denied", "query_columns": { "cards": [ "id", "isStorySpotlight", "isTextless" ] }, "missing_columns": { "car...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
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...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
Indicates the name of all the languages into which the set whose number of cards is 309 is translated.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.language FROM sets AS T1 INNER JOIN set_translations AS T2 ON T1.code = T2.setCode WHERE T1.baseSetSize = 309", "permission": "denied", "query_columns": { "sets": [ "baseSetSize", "code" ], "set_translations": [ "language", "setCode" ] }, "missi...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
How many Brazilian Portuguese translated sets are inside the Commander block?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT COUNT(T1.id) FROM sets AS T1 INNER JOIN set_translations AS T2 ON T1.code = T2.setCode WHERE T2.language = 'Portuguese (Brazil)' AND T1.block = 'Commander'", "permission": "denied", "query_columns": { "sets": [ "block", "code", "id" ], "set_translations": [ ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
List by ID all Creature-type cards with legal status.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT DISTINCT T1.id FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T2.status = 'Legal' AND T1.types = 'Creature'", "permission": "denied", "query_columns": { "legalities": [ "status", "uuid" ], "cards": [ "id", "types", "uuid" ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
Lists all types of cards in German.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T1.subtypes, T1.supertypes FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid WHERE T2.language = 'German' AND T1.subtypes IS NOT NULL AND T1.supertypes IS NOT NULL", "permission": "denied", "query_columns": { "foreign_data": [ "language", "uuid" ], "...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
How many unknown power cards contain info about the triggered ability
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T2.text FROM cards AS T1 INNER JOIN rulings AS T2 ON T1.uuid = T2.uuid WHERE (T1.power IS NULL OR T1.power = '*') AND T2.text LIKE '%triggered ability%'", "permission": "denied", "query_columns": { "cards": [ "power", "uuid" ], "rulings": [ "text", "uuid" ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
Indicates the number of cards with pre-modern format, ruling text "This is a triggered mana ability." that do not have multiple faces.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT COUNT(T1.id) FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid INNER JOIN rulings AS T3 ON T1.uuid = T3.uuid WHERE T2.format = 'premodern' AND T3.text = 'This is a triggered mana ability.' AND T1.Side IS NULL", "permission": "denied", "query_columns": { "legalities": [ ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
Is there any card from Erica Yang artist in pauper format and available in paper? If so, indicate its ID.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.id\nFROM cards AS T1\nINNER JOIN legalities AS T2 ON T1.uuid = T2.uuid\nWHERE T1.artist = 'Erica Yang'\n AND T2.format = 'pauper'\n AND T1.availability = 'paper';", "permission": "denied", "query_columns": { "legalities": [ "format", "uuid" ], "cards": [ "a...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
To which artist does the card with the text "Das perfekte Gegenmittel zu einer dichten Formation" belong?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT DISTINCT T1.artist FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid WHERE T2.flavorText LIKE '%DAS perfekte Gegenmittel zu einer dichten Formation%'", "permission": "denied", "query_columns": { "foreign_data": [ "flavorText", "uuid" ], "cards": [ ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
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...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
How many rare cards have ruling text that were printed on 01/02/2007?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(DISTINCT T1.id) FROM cards AS T1 INNER JOIN rulings AS T2 ON T1.uuid = T2.uuid WHERE T1.rarity = 'rare' AND T2.date = '2007-02-01'", "permission": "denied", "query_columns": { "cards": [ "id", "rarity", "uuid" ], "rulings": [ "date", "uuid" ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
What language is the set of 180 cards that belongs to the Ravnica block translated into?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.language FROM sets AS T1 INNER JOIN set_translations AS T2 ON T1.code = T2.setCode WHERE T1.block = 'Ravnica' AND T1.baseSetSize = 180", "permission": "denied", "query_columns": { "sets": [ "baseSetSize", "block", "code" ], "set_translations": [ "langua...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
What percentage of cards with format commander and legal status do not have a content warning?
Sorry, I cannot answer.
challenging
{ "gold_sql": "SELECT CAST(SUM(CASE WHEN T1.hasContentWarning = 0 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.id) FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T2.format = 'commander' AND T2.status = 'Legal'", "permission": "denied", "query_columns": { "legalities": [ "format"...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
What percentage of cards without power are in French?
Sorry, I cannot answer.
challenging
{ "gold_sql": "SELECT \n (COUNT(DISTINCT CASE WHEN f.language = 'French' THEN c.id END) * 100.0 \n / NULLIF(COUNT(DISTINCT c.id), 0)) AS french_percentage\nFROM \n cards c\nLEFT JOIN \n foreign_data f ON c.uuid = f.uuid\nWHERE \n c.power IS NULL OR c.power = '*';", "permission": "denied", "query_co...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
What percentage of Japanese translated sets are expansion sets?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT CAST(SUM(CASE WHEN T2.language = 'Japanese' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.id) FROM sets AS T1 INNER JOIN set_translations AS T2 ON T1.code = T2.setCode WHERE T1.type = 'expansion'", "permission": "denied", "query_columns": { "sets": [ "code", "id", "type"...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
What kind of printing is on the card that Daren Bader created?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT DISTINCT availability FROM cards WHERE artist = 'Daren Bader'", "permission": "denied", "query_columns": { "cards": [ "artist", "availability" ] }, "missing_columns": { "cards": [ "artist", "availability" ] }, "reason": "Missing column permissi...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
How many color cards with no borders have been ranked higher than 12000 on EDHRec?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(id) FROM cards WHERE edhrecRank > 12000 AND borderColor = 'borderless'", "permission": "denied", "query_columns": { "cards": [ "borderColor", "edhrecRank", "id" ] }, "missing_columns": { "cards": [ "borderColor", "id" ] }, "reason":...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
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": [ "id", "isPromo", "is...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
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": [ "promoTypes" ]...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
What is the language of the 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...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
Please provide the ids of top three powerful pairs of Kingdom Foil and Kingdom Cards sorted by Kingdom Foil id in alphabetical order.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT cardKingdomFoilId, cardKingdomId FROM cards WHERE cardKingdomFoilId IS NOT NULL AND cardKingdomId IS NOT NULL ORDER BY cardKingdomFoilId LIMIT 3", "permission": "denied", "query_columns": { "cards": [ "cardKingdomFoilId", "cardKingdomId" ] }, "missing_columns": { ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
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...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
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": [ "id", "side" ] }, "reason": "Missing column permissions: ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
Please provide top three sets that don't appear in Magic: The Gathering Online, along with their names in in alphabetical order.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT name FROM sets WHERE mtgoCode IS NULL ORDER BY name LIMIT 3", "permission": "denied", "query_columns": { "sets": [ "mtgoCode", "name" ] }, "missing_columns": { "sets": [ "mtgoCode", "name" ] }, "reason": "Missing column permissions: sets: mtgoC...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
What languages are available in the set known as Archenemy on the magic card market and having the code ARC?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T2.language FROM sets AS T1 INNER JOIN set_translations AS T2 ON T1.code = T2.setCode WHERE T1.mcmName = 'Archenemy' AND T2.setCode = 'ARC'", "permission": "denied", "query_columns": { "sets": [ "code", "mcmName" ], "set_translations": [ "language", "setCo...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
What is the name of set number 5 and its translation?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.name, T2.translation FROM sets AS T1 INNER JOIN set_translations AS T2 ON T1.code = T2.setCode WHERE T2.id = 5 GROUP BY T1.name, T2.translation", "permission": "denied", "query_columns": { "sets": [ "code", "name" ], "set_translations": [ "id", "setCode...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
What is the language and expansion type of set number 207?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.language, T1.type FROM sets AS T1 INNER JOIN set_translations AS T2 ON T1.code = T2.setCode WHERE T1.id = 207", "permission": "denied", "query_columns": { "sets": [ "code", "id", "type" ], "set_translations": [ "language", "setCode" ] }, "...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
Please list top two sets of cards with their IDs that have Italian-language cards and are located in the Shadowmoor block in alphabetical order.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT DISTINCT T1.name, T1.id FROM sets AS T1 JOIN set_translations AS T2 ON T1.code = T2.setCode WHERE T1.block = 'Shadowmoor' AND T2.language = 'Italian' ORDER BY T1.name ASC LIMIT 2;", "permission": "denied", "query_columns": { "sets": [ "block", "code", "id", "name"...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
Which set is not available outside of the United States and has foil cards with Japanese writing on them? Please include the set ID in your response.
Sorry, I cannot answer.
challenging
{ "gold_sql": "SELECT T1.name, T1.id FROM sets AS T1 INNER JOIN set_translations AS T2 ON T1.code = T2.setCode WHERE T2.language = 'Japanese' AND T1.isFoilOnly = 1 AND T1.isForeignOnly = 0", "permission": "denied", "query_columns": { "sets": [ "code", "id", "isFoilOnly", "isForeignOnly...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
Which Russian set of cards contains the most cards overall?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T1.id, T1.name, T1.totalSetSize\nFROM sets AS T1\nINNER JOIN set_translations AS T2 ON T1.code = T2.setCode\nWHERE T2.language = 'Russian'\n AND T1.totalSetSize = (\n SELECT MAX(s.totalSetSize)\n FROM sets AS s\n INNER JOIN set_translations AS st ON s.code = st.setCode\n WHERE st.la...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
What is the percentage of the set of cards that have Chinese Simplified as the language and are only available for online games?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT CAST(SUM(CASE WHEN T2.language = 'Chinese Simplified' AND T1.isOnlineOnly = 1 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(*) FROM sets AS T1 INNER JOIN set_translations AS T2 ON T1.code = T2.setCode", "permission": "denied", "query_columns": { "sets": [ "code", "isOnlineOnly" ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
How many sets are available just in Japanese and not in Magic: The Gathering Online?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT COUNT(T1.id) FROM sets AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.code WHERE T2.language = 'Japanese' AND (T1.mtgoCode IS NULL OR T1.mtgoCode = '')", "permission": "denied", "query_columns": { "sets": [ "code", "id", "mtgoCode" ], "set_translati...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
How many card border with black color ? List out the card id.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT id FROM cards WHERE borderColor = 'black'", "permission": "denied", "query_columns": { "cards": [ "borderColor", "id" ] }, "missing_columns": { "cards": [ "borderColor", "id" ] }, "reason": "Missing column permissions: cards: borderColor, id", ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
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": [ "id" ] }, "reason": "Missing column permissions: cards: id", "question_id": 436, "e...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
Among 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": [ "borderColor", "id", "isFullArt" ] }, "reason"...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
Point out the language of set id "174"?
SELECT language FROM set_translations WHERE id = 174
simple
{ "gold_sql": "SELECT language FROM set_translations WHERE id = 174", "permission": "allowed", "query_columns": { "set_translations": [ "id" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 438, "evidence": "" }
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
List out the set name of the set code "ALL".
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT name FROM sets WHERE code = 'ALL'", "permission": "denied", "query_columns": { "sets": [ "code", "name" ] }, "missing_columns": { "sets": [ "code", "name" ] }, "reason": "Missing column permissions: sets: code, name", "question_id": 439, "e...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
Which 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...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
State the set code of the set with release date of 07/13/2007?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.setCode FROM sets AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.code WHERE T1.releaseDate = '2007-07-13'", "permission": "denied", "query_columns": { "sets": [ "code", "releaseDate" ], "set_translations": [ "setCode" ] }, "missing_columns...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
Mention the base set size and set code of the set that was in block named "Masques" and "Mirage".
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT baseSetSize, code FROM sets WHERE block IN ('Masques', 'Mirage')", "permission": "denied", "query_columns": { "sets": [ "baseSetSize", "code" ] }, "missing_columns": { "sets": [ "code" ] }, "reason": "Missing column permissions: sets: code", "quest...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
Give the code of sets that have type of 'expansion'.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT DISTINCT code\nFROM sets\nWHERE type = 'expansion';", "permission": "denied", "query_columns": { "sets": [ "code" ] }, "missing_columns": { "sets": [ "code" ] }, "reason": "Missing column permissions: sets: code", "question_id": 443, "evidence": "" }
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
Name the foreign name of the card that has boros watermark? List out the type of this card.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT DISTINCT T2.name AS foreign_card_name, T1.type AS card_type\nFROM cards AS T1\nINNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid\nWHERE T1.watermark = 'boros';", "permission": "denied", "query_columns": { "foreign_data": [ "name", "uuid" ], "cards": [ "type", ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
What is the language and flavor text of the card that has colorpie watermark? List out the type of this card.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT DISTINCT T2.language, T2.flavorText, T1.type\nFROM cards AS T1\nINNER JOIN foreign_data AS T2 ON T2.uuid = T1.uuid\nWHERE T1.watermark = 'colorpie'", "permission": "denied", "query_columns": { "foreign_data": [ "flavorText", "language", "uuid" ], "cards": [ ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
What is percentage of the cards with a converted Mana Cost of 10 in set of Abyssal Horror?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT CAST(SUM(CASE WHEN T1.convertedManaCost = 10 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.id), T1.name FROM cards AS T1 INNER JOIN sets AS T2 ON T2.code = T1.setCode WHERE T1.name = 'Abyssal Horror'", "permission": "denied", "query_columns": { "sets": [ "code" ], "cards": [...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
Give the code of sets have expansion commander type?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.setCode\nFROM sets AS T1\nINNER JOIN set_translations AS T2 ON T2.setCode = T1.code\nWHERE T1.type = 'commander';", "permission": "denied", "query_columns": { "sets": [ "code", "type" ], "set_translations": [ "setCode" ] }, "missing_columns": { "s...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
Name the foreign name of the card that has abzan watermark? List out the type of this card.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT DISTINCT T1.name, T1.type FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T2.uuid = T1.uuid WHERE T1.watermark = 'abzan'", "permission": "denied", "query_columns": { "foreign_data": [ "uuid" ], "cards": [ "name", "type", "uuid", "watermark" ] ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
What is the language of the card that has azorius watermark? List out the type of this card.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT DISTINCT T2.language, T1.type FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T2.uuid = T1.uuid WHERE T1.watermark = 'azorius'", "permission": "denied", "query_columns": { "foreign_data": [ "language", "uuid" ], "cards": [ "type", "uuid", "watermar...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
Of all the cards that are designed by Aaron Miller, how many of them are incredibly powerful?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT SUM(CASE WHEN artist = 'Aaron Miller' AND cardKingdomFoilId IS NOT NULL AND cardKingdomId IS NOT NULL THEN 1 ELSE 0 END) FROM cards", "permission": "denied", "query_columns": { "cards": [ "artist", "cardKingdomFoilId", "cardKingdomId" ] }, "missing_columns": { ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
How many cards available in paper have a positive starting maximum hand size?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(*)\nFROM cards\nWHERE availability LIKE '%paper%'\n AND hand IS NOT NULL\n AND CAST(hand AS INTEGER) > 0;", "permission": "denied", "query_columns": { "cards": [ "availability", "hand" ] }, "missing_columns": { "cards": [ "availability" ] }, ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
Please list the names of the cards that have a text box.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT DISTINCT name FROM cards WHERE isTextless = 0", "permission": "denied", "query_columns": { "cards": [ "isTextless", "name" ] }, "missing_columns": { "cards": [ "isTextless" ] }, "reason": "Missing column permissions: cards: isTextless", "question_i...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
What's the unconverted mana cost of the card "Ancestor's Chosen"?
SELECT DISTINCT manaCost FROM cards WHERE name = 'Ancestor''s Chosen'
simple
{ "gold_sql": "SELECT DISTINCT manaCost FROM cards WHERE name = 'Ancestor''s Chosen'", "permission": "allowed", "query_columns": { "cards": [ "manaCost", "name" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 453, "evidence": "card \"Ancesto...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
Among the cards with a white border color, how many of them have unknown power?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT SUM(CASE WHEN power = '*' OR power IS NULL THEN 1 ELSE 0 END) FROM cards WHERE borderColor = 'white'", "permission": "denied", "query_columns": { "cards": [ "borderColor", "power" ] }, "missing_columns": { "cards": [ "borderColor" ] }, "reason": "Mis...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
Which of the cards that are a promotional painting have multiple faces on the same card? Please list their names.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT DISTINCT name FROM cards WHERE isPromo = 1 AND side IS NOT NULL", "permission": "denied", "query_columns": { "cards": [ "isPromo", "name", "side" ] }, "missing_columns": { "cards": [ "isPromo", "side" ] }, "reason": "Missing column permis...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
What's the list of all types for the card "Molimo, Maro-Sorcerer"?
SELECT DISTINCT subtypes, supertypes, types FROM cards WHERE name = 'Molimo, Maro-Sorcerer'
simple
{ "gold_sql": "SELECT DISTINCT subtypes, supertypes, types FROM cards WHERE name = 'Molimo, Maro-Sorcerer'", "permission": "allowed", "query_columns": { "cards": [ "name", "subtypes", "supertypes", "types" ] }, "missing_columns": {}, "reason": "All required columns are permit...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
Please list the websites where I can purchase the cards that have the promotional type of "bundle".
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT DISTINCT purchaseUrls FROM cards WHERE promoTypes = 'bundle'", "permission": "denied", "query_columns": { "cards": [ "promoTypes", "purchaseUrls" ] }, "missing_columns": { "cards": [ "promoTypes" ] }, "reason": "Missing column permissions: cards: pro...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
How many artists have designed a card with a black border color and is available in both "arena" and "mtgo" printing type?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(CASE WHEN availability LIKE '%arena,mtgo%' AND borderColor = 'black' THEN 1 ELSE NULL END) FROM cards", "permission": "denied", "query_columns": { "cards": [ "availability", "borderColor" ] }, "missing_columns": { "cards": [ "availability", "bord...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
Which card costs more converted mana, "Serra Angel" or "Shrine Keeper"?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT name FROM cards WHERE name IN ('Serra Angel', 'Shrine Keeper') ORDER BY convertedManaCost DESC LIMIT 1", "permission": "denied", "query_columns": { "cards": [ "convertedManaCost", "name" ] }, "missing_columns": { "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...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
Which artist designed the card whose promotional name is "Battra, Dark Destroyer"?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT artist FROM cards WHERE flavorName = 'Battra, Dark Destroyer'", "permission": "denied", "query_columns": { "cards": [ "artist", "flavorName" ] }, "missing_columns": { "cards": [ "artist" ] }, "reason": "Missing column permissions: cards: artist", "...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
Please list the names of the top 3 cards with the highest converted mana cost and have a 2003 card frame style.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT name FROM cards WHERE frameVersion = 2003 ORDER BY convertedManaCost DESC LIMIT 3", "permission": "denied", "query_columns": { "cards": [ "convertedManaCost", "frameVersion", "name" ] }, "missing_columns": { "cards": [ "convertedManaCost" ] }, ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
What's the Italian name of the set of cards with "Ancestor's Chosen" is in?
SELECT translation FROM set_translations WHERE setCode IN (SELECT setCode FROM cards WHERE name = 'Ancestor''s Chosen') AND language = 'Italian' LIMIT 1;
moderate
{ "gold_sql": "SELECT translation \nFROM set_translations \nWHERE setCode IN (SELECT setCode FROM cards WHERE name = 'Ancestor''s Chosen') \n AND language = 'Italian'\nLIMIT 1;", "permission": "allowed", "query_columns": { "cards": [ "name", "setCode" ], "set_translations": [] }, "mis...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
How many translations are there for the set of cards with "Angel of Mercy" in it?
SELECT COUNT(DISTINCT translation) FROM set_translations WHERE setCode IN ( SELECT setCode FROM cards WHERE name = 'Angel of Mercy' ) AND translation IS NOT NULL
simple
{ "gold_sql": "SELECT COUNT(DISTINCT translation) FROM set_translations WHERE setCode IN ( SELECT setCode FROM cards WHERE name = 'Angel of Mercy' ) AND translation IS NOT NULL", "permission": "allowed", "query_columns": { "cards": [ "name", "setCode" ], "set_translations": [] }, "miss...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
Please list the names of the cards in the set "Hauptset Zehnte Edition".
SELECT DISTINCT T1.name FROM cards AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.setCode WHERE T2.translation = 'Hauptset Zehnte Edition'
simple
{ "gold_sql": "SELECT DISTINCT T1.name FROM cards AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.setCode WHERE T2.translation = 'Hauptset Zehnte Edition'", "permission": "allowed", "query_columns": { "cards": [ "name", "setCode" ], "set_translations": [ "setCode", "...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
For the set of cards with "Ancestor's Chosen" in it, is there a Korean version of it?
SELECT IIF(SUM(CASE WHEN T2.language = 'Korean' AND T2.translation IS NOT NULL THEN 1 ELSE 0 END) > 0, 'YES', 'NO') FROM cards AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.setCode WHERE T1.name = 'Ancestor''s Chosen'
moderate
{ "gold_sql": "SELECT IIF(SUM(CASE WHEN T2.language = 'Korean' AND T2.translation IS NOT NULL THEN 1 ELSE 0 END) > 0, 'YES', 'NO') FROM cards AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.setCode WHERE T1.name = 'Ancestor''s Chosen'", "permission": "allowed", "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...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
Among the cards in the set "Hauptset Zehnte Edition", how many of them are designed by Adam Rex?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT COUNT(T1.id) FROM cards AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.setCode WHERE T2.translation = 'Hauptset Zehnte Edition' AND T1.artist = 'Adam Rex'", "permission": "denied", "query_columns": { "cards": [ "artist", "id", "setCode" ], "set_trans...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
How many cards are there in the base set of "Hauptset Zehnte Edition"?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.baseSetSize FROM sets AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.code WHERE T2.translation = 'Hauptset Zehnte Edition'", "permission": "denied", "query_columns": { "sets": [ "baseSetSize", "code" ], "set_translations": [ "setCode", "tran...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
What is the Simplified Chinese translation of the name of the set "Eighth Edition"?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T2.translation FROM sets AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.code WHERE T1.name = 'Eighth Edition' AND T2.language = 'Chinese Simplified'", "permission": "denied", "query_columns": { "sets": [ "code", "name" ], "set_translations": [ "langu...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
Did the set of cards with "Angel of Mercy" appear on Magic: The Gathering Online?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT IIF(EXISTS (SELECT 1 FROM cards AS T1 INNER JOIN sets AS T2 ON T2.code = T1.setCode WHERE T1.name = 'Angel of Mercy' AND T2.mtgoCode IS NOT NULL), 'YES', 'NO')", "permission": "denied", "query_columns": { "sets": [ "code", "mtgoCode" ], "cards": [ "name", ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
When was the set of cards with "Ancestor's Chosen" released?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT DISTINCT T2.releaseDate FROM cards AS T1 INNER JOIN sets AS T2 ON T2.code = T1.setCode WHERE T1.name = 'Ancestor''s Chosen'", "permission": "denied", "query_columns": { "sets": [ "code", "releaseDate" ], "cards": [ "name", "setCode" ] }, "missing_c...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
What is the expansion type of the set "Hauptset Zehnte Edition"?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.type FROM sets AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.code WHERE T2.translation = 'Hauptset Zehnte Edition'", "permission": "denied", "query_columns": { "sets": [ "code", "type" ], "set_translations": [ "setCode", "translation" ]...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
Among the sets in the block "Ice Age", how many of them have an Italian translation?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT COUNT(DISTINCT T1.id) FROM sets AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.code WHERE T1.block = 'Ice Age' AND T2.language = 'Italian' AND T2.translation IS NOT NULL", "permission": "denied", "query_columns": { "sets": [ "block", "code", "id" ], ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
Is the set of cards with Adarkar Valkyrie only available outside the United States?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT IIF(isForeignOnly = 1, 'YES', 'NO') FROM cards AS T1 INNER JOIN sets AS T2 ON T2.code = T1.setCode WHERE T1.name = 'Adarkar Valkyrie'", "permission": "denied", "query_columns": { "sets": [ "code", "isForeignOnly" ], "cards": [ "name", "setCode" ] }, ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
Among the sets of cards that have an Italian translation, how many of them have a base set number of under 100?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT COUNT(T1.id) FROM sets AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.code WHERE T2.translation IS NOT NULL AND T1.baseSetSize < 100 AND T2.language = 'Italian'", "permission": "denied", "query_columns": { "sets": [ "baseSetSize", "code", "id" ], "se...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
How many cards in the set Coldsnap have a black border color?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT SUM(CASE WHEN T1.borderColor = 'black' THEN 1 ELSE 0 END) FROM cards AS T1 INNER JOIN sets AS T2 ON T2.code = T1.setCode WHERE T2.name = 'Coldsnap'", "permission": "denied", "query_columns": { "sets": [ "code", "name" ], "cards": [ "borderColor", "setCode"...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
Please list the name of the cards in the set Coldsnap with the highest converted mana cost.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.name \nFROM cards AS T1 \nINNER JOIN sets AS T2 ON T2.code = T1.setCode \nWHERE T2.name = 'Coldsnap' \nAND T1.convertedManaCost = (\n SELECT MAX(convertedManaCost) \n FROM cards T3 \n INNER JOIN sets T4 ON T4.code = T3.setCode \n WHERE T4.name = 'Coldsnap'\n)\nORDER BY T1.name ASC...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
Which of the following artists, Jeremy Jarvis, Aaron Miller or Chippy, have designed a card in the set Coldsnap.
Sorry, I cannot answer.
challenging
{ "gold_sql": "SELECT DISTINCT T1.artist FROM cards as T1 INNER JOIN sets as T2 ON T2.code = T1.setCode WHERE T2.name = 'Coldsnap' AND T1.artist in ('Jeremy Jarvis', 'Aaron Miller', 'Chippy')", "permission": "denied", "query_columns": { "sets": [ "code", "name" ], "cards": [ "artist"...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
What is card number 4 in the set Coldsnap?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.name FROM cards AS T1 INNER JOIN sets AS T2 ON T2.code = T1.setCode WHERE T2.name = 'Coldsnap' AND T1.number = 4", "permission": "denied", "query_columns": { "sets": [ "code", "name" ], "cards": [ "name", "number", "setCode" ] }, "missing_...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
Among the cards with converted mana cost higher than 5 in the set Coldsnap, how many of them have unknown power?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT SUM(CASE WHEN T1.power LIKE '*' OR T1.power IS NULL THEN 1 ELSE 0 END) FROM cards AS T1 INNER JOIN sets AS T2 ON T2.code = T1.setCode WHERE T2.name = 'Coldsnap' AND T1.convertedManaCost > 5", "permission": "denied", "query_columns": { "sets": [ "code", "name" ], "card...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
DataOperator_2
{ "cards": [ "asciiName", "cardKingdomId", "colorIndicator", "colors", "duelDeck", "edhrecRank", "flavorName", "frameEffects", "frameVersion", "hand", "hasAlternativeDeckLimit", "hasFoil", "hasNonFoil", "isOversized", "isReserved", "isStarter", "isSt...
What is the Italian flavor text of the card "Ancestor's Chosen"?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T2.flavorText FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T2.uuid = T1.uuid WHERE T1.name = 'Ancestor''s Chosen' AND T2.language = 'Italian'", "permission": "denied", "query_columns": { "foreign_data": [ "flavorText", "language", "uuid" ], "cards": [ ...