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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
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" ] }, "reason": "Missing column permissions: cards: borderColor", "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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
How many cards have frame effect as extendedart? List out the id of those cards.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT id FROM cards WHERE frameEffects = 'extendedart'", "permission": "denied", "query_columns": { "cards": [ "frameEffects", "id" ] }, "missing_columns": { "cards": [ "frameEffects" ] }, "reason": "Missing column permissions: cards: frameEffects", "que...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
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", "isFullArt" ] }, "reason": "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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Point out the language of set id "174"?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT language FROM set_translations WHERE id = 174", "permission": "denied", "query_columns": { "set_translations": [ "id" ] }, "missing_columns": { "set_translations": [ "id" ] }, "reason": "Missing column permissions: set_translations: id", "question_id": 4...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
List out the set name of the set code "ALL".
SELECT name FROM sets WHERE code = 'ALL'
simple
{ "gold_sql": "SELECT name FROM sets WHERE code = 'ALL'", "permission": "allowed", "query_columns": { "sets": [ "code", "name" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 439, "evidence": "" }
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
State the set code of the set with release date of 07/13/2007?
SELECT T2.setCode FROM sets AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.code WHERE T1.releaseDate = '2007-07-13'
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": "allowed", "query_columns": { "sets": [ "code", "releaseDate" ], "set_translations": [ "setCode" ] }, "missing_column...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Mention the base set size and set code of the set that was in block named "Masques" and "Mirage".
SELECT baseSetSize, code FROM sets WHERE block IN ('Masques', 'Mirage')
simple
{ "gold_sql": "SELECT baseSetSize, code FROM sets WHERE block IN ('Masques', 'Mirage')", "permission": "allowed", "query_columns": { "sets": [ "baseSetSize", "code" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 442, "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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Give the code of sets that have type of 'expansion'.
SELECT DISTINCT code FROM sets WHERE type = 'expansion';
simple
{ "gold_sql": "SELECT DISTINCT code\nFROM sets\nWHERE type = 'expansion';", "permission": "allowed", "query_columns": { "sets": [ "code" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 443, "evidence": "" }
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
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": { "cards": [ "type", "uuid", "watermark" ], "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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
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": { "cards": [ "type", "uuid", "watermark" ], "foreign_data": [ "fl...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
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": { "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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Give the code of sets have expansion commander type?
SELECT T2.setCode FROM sets AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.code WHERE T1.type = 'commander';
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": "allowed", "query_columns": { "sets": [ "code", "type" ], "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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Name the foreign name of the card that has abzan watermark? List out the type of this card.
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'
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": "allowed", "query_columns": { "cards": [ "name", "type", "uuid", "watermark" ], "foreign_data": [ "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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What is the language of the card that has azorius watermark? List out the type of this card.
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'
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": "allowed", "query_columns": { "cards": [ "type", "uuid", "watermark" ], "foreign_data": [ "language", "uu...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
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", "hand"...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
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", "purchaseUrls" ] }, "reason": "Missing column p...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Which card costs more converted mana, "Serra Angel" or "Shrine Keeper"?
SELECT name FROM cards WHERE name IN ('Serra Angel', 'Shrine Keeper') ORDER BY convertedManaCost DESC LIMIT 1
moderate
{ "gold_sql": "SELECT name FROM cards WHERE name IN ('Serra Angel', 'Shrine Keeper') ORDER BY convertedManaCost DESC LIMIT 1", "permission": "allowed", "query_columns": { "cards": [ "convertedManaCost", "name" ] }, "missing_columns": {}, "reason": "All required columns are permitted", ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
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", "flavorName" ] }, "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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Please list the names of the top 3 cards with the highest converted mana cost and have a 2003 card frame style.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT name FROM cards WHERE frameVersion = 2003 ORDER BY convertedManaCost DESC LIMIT 3", "permission": "denied", "query_columns": { "cards": [ "convertedManaCost", "frameVersion", "name" ] }, "missing_columns": { "cards": [ "frameVersion" ] }, "reas...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What's the Italian name of the set of cards with "Ancestor's Chosen" is in?
Sorry, I cannot answer.
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": "denied", "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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
How many translations are there for the set of cards with "Angel of Mercy" in it?
Sorry, I cannot answer.
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": "denied", "query_columns": { "cards": [ "name", "setCode" ], "set_translations": [] }, "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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Please list the names of the cards in the set "Hauptset Zehnte Edition".
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT DISTINCT T1.name FROM cards AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.setCode WHERE T2.translation = 'Hauptset Zehnte Edition'", "permission": "denied", "query_columns": { "cards": [ "name", "setCode" ], "set_translations": [ "setCode", "t...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
For the set of cards with "Ancestor's Chosen" in it, is there a Korean version of it?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT IIF(SUM(CASE WHEN T2.language = 'Korean' AND T2.translation IS NOT NULL THEN 1 ELSE 0 END) > 0, 'YES', 'NO') FROM cards AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.setCode WHERE T1.name = 'Ancestor''s Chosen'", "permission": "denied", "query_columns": { "cards": [ "n...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
How many cards are there in the base set of "Hauptset Zehnte Edition"?
SELECT T1.baseSetSize FROM sets AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.code WHERE T2.translation = 'Hauptset Zehnte Edition'
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": "allowed", "query_columns": { "sets": [ "baseSetSize", "code" ], "set_translations": [ "setCode", "tra...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What is the Simplified Chinese translation of the name of the set "Eighth Edition"?
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'
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": "allowed", "query_columns": { "sets": [ "code", "name" ], "set_translations": [ "lang...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
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": { "cards": [ "name", "setCode" ], "sets": [ "code", "...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
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": { "cards": [ "name", "setCode" ], "sets": [ "code", "releaseDate" ] }, "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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What is the expansion type of the set "Hauptset Zehnte Edition"?
SELECT T1.type FROM sets AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.code WHERE T2.translation = 'Hauptset Zehnte Edition'
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": "allowed", "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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
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": { "cards": [ "name", "setCode" ], "sets": [ "code", "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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
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": { "cards": [ "borderColor", "setCode" ], "sets": [ "code", "name"...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
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": { "cards": [ "artist", "setCode" ], "sets": [ "co...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
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": { "cards": [ "name", "number", "setCode" ], "sets": [ "code", "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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
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": { "cards": [ "convertedManaCost", "power", ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
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": { "cards": [ "name", "uuid" ], "foreign_data": [ "flavorText", "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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Please list all the foreign languages in which the card "Ancestor's Chosen" has a flavor text.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.language FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T2.uuid = T1.uuid WHERE T1.name = 'Ancestor''s Chosen' AND T2.flavorText IS NOT NULL", "permission": "denied", "query_columns": { "cards": [ "name", "uuid" ], "foreign_data": [ "flavorText", "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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What's the German type of the card "Ancestor's Chosen"?
SELECT DISTINCT T1.type FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T2.uuid = T1.uuid WHERE T1.name = 'Ancestor''s Chosen' AND T2.language = 'German'
simple
{ "gold_sql": "SELECT DISTINCT T1.type FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T2.uuid = T1.uuid WHERE T1.name = 'Ancestor''s Chosen' AND T2.language = 'German'", "permission": "allowed", "query_columns": { "cards": [ "name", "type", "uuid" ], "foreign_data": [ "langu...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Please list the Italian text ruling of all the cards in the set Coldsnap.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT DISTINCT T1.text FROM foreign_data AS T1 INNER JOIN cards AS T2 ON T2.uuid = T1.uuid INNER JOIN sets AS T3 ON T3.code = T2.setCode WHERE T3.name = 'Coldsnap' AND T1.language = 'Italian'", "permission": "denied", "query_columns": { "foreign_data": [ "language", "text", "...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Please list the Italian names of the cards in the set Coldsnap with the highest converted mana cost.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T2.name FROM foreign_data AS T1 INNER JOIN cards AS T2 ON T2.uuid = T1.uuid INNER JOIN sets AS T3 ON T3.code = T2.setCode WHERE T3.name = 'Coldsnap' AND T1.language = 'Italian' ORDER BY T2.convertedManaCost DESC", "permission": "denied", "query_columns": { "foreign_data": [ "langua...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
When was the ruling for the card 'Reminisce' created?
SELECT T2.date FROM cards AS T1 INNER JOIN rulings AS T2 ON T2.uuid = T1.uuid WHERE T1.name = 'Reminisce'
simple
{ "gold_sql": "SELECT T2.date FROM cards AS T1 INNER JOIN rulings AS T2 ON T2.uuid = T1.uuid WHERE T1.name = 'Reminisce'", "permission": "allowed", "query_columns": { "cards": [ "name", "uuid" ], "rulings": [ "date", "uuid" ] }, "missing_columns": {}, "reason": "All r...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What is the percentage of the cards with a converted mana cost of 7 in the set Coldsnap?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT CAST(SUM(CASE WHEN T1.convertedManaCost = 7 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.id) FROM cards AS T1 INNER JOIN sets AS T2 ON T2.code = T1.setCode WHERE T2.name = 'Coldsnap'", "permission": "denied", "query_columns": { "cards": [ "convertedManaCost", "id", "set...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What is the percentage of incredibly powerful cards in the set Coldsnap?
Sorry, I cannot answer.
challenging
{ "gold_sql": "SELECT CAST(SUM(CASE WHEN T1.cardKingdomFoilId IS NOT NULL AND T1.cardKingdomId IS NOT NULL THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.id) FROM cards AS T1 INNER JOIN sets AS T2 ON T2.code = T1.setCode WHERE T2.name = 'Coldsnap'", "permission": "denied", "query_columns": { "cards": [ "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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What's the code for the set which was released on 2017/7/14?
SELECT code FROM sets WHERE releaseDate = '2017-07-14' GROUP BY releaseDate, code
simple
{ "gold_sql": "SELECT code FROM sets WHERE releaseDate = '2017-07-14' GROUP BY releaseDate, code", "permission": "allowed", "query_columns": { "sets": [ "code", "releaseDate" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 488, "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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
List the keyrune code for the set whose code is 'PKHC'.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT keyruneCode FROM sets WHERE code = 'PKHC'", "permission": "denied", "query_columns": { "sets": [ "code", "keyruneCode" ] }, "missing_columns": { "sets": [ "keyruneCode" ] }, "reason": "Missing column permissions: sets: keyruneCode", "question_id": ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
For the set which had 'SS2' as the code, what is its magic card market id?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT mcmId FROM sets WHERE code = 'SS2'", "permission": "denied", "query_columns": { "sets": [ "code", "mcmId" ] }, "missing_columns": { "sets": [ "mcmId" ] }, "reason": "Missing column permissions: sets: mcmId", "question_id": 490, "evidence": "magic...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What's the magic card market name for the set which was released on 2017/6/9?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT mcmName FROM sets WHERE releaseDate = '2017-06-09'", "permission": "denied", "query_columns": { "sets": [ "mcmName", "releaseDate" ] }, "missing_columns": { "sets": [ "mcmName" ] }, "reason": "Missing column permissions: sets: mcmName", "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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
For the set "From the Vault: Lore", what is its expansion type?
SELECT type FROM sets WHERE name LIKE '%FROM the Vault: Lore%'
simple
{ "gold_sql": "SELECT type FROM sets WHERE name LIKE '%FROM the Vault: Lore%'", "permission": "allowed", "query_columns": { "sets": [ "name" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 492, "evidence": "set \"From the Vault refers to name whic...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
For the set "Commander 2014 Oversized" , give its parent code.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT parentCode FROM sets WHERE name = 'Commander 2014 Oversized'", "permission": "denied", "query_columns": { "sets": [ "name", "parentCode" ] }, "missing_columns": { "sets": [ "parentCode" ] }, "reason": "Missing column permissions: sets: parentCode", ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
For all cards illustrated by Jim Pavelec. and describe the text of the ruling of these cards. Do these cards have missing or degraded properties and values.
Sorry, I cannot answer.
challenging
{ "gold_sql": "SELECT T2.text , CASE WHEN T1.hasContentWarning = 1 THEN 'YES' ELSE 'NO' END FROM cards AS T1 INNER JOIN rulings AS T2 ON T2.uuid = T1.uuid WHERE T1.artist = 'Jim Pavelec'", "permission": "denied", "query_columns": { "cards": [ "artist", "hasContentWarning", "uuid" ], ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What was the release date for the set which card "Evacuation" in it?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.releaseDate FROM cards AS T1 INNER JOIN sets AS T2 ON T2.code = T1.setCode WHERE T1.name = 'Evacuation'", "permission": "denied", "query_columns": { "cards": [ "name", "setCode" ], "sets": [ "code", "releaseDate" ] }, "missing_columns": { "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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
How many cards are there in the set of "Rinascita di Alara"?
SELECT T1.baseSetSize FROM sets AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.code WHERE T2.translation = 'Rinascita di Alara'
simple
{ "gold_sql": "SELECT T1.baseSetSize FROM sets AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.code WHERE T2.translation = 'Rinascita di Alara'", "permission": "allowed", "query_columns": { "sets": [ "baseSetSize", "code" ], "set_translations": [ "setCode", "translat...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
List the expansion type of the set "Huitième édition".
SELECT type FROM sets WHERE code IN ( SELECT setCode FROM set_translations WHERE translation = 'Huitième édition' )
simple
{ "gold_sql": "SELECT type FROM sets WHERE code IN ( SELECT setCode FROM set_translations WHERE translation = 'Huitième édition' )", "permission": "allowed", "query_columns": { "sets": [ "code" ], "set_translations": [ "setCode" ] }, "missing_columns": {}, "reason": "All required...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What's the French name of the set of cards with "Tendo Ice Bridge" is in?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T2.translation FROM cards AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.setCode WHERE T1.name = 'Tendo Ice Bridge' AND T2.language = 'French' AND T2.translation IS NOT NULL", "permission": "denied", "query_columns": { "cards": [ "name", "setCode" ], "set_...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
How many translations of the name of the set "Tenth Edition"?
SELECT COUNT(DISTINCT T2.translation) FROM sets AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.code WHERE T1.name = 'Tenth Edition'
moderate
{ "gold_sql": "SELECT COUNT(DISTINCT T2.translation) FROM sets AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.code WHERE T1.name = 'Tenth Edition'", "permission": "allowed", "query_columns": { "sets": [ "code", "name" ], "set_translations": [ "setCode", "translation...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Tell the Japanese name of the set which card "Fellwar Stone" is in it.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T2.translation FROM cards AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.setCode WHERE T1.name = 'Fellwar Stone' AND T2.language = 'Japanese' AND T2.translation IS NOT NULL", "permission": "denied", "query_columns": { "cards": [ "name", "setCode" ], "set_t...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Which card name in the set 'Journey into Nyx Hero's Path' has the highest converted mana cost.
Sorry, I cannot answer.
moderate
{ "gold_sql": "WITH MaxCMC AS (\n SELECT MAX(T1.convertedManaCost) AS max_cmc\n FROM cards AS T1\n INNER JOIN sets AS T2 ON T2.code = T1.setCode\n WHERE T2.name = 'Journey into Nyx Hero''s Path'\n)\nSELECT T1.name\nFROM cards AS T1\nINNER JOIN sets AS T2 ON T2.code = T1.setCode\nCROSS JOIN MaxCMC\nWHERE T...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What is the release date for the set "Ola de frío"?
SELECT T1.releaseDate FROM sets AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.code WHERE T2.translation = 'Ola de frío'
simple
{ "gold_sql": "SELECT T1.releaseDate FROM sets AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.code WHERE T2.translation = 'Ola de frío'", "permission": "allowed", "query_columns": { "sets": [ "code", "releaseDate" ], "set_translations": [ "setCode", "translation" ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What was the expansion type for the set which card "Samite Pilgrim" in it?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT type FROM sets WHERE code IN ( SELECT setCode FROM cards WHERE name = 'Samite Pilgrim' )", "permission": "denied", "query_columns": { "cards": [ "name", "setCode" ], "sets": [ "code" ] }, "missing_columns": { "cards": [ "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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
How many cards are there in the set 'World Championship Decks 2004' with the converted mana cost as '3'.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(id) FROM cards WHERE setCode IN ( SELECT code FROM sets WHERE name = 'World Championship Decks 2004' ) AND convertedManaCost = 3", "permission": "denied", "query_columns": { "cards": [ "convertedManaCost", "id", "name", "setCode" ], "sets": [ "...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Show the Simplified Chinese translation of the name of the set "Mirrodin"?
SELECT translation FROM set_translations WHERE setCode IN ( SELECT code FROM sets WHERE name = 'Mirrodin' ) AND language = 'Chinese Simplified'
moderate
{ "gold_sql": "SELECT translation FROM set_translations WHERE setCode IN ( SELECT code FROM sets WHERE name = 'Mirrodin' ) AND language = 'Chinese Simplified'", "permission": "allowed", "query_columns": { "sets": [ "code", "name" ], "set_translations": [ "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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
For all the set of cards that has Japanese translation, what is the percentage of them are only available in non-foil?
Sorry, I cannot answer.
challenging
{ "gold_sql": "SELECT CAST(SUM(CASE WHEN isNonFoilOnly = 1 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(id) FROM sets WHERE code IN ( SELECT setCode FROM set_translations WHERE language = 'Japanese' )", "permission": "denied", "query_columns": { "sets": [ "code", "id", "isNonFoilOnly" ], ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
For all the cards that have a Brazilian Portuguese translation, what is the percentage of them that are only available online?
Sorry, I cannot answer.
challenging
{ "gold_sql": "SELECT CAST(SUM(CASE WHEN T1.isOnlineOnly = 1 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(DISTINCT T1.id) FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid WHERE T2.language = 'Portuguese (Brazil)'", "permission": "denied", "query_columns": { "cards": [ "id", "isOnli...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What are the available printing types of the cards that doesn't have a text box created by Aleksi Briclot?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT DISTINCT availability FROM cards WHERE artist = 'Aleksi Briclot' AND isTextless = 1", "permission": "denied", "query_columns": { "cards": [ "artist", "availability", "isTextless" ] }, "missing_columns": { "cards": [ "artist", "availability", ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What is the unique id of the set that has the highest number of cards?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT id FROM sets ORDER BY baseSetSize DESC LIMIT 1", "permission": "denied", "query_columns": { "sets": [ "baseSetSize", "id" ] }, "missing_columns": { "sets": [ "id" ] }, "reason": "Missing column permissions: sets: id", "question_id": 509, "evidenc...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Among the cards that doesn't have multiple faces on the same card, who is the illustrator of the card art that has the highest cost of converted mana?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT artist FROM cards WHERE side IS NULL ORDER BY convertedManaCost DESC LIMIT 1", "permission": "denied", "query_columns": { "cards": [ "artist", "convertedManaCost", "side" ] }, "missing_columns": { "cards": [ "artist", "side" ] }, "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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What is the most common visual frame effects among the incredibly powerful foils?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT frameEffects FROM cards WHERE cardKingdomFoilId IS NOT NULL AND cardKingdomId IS NOT NULL GROUP BY frameEffects ORDER BY COUNT(frameEffects) DESC LIMIT 1", "permission": "denied", "query_columns": { "cards": [ "cardKingdomFoilId", "cardKingdomId", "frameEffects" ] ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
How many cards with unknown power that can't be found in foil is in duel deck A?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT SUM(CASE WHEN power = '*' OR power IS NULL THEN 1 ELSE 0 END) FROM cards WHERE hasFoil = 0 AND duelDeck = 'a'", "permission": "denied", "query_columns": { "cards": [ "duelDeck", "hasFoil", "power" ] }, "missing_columns": { "cards": [ "duelDeck", ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Among the sets whose expansion type is Commander, which set has the highest total number of cards including promotional and related supplemental products but excluding Alchemy modifications? Indicate the id of the set.
Sorry, I cannot answer.
challenging
{ "gold_sql": "SELECT id FROM sets WHERE type = 'commander' ORDER BY totalSetSize DESC, id ASC LIMIT 1", "permission": "denied", "query_columns": { "sets": [ "id", "totalSetSize" ] }, "missing_columns": { "sets": [ "id" ] }, "reason": "Missing column permissions: sets: id...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
In duels, what are the top 10 cards with the highest converted mana cost?
SELECT DISTINCT name FROM cards WHERE uuid IN ( SELECT uuid FROM legalities WHERE format = 'duel' ) ORDER BY convertedManaCost DESC, name ASC LIMIT 10
simple
{ "gold_sql": "SELECT DISTINCT name FROM cards WHERE uuid IN ( SELECT uuid FROM legalities WHERE format = 'duel' ) ORDER BY convertedManaCost DESC, name ASC LIMIT 10", "permission": "allowed", "query_columns": { "cards": [ "convertedManaCost", "name" ], "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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
When was the oldest mythic card released and what are its legal play formats?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T1.originalReleaseDate, T2.format FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T1.rarity = 'mythic' AND T1.originalReleaseDate IS NOT NULL AND T2.status = 'Legal' AND T1.originalReleaseDate = (SELECT MIN(originalReleaseDate) FROM cards WHERE rarity = 'mythic' AND origi...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
How many cards did Volkan Baǵa illustrated whose foreign language is in French?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT COUNT(T1.id) FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T2.uuid = T1.uuid WHERE T1.artist = 'Volkan Baǵa' AND T2.language = 'French'", "permission": "denied", "query_columns": { "cards": [ "artist", "id", "uuid" ], "foreign_data": [ "language", ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
How many distinct rare enchantment Abundance cards have at least one legal play format?
SELECT COUNT(DISTINCT T1.id) FROM cards AS T1 INNER JOIN legalities AS T2 ON T2.uuid = T1.uuid WHERE T1.rarity = 'rare' AND T1.types = 'Enchantment' AND T1.name = 'Abundance' AND T2.status = 'Legal'
moderate
{ "gold_sql": "SELECT COUNT(DISTINCT T1.id) FROM cards AS T1 INNER JOIN legalities AS T2 ON T2.uuid = T1.uuid WHERE T1.rarity = 'rare' AND T1.types = 'Enchantment' AND T1.name = 'Abundance' AND T2.status = 'Legal'", "permission": "allowed", "query_columns": { "cards": [ "id", "name", "rarity...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Which of the play format has the highest number of banned status? Indicate the play format and the names of all the card meet the condition.
WITH MaxBanned AS (SELECT format, COUNT(*) AS count_banned FROM legalities WHERE status = 'Banned' GROUP BY format ORDER BY COUNT(*) DESC LIMIT 1) SELECT T2.format, T1.name FROM cards AS T1 INNER JOIN legalities AS T2 ON T2.uuid = T1.uuid INNER JOIN MaxBanned MB ON MB.format = T2.format WHERE T2.status = 'Banned'
moderate
{ "gold_sql": "WITH MaxBanned AS (SELECT format, COUNT(*) AS count_banned FROM legalities WHERE status = 'Banned' GROUP BY format ORDER BY COUNT(*) DESC LIMIT 1) SELECT T2.format, T1.name FROM cards AS T1 INNER JOIN legalities AS T2 ON T2.uuid = T1.uuid INNER JOIN MaxBanned MB ON MB.format = T2.format WHERE T2.status...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What is the language of the "Battlebond" set?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT language FROM set_translations WHERE id IN ( SELECT id FROM sets WHERE name = 'Battlebond' )", "permission": "denied", "query_columns": { "sets": [ "id", "name" ], "set_translations": [] }, "missing_columns": { "sets": [ "id" ] }, "reason": "Miss...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Who is the illustrator that illustrated the least amount of cards? List the format of play of the cards that he/she illustrated.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T1.artist, T2.format FROM cards AS T1 INNER JOIN legalities AS T2 ON T2.uuid = T1.uuid GROUP BY T1.artist ORDER BY COUNT(T1.id) ASC LIMIT 1", "permission": "denied", "query_columns": { "cards": [ "artist", "id", "uuid" ], "legalities": [ "format", "u...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Among the cards whose version of frame style is 1997, what is the status of the card illustrated by D. Alexander Gregory in legacy play format that has sensitive content?
Sorry, I cannot answer.
challenging
{ "gold_sql": "SELECT DISTINCT T2.status FROM cards AS T1 INNER JOIN legalities AS T2 ON T2.uuid = T1.uuid WHERE T1.frameVersion = 1997 AND T1.hasContentWarning = 1 AND T1.artist = 'D. Alexander Gregory' AND T2.format = 'legacy'", "permission": "denied", "query_columns": { "cards": [ "artist", "fr...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Which cards are ranked 1st on EDHRec? List all of the cards name and its banned play format.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T1.name, T2.format FROM cards AS T1 INNER JOIN legalities AS T2 ON T2.uuid = T1.uuid WHERE T1.edhrecRank = 1 AND T2.status = 'Banned' GROUP BY T1.name, T2.format", "permission": "denied", "query_columns": { "cards": [ "edhrecRank", "name", "uuid" ], "legalities"...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What is the annual average number of sets that were released between 1/1/2012 to 12/31/2015? Indicate the common langugage of the card.
Sorry, I cannot answer.
challenging
{ "gold_sql": "SELECT (CAST(SUM(T1.id) AS REAL) / COUNT(T1.id)) / 4, T2.language FROM sets AS T1 INNER JOIN set_translations AS T2 ON T1.id = T2.id WHERE T1.releaseDate BETWEEN '2012-01-01' AND '2015-12-31' GROUP BY T1.releaseDate ORDER BY COUNT(T2.language) DESC LIMIT 1", "permission": "denied", "query_columns":...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
List the artists who illustrated cards with black borders which are available only in arena.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT DISTINCT artist FROM cards WHERE availability = 'arena' AND BorderColor = 'black'", "permission": "denied", "query_columns": { "cards": [ "artist", "availability", "borderColor" ] }, "missing_columns": { "cards": [ "artist", "availability", ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Find the uuid of cards in which the old school format is restricted or banned.
SELECT uuid FROM legalities WHERE format = 'oldschool' AND (status = 'Banned' OR status = 'Restricted')
simple
{ "gold_sql": "SELECT uuid FROM legalities WHERE format = 'oldschool' AND (status = 'Banned' OR status = 'Restricted')", "permission": "allowed", "query_columns": { "legalities": [ "format", "status" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Among the card designed by Matthew D. Wilson, how many are available only in the paper?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(id) FROM cards WHERE artist = 'Matthew D. Wilson' AND availability = 'paper'", "permission": "denied", "query_columns": { "cards": [ "artist", "availability", "id" ] }, "missing_columns": { "cards": [ "artist", "availability" ] }, "...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What are the rulings for the card named and designed by Kev Walker? List them in descending order of dates.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T2.text FROM cards AS T1 INNER JOIN rulings AS T2 ON T2.uuid = T1.uuid WHERE T1.artist = 'Kev Walker' ORDER BY T2.date DESC", "permission": "denied", "query_columns": { "cards": [ "artist", "uuid" ], "rulings": [ "date", "text", "uuid" ] }, "...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
List the names of all the cards in the set Hour of Devastation and find the formats in which these cards are legal.
Sorry, I cannot answer.
challenging
{ "gold_sql": "SELECT DISTINCT T2.name , CASE WHEN T1.status = 'Legal' THEN T1.format ELSE NULL END FROM legalities AS T1 INNER JOIN cards AS T2 ON T2.uuid = T1.uuid WHERE T2.setCode IN ( SELECT code FROM sets WHERE name = 'Hour of Devastation' )", "permission": "denied", "query_columns": { "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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Find and list the names of sets which doesn't have Japanese translation but have Korean translation.
SELECT name FROM sets WHERE code IN ( SELECT setCode FROM set_translations WHERE language = 'Korean' AND language NOT LIKE '%Japanese%' )
moderate
{ "gold_sql": "SELECT name FROM sets WHERE code IN ( SELECT setCode FROM set_translations WHERE language = 'Korean' AND language NOT LIKE '%Japanese%' )", "permission": "allowed", "query_columns": { "sets": [ "code", "name" ], "set_translations": [ "setCode" ] }, "missing_col...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
List all the frame styles and cards Allen Williams worked on and find any banned cards if there are any.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT \n T1.frameVersion, \n T1.name,\n CASE \n WHEN EXISTS (SELECT 1 FROM legalities AS T2 WHERE T2.uuid = T1.uuid AND T2.status = 'Banned') \n THEN 'Banned' \n ELSE 'Not Banned' \n END AS banned_status\nFROM cards AS T1\nWHERE T1.artist = 'Allen Williams'\nORDER BY T...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
MarketplaceAnalyst
{ "cards": [ "id", "artist", "asciiName", "availability", "borderColor", "cardKingdomFoilId", "cardKingdomId", "edhrecRank", "flavorName", "flavorText", "hasFoil", "hasNonFoil", "isPromo", "isReprint", "mcmId", "mcmMetaId", "mtgArenaId", "mtgoFoi...
Which are the cards that have incredibly powerful foils.
SELECT id FROM cards WHERE cardKingdomFoilId IS NOT NULL AND cardKingdomId IS NOT NULL
simple
{ "gold_sql": "SELECT id FROM cards WHERE cardKingdomFoilId IS NOT NULL AND cardKingdomId IS NOT NULL", "permission": "allowed", "query_columns": { "cards": [ "cardKingdomFoilId", "cardKingdomId", "id" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "q...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
MarketplaceAnalyst
{ "cards": [ "id", "artist", "asciiName", "availability", "borderColor", "cardKingdomFoilId", "cardKingdomId", "edhrecRank", "flavorName", "flavorText", "hasFoil", "hasNonFoil", "isPromo", "isReprint", "mcmId", "mcmMetaId", "mtgArenaId", "mtgoFoi...
What are the borderless cards available without powerful foils?
SELECT id FROM cards WHERE borderColor = 'borderless' AND (cardKingdomFoilId IS NULL OR cardKingdomId IS NULL)
simple
{ "gold_sql": "SELECT id FROM cards WHERE borderColor = 'borderless' AND (cardKingdomFoilId IS NULL OR cardKingdomId IS NULL)", "permission": "allowed", "query_columns": { "cards": [ "borderColor", "cardKingdomFoilId", "cardKingdomId", "id" ] }, "missing_columns": {}, "reason...