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...
CardCatalogManager
{ "cards": [ "*" ], "foreign_data": [ "*" ], "legalities": [ "*" ], "sets": [ "*" ], "set_translations": [ "*" ], "rulings": [ "*" ] }
List the artists who illustrated cards with black borders which are available only in arena.
SELECT DISTINCT artist FROM cards WHERE availability = 'arena' AND BorderColor = 'black'
simple
{ "gold_sql": "SELECT DISTINCT artist FROM cards WHERE availability = 'arena' AND BorderColor = 'black'", "permission": "allowed", "query_columns": { "cards": [ "artist", "availability", "borderColor" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "qu...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
CardCatalogManager
{ "cards": [ "*" ], "foreign_data": [ "*" ], "legalities": [ "*" ], "sets": [ "*" ], "set_translations": [ "*" ], "rulings": [ "*" ] }
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...
CardCatalogManager
{ "cards": [ "*" ], "foreign_data": [ "*" ], "legalities": [ "*" ], "sets": [ "*" ], "set_translations": [ "*" ], "rulings": [ "*" ] }
Among the card designed by Matthew D. Wilson, how many are available only in the paper?
SELECT COUNT(id) FROM cards WHERE artist = 'Matthew D. Wilson' AND availability = 'paper'
simple
{ "gold_sql": "SELECT COUNT(id) FROM cards WHERE artist = 'Matthew D. Wilson' AND availability = 'paper'", "permission": "allowed", "query_columns": { "cards": [ "artist", "availability", "id" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "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...
CardCatalogManager
{ "cards": [ "*" ], "foreign_data": [ "*" ], "legalities": [ "*" ], "sets": [ "*" ], "set_translations": [ "*" ], "rulings": [ "*" ] }
What are the rulings for the card named and designed by Kev Walker? List them in descending order of dates.
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
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": "allowed", "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...
CardCatalogManager
{ "cards": [ "*" ], "foreign_data": [ "*" ], "legalities": [ "*" ], "sets": [ "*" ], "set_translations": [ "*" ], "rulings": [ "*" ] }
List the names of all the cards in the set Hour of Devastation and find the formats in which these cards are legal.
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' )
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": "allowed", "query_columns": { "cards": [ ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
CardCatalogManager
{ "cards": [ "*" ], "foreign_data": [ "*" ], "legalities": [ "*" ], "sets": [ "*" ], "set_translations": [ "*" ], "rulings": [ "*" ] }
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...
CardCatalogManager
{ "cards": [ "*" ], "foreign_data": [ "*" ], "legalities": [ "*" ], "sets": [ "*" ], "set_translations": [ "*" ], "rulings": [ "*" ] }
List all the frame styles and cards Allen Williams worked on and find any banned cards if there are any.
SELECT T1.frameVersion, T1.name, CASE WHEN EXISTS (SELECT 1 FROM legalities AS T2 WHERE T2.uuid = T1.uuid AND T2.status = 'Banned') THEN 'Banned' ELSE 'Not Banned' END AS banned_status FROM cards AS T1 WHERE T1.artist = 'Allen Williams' ORDER BY T1.frameVersion ASC, T1.name...
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...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Which are the cards that have incredibly powerful foils.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT id FROM cards WHERE cardKingdomFoilId IS NOT NULL AND cardKingdomId IS NOT NULL", "permission": "denied", "query_columns": { "cards": [ "cardKingdomFoilId", "cardKingdomId", "id" ] }, "missing_columns": { "cards": [ "cardKingdomFoilId", "cardKing...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 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 borderless cards available without powerful foils?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT id FROM cards WHERE borderColor = 'borderless' AND (cardKingdomFoilId IS NULL OR cardKingdomId IS NULL)", "permission": "denied", "query_columns": { "cards": [ "borderColor", "cardKingdomFoilId", "cardKingdomId", "id" ] }, "missing_columns": { "cards":...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
List the card names with value that cost more converted mana.
SELECT DISTINCT name FROM cards WHERE ConvertedManaCost = (SELECT MAX(ConvertedManaCost) FROM cards)
simple
{ "gold_sql": "SELECT DISTINCT name FROM cards WHERE ConvertedManaCost = (SELECT MAX(ConvertedManaCost) FROM cards)", "permission": "allowed", "query_columns": { "cards": [ "convertedManaCost", "name" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Name all cards with 2015 frame style ranking below 100 on EDHRec.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT id FROM cards WHERE edhrecRank < 100 AND frameVersion = 2015", "permission": "denied", "query_columns": { "cards": [ "edhrecRank", "frameVersion", "id" ] }, "missing_columns": { "cards": [ "edhrecRank", "frameVersion" ] }, "reason": "Miss...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
List all the mythic rarity print cards banned in gladiator format.
SELECT DISTINCT T1.id FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T2.format = 'gladiator' AND T2.status = 'Banned' AND T1.rarity = 'mythic'
moderate
{ "gold_sql": "SELECT DISTINCT T1.id FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T2.format = 'gladiator' AND T2.status = 'Banned' AND T1.rarity = 'mythic'", "permission": "allowed", "query_columns": { "cards": [ "id", "rarity", "uuid" ], "legalities": [ ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
For artifact type of cards that do not have multiple faces on the same card, state its legalities status for vintage play format.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT DISTINCT T2.status FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T1.type = 'Artifact' AND T2.format = 'vintage' AND T1.side IS NULL", "permission": "denied", "query_columns": { "cards": [ "side", "type", "uuid" ], "legalities": [ ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
List all the card id and artist with unknown power which are legal for commander play format.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T1.id, T1.artist FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T2.status = 'Legal' AND T2.format = 'commander' AND (T1.power IS NULL OR T1.power = '*')", "permission": "denied", "query_columns": { "cards": [ "artist", "id", "power", "uuid...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Find all cards illustrated by Stephen Daniel and describe the text of the ruling of these cards. State if these cards have missing or degraded properties and values.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T1.id, T2.text, T1.hasContentWarning FROM cards AS T1 INNER JOIN rulings AS T2 ON T1.uuid = T2.uuid WHERE T1.artist = 'Stephen Daniele'", "permission": "denied", "query_columns": { "cards": [ "artist", "hasContentWarning", "id", "uuid" ], "rulings": [ ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Describe the information about rulings for card named 'Sublime Epiphany' with number 74s.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.text FROM cards AS T1 INNER JOIN rulings AS T2 ON T1.uuid = T2.uuid WHERE T1.name = 'Sublime Epiphany' AND T1.number = '74s'", "permission": "denied", "query_columns": { "cards": [ "name", "number", "uuid" ], "rulings": [ "text", "uuid" ] },...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Name the card and artist with the most ruling information. Also state if the card is a promotional printing.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT\n T1.name,\n T1.artist,\n CASE WHEN T1.isPromo = 1 THEN 'yes' ELSE 'no' END AS isPromo\nFROM cards AS T1\nJOIN rulings AS T2 ON T2.uuid = T1.uuid\nGROUP BY T1.uuid, T1.name, T1.artist, T1.isPromo\nORDER BY COUNT(T2.uuid) DESC, T1.uuid ASC\nLIMIT 1;", "permission": "denied", "query_columns...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
State the alternative languages available for card named Annul numbered 29.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.language FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid WHERE T1.name = 'Annul' AND T1.number = '29'", "permission": "denied", "query_columns": { "cards": [ "name", "number", "uuid" ], "foreign_data": [ "language", "uuid" ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Name all the cards which have alternative language in Japanese.
SELECT DISTINCT T1.name FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid WHERE T2.language = 'Japanese'
simple
{ "gold_sql": "SELECT DISTINCT T1.name FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid WHERE T2.language = 'Japanese'", "permission": "allowed", "query_columns": { "cards": [ "name", "uuid" ], "foreign_data": [ "language", "uuid" ] }, "missing_column...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Calculate the percentage of the cards availabe in Chinese Simplified.
SELECT CAST(SUM(CASE WHEN T2.language = 'Chinese Simplified' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.id) FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid
moderate
{ "gold_sql": "SELECT CAST(SUM(CASE WHEN T2.language = 'Chinese Simplified' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.id) FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid", "permission": "allowed", "query_columns": { "cards": [ "id", "uuid" ], "foreign_data": [ ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
List all the sets available in Italian translation. State the total number of cards per set.
SELECT T1.name, T1.totalSetSize FROM sets AS T1 INNER JOIN set_translations AS T2 ON T1.code = T2.setCode WHERE T2.language = 'Italian'
simple
{ "gold_sql": "SELECT T1.name, T1.totalSetSize FROM sets AS T1 INNER JOIN set_translations AS T2 ON T1.code = T2.setCode WHERE T2.language = 'Italian'", "permission": "allowed", "query_columns": { "sets": [ "code", "name", "totalSetSize" ], "set_translations": [ "language", ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
How many types of cards does the artist Aaron Boyd illustrated about card art?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(type) FROM cards WHERE artist = 'Aaron Boyd'", "permission": "denied", "query_columns": { "cards": [ "artist" ] }, "missing_columns": { "cards": [ "artist" ] }, "reason": "Missing column permissions: cards: artist", "question_id": 354, "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...
What is the keyword found on card 'Angel of Mercy'?
SELECT DISTINCT keywords FROM cards WHERE name = 'Angel of Mercy'
simple
{ "gold_sql": "SELECT DISTINCT keywords FROM cards WHERE name = 'Angel of Mercy'", "permission": "allowed", "query_columns": { "cards": [ "keywords", "name" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 355, "evidence": "Angel of Mercy' is...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
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 infinite power?
SELECT COUNT(*) FROM cards WHERE power = '*'
simple
{ "gold_sql": "SELECT COUNT(*) FROM cards WHERE power = '*'", "permission": "allowed", "query_columns": { "cards": [ "power" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 356, "evidence": "infinite power refers to power = '*';" }
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What type of promotion is of card 'Duress'?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT DISTINCT promoTypes \nFROM cards \nWHERE name = 'Duress' AND promoTypes IS NOT NULL", "permission": "denied", "query_columns": { "cards": [ "name", "promoTypes" ] }, "missing_columns": { "cards": [ "promoTypes" ] }, "reason": "Missing column permissi...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What is the border color of card "Ancestor's Chosen"?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT DISTINCT borderColor FROM cards WHERE name = 'Ancestor''s Chosen'", "permission": "denied", "query_columns": { "cards": [ "borderColor", "name" ] }, "missing_columns": { "cards": [ "borderColor" ] }, "reason": "Missing column permissions: cards: 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...
What is the type of the card "Ancestor's Chosen" as originally printed?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT originalType FROM cards WHERE name = \"Ancestor's Chosen\" AND originalType IS NOT NULL", "permission": "denied", "query_columns": { "cards": [ "name", "originalType" ] }, "missing_columns": { "cards": [ "originalType" ] }, "reason": "Missing column ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What are the languages available for the set that card 'Angel of Mercy' is in?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT DISTINCT\n s.`language`\nFROM cards AS c\nJOIN set_translations AS s ON s.setCode = c.setCode\nWHERE c.name = 'Angel of Mercy'", "permission": "denied", "query_columns": { "cards": [ "name", "setCode" ], "set_translations": [ "language", "setCode" ] ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
How many cards of legalities whose status is restricted have text boxes?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(DISTINCT T1.id) FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T2.status = 'Restricted' AND T1.isTextless = 0", "permission": "denied", "query_columns": { "cards": [ "id", "isTextless", "uuid" ], "legalities": [ "status", ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What is the description about the ruling of card "Condemn"?
SELECT T2.text FROM cards AS T1 INNER JOIN rulings AS T2 ON T1.uuid = T2.uuid WHERE T1.name = 'Condemn'
simple
{ "gold_sql": "SELECT T2.text FROM cards AS T1 INNER JOIN rulings AS T2 ON T1.uuid = T2.uuid WHERE T1.name = 'Condemn'", "permission": "allowed", "query_columns": { "cards": [ "name", "uuid" ], "rulings": [ "text", "uuid" ] }, "missing_columns": {}, "reason": "All req...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 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 of legalities whose status is restricted are found in a starter deck?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(T1.id) \nFROM cards AS T1 \nINNER JOIN legalities AS T2 ON T1.uuid = T2.uuid \nWHERE T2.status = 'Restricted' AND T1.isStarter = 1", "permission": "denied", "query_columns": { "cards": [ "id", "isStarter", "uuid" ], "legalities": [ "status", "u...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What is the status of card "Cloudchaser Eagle"?
SELECT DISTINCT T2.status FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T1.name = 'Cloudchaser Eagle'
simple
{ "gold_sql": "SELECT DISTINCT T2.status FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T1.name = 'Cloudchaser Eagle'", "permission": "allowed", "query_columns": { "cards": [ "name", "uuid" ], "legalities": [ "status", "uuid" ] }, "missing_colum...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What is the type of card "Benalish Knight"?
SELECT type FROM cards WHERE name = 'Benalish Knight';
simple
{ "gold_sql": "SELECT type \nFROM cards \nWHERE name = 'Benalish Knight';", "permission": "allowed", "query_columns": { "cards": [ "name" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 365, "evidence": "Benalish Knight' is the name of card;" }
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What is the rule of playing card "Benalish Knight"?
SELECT T2.format FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T1.name = 'Benalish Knight'
simple
{ "gold_sql": "SELECT T2.format FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T1.name = 'Benalish Knight'", "permission": "allowed", "query_columns": { "cards": [ "name", "uuid" ], "legalities": [ "format", "uuid" ] }, "missing_columns": {}, ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Please provide the names of the artists who illustrated the card art in Phyrexian.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.artist FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid WHERE T2.language = 'Phyrexian'", "permission": "denied", "query_columns": { "cards": [ "artist", "uuid" ], "foreign_data": [ "language", "uuid" ] }, "missing_columns": {...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
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 borderless cards?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT CAST(SUM(CASE WHEN borderColor = 'borderless' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(id) FROM cards", "permission": "denied", "query_columns": { "cards": [ "borderColor", "id" ] }, "missing_columns": { "cards": [ "borderColor" ] }, "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...
How many cards that illusrtated in German have been reprinted?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(T1.id) FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid WHERE T2.language = 'German' AND T1.isReprint = 1", "permission": "denied", "query_columns": { "cards": [ "id", "isReprint", "uuid" ], "foreign_data": [ "language", "uui...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
How many borderless cards are illustrated in Russian?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(T1.id) FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid WHERE T1.borderColor = 'borderless' AND T2.language = 'Russian'", "permission": "denied", "query_columns": { "cards": [ "borderColor", "id", "uuid" ], "foreign_data": [ "langu...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
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 cards whose language is French among the Story Spotlight cards?
Sorry, I cannot answer.
challenging
{ "gold_sql": "SELECT CAST(SUM(CASE WHEN T2.language = 'French' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.id) FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid WHERE T1.isStorySpotlight = 1", "permission": "denied", "query_columns": { "cards": [ "id", "isStorySpotlight", ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
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 with toughness of 99?
SELECT COUNT(id) FROM cards WHERE toughness = 99
simple
{ "gold_sql": "SELECT COUNT(id) FROM cards WHERE toughness = 99", "permission": "allowed", "query_columns": { "cards": [ "id", "toughness" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 372, "evidence": "" }
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Name the cards that were illustrated by Aaron Boyd.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT DISTINCT name FROM cards WHERE artist = 'Aaron Boyd'", "permission": "denied", "query_columns": { "cards": [ "artist", "name" ] }, "missing_columns": { "cards": [ "artist" ] }, "reason": "Missing column permissions: cards: artist", "question_id": 3...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 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 black border cards are only available on mtgo?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(id) FROM cards WHERE availability = 'mtgo' AND borderColor = 'black'", "permission": "denied", "query_columns": { "cards": [ "availability", "borderColor", "id" ] }, "missing_columns": { "cards": [ "availability", "borderColor" ] }, ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
List down all the card IDs with converted mana cost of 0.
SELECT id FROM cards WHERE convertedManaCost = 0
simple
{ "gold_sql": "SELECT id FROM cards WHERE convertedManaCost = 0", "permission": "allowed", "query_columns": { "cards": [ "convertedManaCost", "id" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 375, "evidence": "converted mana cost of 0 ref...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What are the card layout of cards with keyword of flying?
SELECT DISTINCT layout FROM cards WHERE keywords LIKE '%Flying%'
simple
{ "gold_sql": "SELECT DISTINCT layout FROM cards WHERE keywords LIKE '%Flying%'", "permission": "allowed", "query_columns": { "cards": [ "keywords", "layout" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 376, "evidence": "" }
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
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 original type of "Summon - Angel" have subtype other than "Angel"?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(id) FROM cards WHERE originalType = 'Summon - Angel' AND subtypes != 'Angel'", "permission": "denied", "query_columns": { "cards": [ "id", "originalType", "subtypes" ] }, "missing_columns": { "cards": [ "originalType" ] }, "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...
What are the foiled cards that are incredibly powerful when paired with non foiled cards? List the IDs.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT id FROM cards WHERE cardKingdomId IS NOT NULL AND cardKingdomFoilId IS NOT NULL", "permission": "denied", "query_columns": { "cards": [ "cardKingdomFoilId", "cardKingdomId", "id" ] }, "missing_columns": { "cards": [ "cardKingdomFoilId", "cardKing...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 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 cards belong to duel deck a? List the ID.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT id FROM cards WHERE duelDeck = 'a'", "permission": "denied", "query_columns": { "cards": [ "duelDeck", "id" ] }, "missing_columns": { "cards": [ "duelDeck" ] }, "reason": "Missing column permissions: cards: duelDeck", "question_id": 379, "evidenc...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
List the edhrecRank for cards with frame version 2015.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT edhrecRank FROM cards WHERE frameVersion = 2015", "permission": "denied", "query_columns": { "cards": [ "edhrecRank", "frameVersion" ] }, "missing_columns": { "cards": [ "edhrecRank", "frameVersion" ] }, "reason": "Missing column permissions: c...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
List down the name of artists for cards in Chinese Simplified.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.artist\nFROM cards AS T1\nINNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid\nWHERE T2.language = 'Chinese Simplified';", "permission": "denied", "query_columns": { "cards": [ "artist", "uuid" ], "foreign_data": [ "language", "uuid" ] }, "missin...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What are the cards that only available in paper and Japanese language?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.name FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid WHERE T1.availability = 'paper' AND T2.language = 'Japanese'", "permission": "denied", "query_columns": { "cards": [ "availability", "name", "uuid" ], "foreign_data": [ "language",...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
How many of the cards which is banned at least in one format are white border?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(DISTINCT T1.id) FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T2.status = 'Banned' AND T1.borderColor = 'white'", "permission": "denied", "query_columns": { "cards": [ "borderColor", "id", "uuid" ], "legalities": [ "status",...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
List down the uuid for legacy cards and the foreign language of these cards.
SELECT T1.uuid, T3.language FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid INNER JOIN foreign_data AS T3 ON T1.uuid = T3.uuid WHERE T2.format = 'legacy'
simple
{ "gold_sql": "SELECT T1.uuid, T3.language FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid INNER JOIN foreign_data AS T3 ON T1.uuid = T3.uuid WHERE T2.format = 'legacy'", "permission": "allowed", "query_columns": { "cards": [ "uuid" ], "foreign_data": [ "language", ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Write down the ruling of Beacon of Immortality.
SELECT T2.text FROM cards AS T1 INNER JOIN rulings AS T2 ON T1.uuid = T2.uuid WHERE T1.name = 'Beacon of Immortality'
simple
{ "gold_sql": "SELECT T2.text FROM cards AS T1 INNER JOIN rulings AS T2 ON T1.uuid = T2.uuid WHERE T1.name = 'Beacon of Immortality'", "permission": "allowed", "query_columns": { "cards": [ "name", "uuid" ], "rulings": [ "text", "uuid" ] }, "missing_columns": {}, "rea...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 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 legal cards are having future frame version?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(T1.id) FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T1.frameVersion = 'future' AND T2.status = 'Legal'", "permission": "denied", "query_columns": { "cards": [ "frameVersion", "id", "uuid" ], "legalities": [ "status", ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What are the cards for set OGW? State the colour for these cards.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT id, colors FROM cards WHERE setCode = 'OGW'", "permission": "denied", "query_columns": { "cards": [ "colors", "id", "setCode" ] }, "missing_columns": { "cards": [ "setCode" ] }, "reason": "Missing column permissions: cards: setCode", "questio...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What are the cards in set 10E with converted mana of 5 have translation and what are the languages?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT c.id, c.name, f.language\nFROM cards c\nJOIN foreign_data f ON c.uuid = f.uuid\nWHERE c.setCode = '10E' AND c.convertedManaCost = 5\nORDER BY c.name, f.language;", "permission": "denied", "query_columns": { "cards": [ "convertedManaCost", "id", "name", "setCode", ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
List down the name of cards with original types of Creature - Elf and the date of rulings for these cards.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.id, T2.date FROM cards AS T1 INNER JOIN rulings AS T2 ON T1.uuid = T2.uuid WHERE T1.originalType = 'Creature - Elf'", "permission": "denied", "query_columns": { "cards": [ "id", "originalType", "uuid" ], "rulings": [ "date", "uuid" ] }, "m...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What are the colors of cards from ID 1-20? What are the format of these cards?
SELECT T1.colors, T2.format FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T1.id BETWEEN 1 AND 20
simple
{ "gold_sql": "SELECT T1.colors, T2.format FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T1.id BETWEEN 1 AND 20", "permission": "allowed", "query_columns": { "cards": [ "colors", "id", "uuid" ], "legalities": [ "format", "uuid" ] }, "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...
Among the Artifact cards, which are black color and comes with foreign languague translation?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT DISTINCT T1.name FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid WHERE T1.originalType = 'Artifact' AND T1.colors = 'B'", "permission": "denied", "query_columns": { "cards": [ "colors", "name", "originalType", "uuid" ], "foreign_data": ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Pick 3 cards with rarity of uncommon, list down name these cards according to ascending order of it's ruling date.
SELECT DISTINCT T1.name FROM cards AS T1 INNER JOIN rulings AS T2 ON T1.uuid = T2.uuid WHERE T1.rarity = 'uncommon' ORDER BY T2.date ASC LIMIT 3
simple
{ "gold_sql": "SELECT DISTINCT T1.name FROM cards AS T1 INNER JOIN rulings AS T2 ON T1.uuid = T2.uuid WHERE T1.rarity = 'uncommon' ORDER BY T2.date ASC LIMIT 3", "permission": "allowed", "query_columns": { "cards": [ "name", "rarity", "uuid" ], "rulings": [ "date", "uuid"...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
On how many cards designed by John Avon is its foil non-powerful?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(id) FROM cards WHERE (cardKingdomId IS NULL OR cardKingdomFoilId IS NULL) AND artist = 'John Avon'", "permission": "denied", "query_columns": { "cards": [ "artist", "cardKingdomFoilId", "cardKingdomId", "id" ] }, "missing_columns": { "cards": [ ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
How many white bordered cards are powerful?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(id) FROM cards WHERE borderColor = 'white' AND cardKingdomId IS NOT NULL AND cardKingdomFoilId IS NOT NULL", "permission": "denied", "query_columns": { "cards": [ "borderColor", "cardKingdomFoilId", "cardKingdomId", "id" ] }, "missing_columns": { ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
How many cards designed by UDON and available in mtgo print type has a starting maximum hand size of -1?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(id) FROM cards WHERE hAND = '-1' AND artist = 'UDON' AND Availability = 'mtgo'", "permission": "denied", "query_columns": { "cards": [ "artist", "availability", "hand", "id" ] }, "missing_columns": { "cards": [ "artist", "availability...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
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 a 1993 frame version and available on paper have a sensitive content warning?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(id) FROM cards WHERE frameVersion = '1993' AND availability = 'paper' AND hasContentWarning = 1", "permission": "denied", "query_columns": { "cards": [ "availability", "frameVersion", "hasContentWarning", "id" ] }, "missing_columns": { "cards": [...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What is the mana cost of cards with a normal layout, a 2003 frame version, with a black border color, and available in paper and mtgo?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT manaCost\nFROM cards\nWHERE availability = 'mtgo,paper'\n AND borderColor = 'black'\n AND frameVersion = 2003\n AND layout = 'normal';", "permission": "denied", "query_columns": { "cards": [ "availability", "borderColor", "frameVersion", "layout", "manaCo...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What is the unconverted mana do all the cards created by Rob Alexander cost in total?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT manaCost FROM cards WHERE artist = 'Rob Alexander'", "permission": "denied", "query_columns": { "cards": [ "artist", "manaCost" ] }, "missing_columns": { "cards": [ "artist" ] }, "reason": "Missing column permissions: cards: artist", "question_id":...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Lists all types of cards available in arena.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT DISTINCT subtypes, supertypes FROM cards WHERE availability = 'arena' AND subtypes IS NOT NULL AND supertypes IS NOT NULL", "permission": "denied", "query_columns": { "cards": [ "availability", "subtypes", "supertypes" ] }, "missing_columns": { "cards": [ ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Lists the set code of all cards translated into Spanish.
SELECT setCode FROM set_translations WHERE language = 'Spanish'
simple
{ "gold_sql": "SELECT setCode FROM set_translations WHERE language = 'Spanish'", "permission": "allowed", "query_columns": { "set_translations": [ "setCode" ] }, "missing_columns": {}, "reason": "All required columns are permitted", "question_id": 400, "evidence": "" }
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What percentage of legendary frame effect cards that are only available in online game variations?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT SUM(CASE WHEN isOnlineOnly = 1 THEN 1.0 ELSE 0 END) / COUNT(id) * 100 FROM cards WHERE frameEffects = 'legendary'", "permission": "denied", "query_columns": { "cards": [ "frameEffects", "id", "isOnlineOnly" ] }, "missing_columns": { "cards": [ "frameEf...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
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 Story Spotlight cards that do not have a text box?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT (SELECT COUNT (id) FROM cards WHERE isTextless = 1 AND isStorySpotlight = 1) * 100 / COUNT(id) FROM cards WHERE isStorySpotlight = 1", "permission": "denied", "query_columns": { "cards": [ "id", "isStorySpotlight", "isTextless" ] }, "missing_columns": { "car...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Calculate the percentage of cards in Spanish. List them by name.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT (SELECT CAST(SUM(CASE WHEN language = 'Spanish' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(*) FROM foreign_data) AS percentage, name FROM foreign_data WHERE language = 'Spanish' ORDER BY name", "permission": "denied", "query_columns": { "foreign_data": [ "name" ] }, "missing...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Indicates the name of all the languages into which the set whose number of cards is 309 is translated.
SELECT T2.language FROM sets AS T1 INNER JOIN set_translations AS T2 ON T1.code = T2.setCode WHERE T1.baseSetSize = 309
simple
{ "gold_sql": "SELECT T2.language FROM sets AS T1 INNER JOIN set_translations AS T2 ON T1.code = T2.setCode WHERE T1.baseSetSize = 309", "permission": "allowed", "query_columns": { "sets": [ "baseSetSize", "code" ], "set_translations": [ "language", "setCode" ] }, "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 Brazilian Portuguese translated sets are inside the Commander block?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT COUNT(T1.id) FROM sets AS T1 INNER JOIN set_translations AS T2 ON T1.code = T2.setCode WHERE T2.language = 'Portuguese (Brazil)' AND T1.block = 'Commander'", "permission": "denied", "query_columns": { "sets": [ "block", "code", "id" ], "set_translations": [ ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
List by ID all Creature-type cards with legal status.
SELECT DISTINCT T1.id FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T2.status = 'Legal' AND T1.types = 'Creature'
simple
{ "gold_sql": "SELECT DISTINCT T1.id FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T2.status = 'Legal' AND T1.types = 'Creature'", "permission": "allowed", "query_columns": { "cards": [ "id", "types", "uuid" ], "legalities": [ "status", "uuid" ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Lists all types of cards in German.
SELECT T1.subtypes, T1.supertypes FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid WHERE T2.language = 'German' AND T1.subtypes IS NOT NULL AND T1.supertypes IS NOT NULL
moderate
{ "gold_sql": "SELECT T1.subtypes, T1.supertypes FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid WHERE T2.language = 'German' AND T1.subtypes IS NOT NULL AND T1.supertypes IS NOT NULL", "permission": "allowed", "query_columns": { "cards": [ "subtypes", "supertypes", "uuid...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
How many unknown power cards contain info about the triggered ability
SELECT T2.text FROM cards AS T1 INNER JOIN rulings AS T2 ON T1.uuid = T2.uuid WHERE (T1.power IS NULL OR T1.power = '*') AND T2.text LIKE '%triggered ability%'
moderate
{ "gold_sql": "SELECT T2.text FROM cards AS T1 INNER JOIN rulings AS T2 ON T1.uuid = T2.uuid WHERE (T1.power IS NULL OR T1.power = '*') AND T2.text LIKE '%triggered ability%'", "permission": "allowed", "query_columns": { "cards": [ "power", "uuid" ], "rulings": [ "text", "uuid"...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Indicates the number of cards with pre-modern format, ruling text "This is a triggered mana ability." that do not have multiple faces.
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT COUNT(T1.id) FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid INNER JOIN rulings AS T3 ON T1.uuid = T3.uuid WHERE T2.format = 'premodern' AND T3.text = 'This is a triggered mana ability.' AND T1.Side IS NULL", "permission": "denied", "query_columns": { "cards": [ "...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Is there any card from Erica Yang artist in pauper format and available in paper? If so, indicate its ID.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.id\nFROM cards AS T1\nINNER JOIN legalities AS T2 ON T1.uuid = T2.uuid\nWHERE T1.artist = 'Erica Yang'\n AND T2.format = 'pauper'\n AND T1.availability = 'paper';", "permission": "denied", "query_columns": { "cards": [ "artist", "availability", "id", "uuid" ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
To which artist does the card with the text "Das perfekte Gegenmittel zu einer dichten Formation" belong?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT DISTINCT T1.artist FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T1.uuid = T2.uuid WHERE T2.flavorText LIKE '%DAS perfekte Gegenmittel zu einer dichten Formation%'", "permission": "denied", "query_columns": { "cards": [ "artist", "uuid" ], "foreign_data": [ ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What is the foreign name of the card in French of type Creature, normal layout and black border color, by artist Matthew D. Wilson?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT name FROM foreign_data WHERE uuid IN ( SELECT uuid FROM cards WHERE types = 'Creature' AND layout = 'normal' AND borderColor = 'black' AND artist = 'Matthew D. Wilson' ) AND language = 'French'", "permission": "denied", "query_columns": { "foreign_data": [ "name" ], "cards"...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
How many rare cards have ruling text that were printed on 01/02/2007?
SELECT COUNT(DISTINCT T1.id) FROM cards AS T1 INNER JOIN rulings AS T2 ON T1.uuid = T2.uuid WHERE T1.rarity = 'rare' AND T2.date = '2007-02-01'
simple
{ "gold_sql": "SELECT COUNT(DISTINCT T1.id) FROM cards AS T1 INNER JOIN rulings AS T2 ON T1.uuid = T2.uuid WHERE T1.rarity = 'rare' AND T2.date = '2007-02-01'", "permission": "allowed", "query_columns": { "cards": [ "id", "rarity", "uuid" ], "rulings": [ "date", "uuid" ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What language is the set of 180 cards that belongs to the Ravnica block translated into?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.language FROM sets AS T1 INNER JOIN set_translations AS T2 ON T1.code = T2.setCode WHERE T1.block = 'Ravnica' AND T1.baseSetSize = 180", "permission": "denied", "query_columns": { "sets": [ "baseSetSize", "block", "code" ], "set_translations": [ "langua...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What percentage of cards with format commander and legal status do not have a content warning?
Sorry, I cannot answer.
challenging
{ "gold_sql": "SELECT CAST(SUM(CASE WHEN T1.hasContentWarning = 0 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.id) FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T2.format = 'commander' AND T2.status = 'Legal'", "permission": "denied", "query_columns": { "cards": [ "hasContentWa...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What percentage of cards without power are in French?
SELECT (COUNT(DISTINCT CASE WHEN f.language = 'French' THEN c.id END) * 100.0 / NULLIF(COUNT(DISTINCT c.id), 0)) AS french_percentage FROM cards c LEFT JOIN foreign_data f ON c.uuid = f.uuid WHERE c.power IS NULL OR c.power = '*';
challenging
{ "gold_sql": "SELECT \n (COUNT(DISTINCT CASE WHEN f.language = 'French' THEN c.id END) * 100.0 \n / NULLIF(COUNT(DISTINCT c.id), 0)) AS french_percentage\nFROM \n cards c\nLEFT JOIN \n foreign_data f ON c.uuid = f.uuid\nWHERE \n c.power IS NULL OR c.power = '*';", "permission": "allowed", "query_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 percentage of Japanese translated sets are expansion sets?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT CAST(SUM(CASE WHEN T2.language = 'Japanese' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.id) FROM sets AS T1 INNER JOIN set_translations AS T2 ON T1.code = T2.setCode WHERE T1.type = 'expansion'", "permission": "denied", "query_columns": { "sets": [ "code", "id", "type"...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What kind of printing is on the card that Daren Bader created?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT DISTINCT availability FROM cards WHERE artist = 'Daren Bader'", "permission": "denied", "query_columns": { "cards": [ "artist", "availability" ] }, "missing_columns": { "cards": [ "artist", "availability" ] }, "reason": "Missing column permissi...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
How many color cards with no borders have been ranked higher than 12000 on EDHRec?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(id) FROM cards WHERE edhrecRank > 12000 AND borderColor = 'borderless'", "permission": "denied", "query_columns": { "cards": [ "borderColor", "edhrecRank", "id" ] }, "missing_columns": { "cards": [ "borderColor", "edhrecRank" ] }, "...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 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 oversized, reprinted, and printed for promotions?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT COUNT(id) FROM cards WHERE isOversized = 1 AND isReprint = 1 AND isPromo = 1", "permission": "denied", "query_columns": { "cards": [ "id", "isOversized", "isPromo", "isReprint" ] }, "missing_columns": { "cards": [ "isOversized", "isPromo", ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 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 top three unknown power cards that have promotional types for arena league in alphabetical order.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT name FROM cards WHERE (power IS NULL OR power LIKE '%*%') AND promoTypes = 'arenaleague' ORDER BY name LIMIT 3", "permission": "denied", "query_columns": { "cards": [ "name", "power", "promoTypes" ] }, "missing_columns": { "cards": [ "promoTypes" ]...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
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 with the multiverse number 149934?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT language FROM foreign_data WHERE multiverseid = 149934", "permission": "denied", "query_columns": { "foreign_data": [ "multiverseid" ] }, "missing_columns": { "foreign_data": [ "multiverseid" ] }, "reason": "Missing column permissions: foreign_data: multiv...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Please provide the ids of top three powerful pairs of Kingdom Foil and Kingdom Cards sorted by Kingdom Foil id in alphabetical order.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT cardKingdomFoilId, cardKingdomId FROM cards WHERE cardKingdomFoilId IS NOT NULL AND cardKingdomId IS NOT NULL ORDER BY cardKingdomFoilId LIMIT 3", "permission": "denied", "query_columns": { "cards": [ "cardKingdomFoilId", "cardKingdomId" ] }, "missing_columns": { ...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What proportion of cards do not have a text box with a normal layout?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT CAST(SUM(CASE WHEN isTextless = 1 AND layout = 'normal' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(*)\nFROM cards;", "permission": "denied", "query_columns": { "cards": [ "isTextless", "layout" ] }, "missing_columns": { "cards": [ "isTextless" ] }, "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 are the card numbers that don't have multiple faces on a single card and have the subtypes Angel and Wizard?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT id FROM cards WHERE subtypes = 'Angel,Wizard' AND side IS NULL", "permission": "denied", "query_columns": { "cards": [ "id", "side", "subtypes" ] }, "missing_columns": { "cards": [ "side" ] }, "reason": "Missing column permissions: cards: side"...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 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 provide top three sets that don't appear in Magic: The Gathering Online, along with their names in in alphabetical order.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT name FROM sets WHERE mtgoCode IS NULL ORDER BY name LIMIT 3", "permission": "denied", "query_columns": { "sets": [ "mtgoCode", "name" ] }, "missing_columns": { "sets": [ "mtgoCode" ] }, "reason": "Missing column permissions: sets: mtgoCode", "quest...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What languages are available in the set known as Archenemy on the magic card market and having the code ARC?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T2.language FROM sets AS T1 INNER JOIN set_translations AS T2 ON T1.code = T2.setCode WHERE T1.mcmName = 'Archenemy' AND T2.setCode = 'ARC'", "permission": "denied", "query_columns": { "sets": [ "code", "mcmName" ], "set_translations": [ "language", "setCo...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
What is the name of set number 5 and its translation?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T1.name, T2.translation FROM sets AS T1 INNER JOIN set_translations AS T2 ON T1.code = T2.setCode WHERE T2.id = 5 GROUP BY T1.name, T2.translation", "permission": "denied", "query_columns": { "sets": [ "code", "name" ], "set_translations": [ "id", "setCode...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
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 expansion type of set number 207?
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT T2.language, T1.type FROM sets AS T1 INNER JOIN set_translations AS T2 ON T1.code = T2.setCode WHERE T1.id = 207", "permission": "denied", "query_columns": { "sets": [ "code", "id", "type" ], "set_translations": [ "language", "setCode" ] }, "...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Please list top two sets of cards with their IDs that have Italian-language cards and are located in the Shadowmoor block in alphabetical order.
Sorry, I cannot answer.
simple
{ "gold_sql": "SELECT DISTINCT T1.name, T1.id FROM sets AS T1 JOIN set_translations AS T2 ON T1.code = T2.setCode WHERE T1.block = 'Shadowmoor' AND T2.language = 'Italian' ORDER BY T1.name ASC LIMIT 2;", "permission": "denied", "query_columns": { "sets": [ "block", "code", "id", "name"...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Which set is not available outside of the United States and has foil cards with Japanese writing on them? Please include the set ID in your response.
Sorry, I cannot answer.
challenging
{ "gold_sql": "SELECT T1.name, T1.id FROM sets AS T1 INNER JOIN set_translations AS T2 ON T1.code = T2.setCode WHERE T2.language = 'Japanese' AND T1.isFoilOnly = 1 AND T1.isForeignOnly = 0", "permission": "denied", "query_columns": { "sets": [ "code", "id", "isFoilOnly", "isForeignOnly...
card_games
##Instruction: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Database: card_games Total Tables: 6 Total Columns: 115 Table Schemas: Table: cards (74 columns) ------------------------- • id (integer) • artist (text): The name of the artist that illustrated the card art. • asciiName (text): T...
GameRulesSpecialist
{ "cards": [ "id", "asciiName", "colorIdentity", "colors", "convertedManaCost", "faceConvertedManaCost", "keywords", "layout", "manaCost", "name", "originalText", "power", "rarity", "subtypes", "supertypes", "text", "toughness", "type", "type...
Which Russian set of cards contains the most cards overall?
Sorry, I cannot answer.
moderate
{ "gold_sql": "SELECT T1.id, T1.name, T1.totalSetSize\nFROM sets AS T1\nINNER JOIN set_translations AS T2 ON T1.code = T2.setCode\nWHERE T2.language = 'Russian'\n AND T1.totalSetSize = (\n SELECT MAX(s.totalSetSize)\n FROM sets AS s\n INNER JOIN set_translations AS st ON s.code = st.setCode\n WHERE st.la...