query_id
int64
0
1.53k
database_id
stringclasses
11 values
table_id
sequencelengths
1
4
query
stringlengths
23
286
answer
stringlengths
29
1.45k
difficulty
stringclasses
3 values
evidence
stringlengths
0
591
400
card_games
[ "set_translations" ]
Lists the set code of all cards translated into Spanish.
SELECT setCode FROM set_translations WHERE language = 'Spanish'
simple
Spanish refer to language; set code refers to setCode
401
card_games
[ "cards" ]
What percentage of legendary frame effect cards have a maximum starting maximun hand size of +3?
SELECT SUM(CASE WHEN hAND = '+3' THEN 1.0 ELSE 0 END) / COUNT(id) * 100 FROM cards WHERE frameEffects = 'legendary'
moderate
maximun hand size of +3 refer to hand = +3; legendary frame effect cards refer to frameEffects = 'legendary'; percentage refer to DIVIDE(COUNT(hand = '+3'), COUNT(id)) from cards where frameEffects = 'legendary'
402
card_games
[ "cards" ]
What is the percentage of Story Spotlight cards that also have a text box? List them by their ID.
SELECT CAST(SUM(CASE WHEN isTextless = 0 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(id) FROM cards WHERE isStorySpotlight = 1
moderate
Story Spotlight cards that do not have a text box refers to isStorylight = 1 and isTextless = 1; Percentage refer to DIVIDE(SUM(count(id) where isStorylight = 1), SUM(count(id))) * 100
403
card_games
[ "foreign_data" ]
Calculate the percentage of cards in Spanish. List them by name.
SELECT ( SELECT CAST(SUM(CASE WHEN language = 'Spanish' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(*) FROM foreign_data ), name FROM foreign_data WHERE language = 'Spanish'
simple
Spanish refer to language; Percentage refer to DIVIDE(SUM(ID where language = 'Spanish'), COUNT(id))*100
404
card_games
[ "sets", "set_translations" ]
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
set refer to setCode; number of cards refers to baseSetSize; baseSetsize = 309
405
card_games
[ "sets", "set_translations" ]
How many Brazilian Portuguese translated sets are inside the Commander block?
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'
moderate
Commander block refer to block = 'Commander'; sets refer to setCode; Portuguese refer to language = 'Portuguese (Brasil)'
406
card_games
[ "cards", "legalities", "rulings" ]
Lists by ID all Creature-type cards with legal status.
SELECT T1.id FROM cards AS T1 INNER JOIN rulings AS T2 ON T1.uuid = T2.uuid INNER JOIN legalities AS T3 ON T1.uuid = T3.uuid WHERE T3.status = 'Legal' AND T1.types = 'Creature'
simple
legal status refer to status = 'legal'; Goblin-type cards refer to types = 'Creature';
407
card_games
[ "cards", "foreign_data" ]
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
German refer to language; all types refer to the union of subtypes and supertypes where subtypes is not null AND supertypes is not null
408
card_games
[ "cards", "rulings" ]
How many null 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 LIKE '%*%') AND T2.text LIKE '%triggered ability%'
moderate
null power cards refers to power is NULL; unknown power cards refers to power is null or power = '*'
409
card_games
[ "cards", "legalities", "rulings" ]
Indicates the number of cards with pre-modern format, ruling text "This is a triggered mana ability" that do not have multiple faces.
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
moderate
do not have multiple faces refers to side IS NULL
410
card_games
[ "cards", "legalities" ]
Is there any card from Erica Yang artist in pauper format and available in paper? If so, indicate its ID.
SELECT T1.id FROM cards AS T1 INNER JOIN legalities AS T2 ON T1.uuid = T2.uuid WHERE T1.artist = 'Erica Yang' AND T2.format = 'pauper' AND T1.availability = 'paper'
simple
available in paper refers to availability = 'paper'
411
card_games
[ "cards", "foreign_data" ]
To which artist does the card with the text "Das perfekte Gegenmittel zu einer dichten Formation" belong?
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%'
simple
412
card_games
[ "cards", "foreign_data" ]
What is the foreign name of the card in French of type Creature, normal layout and black border color, by artist Matthew D. Wilson?
SELECT name FROM foreign_data WHERE uuid IN ( SELECT uuid FROM cards WHERE types = 'Creature' AND layout = 'normal' AND borderColor = 'black' AND artist = 'Matthew D. Wilson' ) AND language = 'French'
moderate
in French refers to language = 'French'; black border color refers to borderColor = 'black'
413
card_games
[ "cards", "rulings" ]
How many cards with print rarity have ruling text printed on 10/01/2009?
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 = '2009-01-10'
simple
with print rarity refers to rarity = 'rare'; on 10/01/2009 refers to date = '2009-01-10'
414
card_games
[ "sets", "set_translations" ]
What language is the set of 180 cards that belongs to the Ravnica block translated into?
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
simple
set of 180 cards refers to baseSetSize = 180
415
card_games
[ "cards", "legalities" ]
What percentage of cards with format commander and legal status do not have a content warning?
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'
challenging
do not have a content warning refers to hasContentWarning = 0; percentage refers to DIVIDE(COUNT(hasContentWarning = 0),COUNT(ID))*100 where format = 'commander' AND Status = 'legal';
416
card_games
[ "cards", "foreign_data" ]
What percentage of cards without power are in French?
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.power IS NULL OR T1.power LIKE '%*%'
challenging
in French refers to language = 'French'; cards without power refers to power IS NULL OR power = '*'; percentage = DIVIDE(COUNT(language = 'French' and power is NULL or power = '*'), COUNT( power is NULL or power = '*'))*100
417
card_games
[ "sets", "set_translations" ]
What percentage of Japanese translated sets are expansion sets?
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'
moderate
Japanese translated refers to language = 'Japanese'; expansion sets refers to type = 'expansion'; percentage = DIVIDE(COUNT(language = 'Japanese'),COUNT(language))*100
418
card_games
[ "cards" ]
What kind of printing is on the card that Daren Bader created?
SELECT DISTINCT availability FROM cards WHERE artist = 'Daren Bader'
simple
kind of printing refers to availability; Daren Bader created refers to artist = 'Daren Bader'
419
card_games
[ "cards" ]
How many color cards with no borders have been ranked higher than 12000 on EDHRec?
SELECT COUNT(id) FROM cards WHERE edhrecRank > 12000 AND borderColor = 'borderless'
simple
color cards with no borders refers to borderColor = 'borderless'; ranked higher than 12000 on EDHRec refers to edhrecRank > 12000
420
card_games
[ "cards" ]
How many cards are oversized, reprinted, and printed for promotions?
SELECT COUNT(id) FROM cards WHERE isOversized = 1 AND isReprint = 1 AND isPromo = 1
simple
are oversized refers to isOversized = 1; reprinted refers to isReprint = 1; printed for promotions refers to isPromo = 1
421
card_games
[ "cards" ]
Please list top three unknown power cards that have promotional types for arena league in alphabetical order.
SELECT name FROM cards WHERE (power IS NULL OR power LIKE '%*%') AND promoTypes = 'arenaleague' ORDER BY name LIMIT 3
simple
unknown power cards refers to power is null or power = '*'; promotional types for arena league refers to promoTypes = 'arenaleague'
422
card_games
[ "foreign_data" ]
What is the language of the card with the multiverse number 149934?
SELECT language FROM foreign_data WHERE multiverseid = 149934
simple
multiverse number 149934 refers to multiverseid = 149934;
423
card_games
[ "cards" ]
Please provide the ids of top three powerful pairs of Kingdom Foil and Kingdom Cards sorted by Kingdom Foil id in alphabetical order.
SELECT cardKingdomFoilId, cardKingdomId FROM cards WHERE cardKingdomFoilId IS NOT NULL AND cardKingdomId IS NOT NULL ORDER BY cardKingdomFoilId LIMIT 3
simple
poweful refers to cardKingdomFoilId is not null AND cardKingdomId is not null
424
card_games
[ "cards" ]
What proportion of cards do not have a text box with a normal layout?
SELECT CAST(SUM(CASE WHEN isTextless = 1 AND layout = 'normal' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(*) FROM cards
simple
do not have a text box refers to isTextless = 1; proportion refers to DIVIDE(COUNT(Textless = 1 and layout = 'normal'),COUNT(Textless))*100
425
card_games
[ "cards" ]
What are the card numbers that don't have multiple faces on a single card and have the subtypes Angel and Wizard?
SELECT id FROM cards WHERE subtypes = 'Angel,Wizard' AND side IS NULL
simple
don't have multiple faces on a single card side is null
426
card_games
[ "sets" ]
Please provide top three sets that don't appear in Magic: The Gathering Online, along with their names in in alphabetical order.
SELECT name FROM sets WHERE mtgoCode IS NULL ORDER BY name LIMIT 3
simple
don't appear in Magic: The Gathering Online refers to mtgoCode is NULL or mtgoCode = ''
427
card_games
[ "sets", "set_translations" ]
What languages are available in the set known as Archenemy on the magic card market and having the code ARC?
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'
moderate
known as Archenemy refers to mcmName = 'Archenemy'; having the code ARC refers to setCode = 'ARC'
428
card_games
[ "sets", "set_translations" ]
What is the name of set number 5 and its translation?
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
simple
set number 5 refers to id = 5
429
card_games
[ "sets", "set_translations" ]
What is the language and expansion type of set number 206?
SELECT T2.language, T1.type FROM sets AS T1 INNER JOIN set_translations AS T2 ON T1.code = T2.setCode WHERE T2.id = 206
simple
set number 206 refers to id = 206
430
card_games
[ "sets", "set_translations" ]
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.
SELECT T1.name, T1.id FROM sets AS T1 INNER JOIN set_translations AS T2 ON T1.code = T2.setCode WHERE T1.block = 'Shadowmoor' AND T2.language = 'Italian' ORDER BY T1.id LIMIT 2
simple
431
card_games
[ "sets", "set_translations" ]
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.
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
challenging
available outside of the United States refers to isForeignOnly = 1; has foil cards refers to isFoilOnly = 1; with Japanese writing on them refers to language = 'Japanese'
432
card_games
[ "sets", "set_translations" ]
Which Russian set of cards contains the most cards overall?
SELECT T1.id FROM sets AS T1 INNER JOIN set_translations AS T2 ON T1.code = T2.setCode WHERE T2.language = 'Russian' GROUP BY T1.baseSetSize ORDER BY COUNT(T1.id) DESC LIMIT 1
moderate
Russian refers to language = 'Russian'; contains the most cards overall refers to MAX(baseSetSize)
433
card_games
[ "sets", "set_translations" ]
What is the percentage of the set of cards that have Chinese Simplified as the language and are only available for online games?
SELECT CAST(SUM(CASE WHEN T2.language = 'Chinese Simplified' AND T1.isOnlineOnly = 1 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(*) FROM sets AS T1 INNER JOIN set_translations AS T2 ON T1.code = T2.setCode
moderate
are only available for online games refers to isOnlineOnly = 1; percentage = DIVIDE(COUNT(isOnlineOnly = 1),COUNT(isOnlineOnly))*100
434
card_games
[ "sets", "set_translations" ]
How many sets are available just in Japanese and not in Magic: The Gathering Online?
SELECT COUNT(T1.id) FROM sets AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.code WHERE T2.language = 'Japanese' AND (T1.mtgoCode IS NULL OR T1.mtgoCode = '')
moderate
Japanese refers to language = 'Japanese'; not in Magic: The Gathering Online refers to mtgoCode is null or mtgoCode = ''
435
card_games
[ "cards" ]
How many card border with black color ? List out the card id.
SELECT id FROM cards WHERE borderColor = 'black' GROUP BY id
simple
border with black color refers to borderColor = 'black'
436
card_games
[ "cards" ]
How many cards have frame effect as extendedart? List out the id of those cards.
SELECT id FROM cards WHERE frameEffects = 'extendedart' GROUP BY id
simple
frame effect as extendedart refers to frameEffects = 'extendedart'
437
card_games
[ "cards" ]
Among black card borders, which card has full artwork?
SELECT id FROM cards WHERE borderColor = 'black' AND isFullArt = 1
simple
white card borders refers to borderColor = 'white'; has full artwork refers to isFullArt = 1
438
card_games
[ "set_translations" ]
Point out the language of set id "174"?
SELECT language FROM set_translations WHERE id = 174
simple
439
card_games
[ "sets" ]
List out the set name of the set code "ALL".
SELECT name FROM sets WHERE code = 'ALL'
simple
440
card_games
[ "foreign_data" ]
Which foreign language used by "A Pedra Fellwar"?
SELECT DISTINCT language FROM foreign_data WHERE name = 'A Pedra Fellwar'
simple
"A Pedra Fellwar" refers to name = 'A Pedra Fellwar'
441
card_games
[ "sets", "set_translations" ]
State the set code of the set with release date of 07/13/2007?
SELECT T2.setCode FROM sets AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.code WHERE T1.releaseDate = '2007-07-13'
simple
442
card_games
[ "sets", "set_translations" ]
Mention the base set size and set code of the set that was in block named "Masques" and "Mirage".
SELECT DISTINCT T1.baseSetSize, T2.setCode FROM sets AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.code WHERE T1.block IN ('Masques', 'Mirage')
simple
443
card_games
[ "sets", "set_translations" ]
Give the code of sets have expansion type of 'expansion'?
SELECT T2.setCode FROM sets AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.code WHERE T1.type = 'expansion' GROUP BY T2.setCode
simple
code of sets refers to setCode
444
card_games
[ "cards", "foreign_data" ]
Name the foreign name of the card that has boros watermark? List out the type of this card.
SELECT DISTINCT T1.name, T1.type FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T2.uuid = T1.uuid WHERE T1.watermark = 'boros'
simple
445
card_games
[ "cards", "foreign_data" ]
What is the language and flavor text of the card that has colorpie watermark? List out the type of this card.
SELECT DISTINCT T2.language, T2.flavorText FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T2.uuid = T1.uuid WHERE T1.watermark = 'colorpie'
simple
446
card_games
[ "cards", "sets" ]
What is percentage of the cards with a converted Mana Cost of 10 in set of Abyssal Horror?
SELECT CAST(SUM(CASE WHEN T1.convertedManaCost = 10 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.id), T1.name FROM cards AS T1 INNER JOIN sets AS T2 ON T2.code = T1.setCode WHERE T1.name = 'Abyssal Horror'
moderate
set of Abyssal Horror refers to name = 'Abyssal Horror'; percentage refers to DIVIDE(COUNT(convertedManaCost = 16),COUNT(convertedManaCost))*100
447
card_games
[ "sets", "set_translations" ]
Give the code of sets have expansion commander type?
SELECT T2.setCode FROM sets AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.code WHERE T1.type = 'commander'
simple
code of sets refers to setCode
448
card_games
[ "cards", "foreign_data" ]
Name the foreign name of the card that has abzan watermark? List out the type of this card.
SELECT DISTINCT T1.name, T1.type FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T2.uuid = T1.uuid WHERE T1.watermark = 'abzan'
simple
449
card_games
[ "cards", "foreign_data" ]
What is the language of the card that has azorius watermark? List out the type of this card.
SELECT DISTINCT T2.language, T1.type FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T2.uuid = T1.uuid WHERE T1.watermark = 'azorius'
simple
450
card_games
[ "cards" ]
Of all the cards that are designed by Aaron Miller, how many of them are incredibly powerful?
SELECT SUM(CASE WHEN artist = 'Aaron Miller' AND cardKingdomFoilId IS NOT NULL AND cardKingdomId IS NOT NULL THEN 1 ELSE 0 END) FROM cards
moderate
designed by Aaron Miller refers to artist = 'Aaron Miller'; are icredibily powerful refers to cardKingdomFoilId = cardKingdomId AND cardKingdomId is not null
451
card_games
[ "cards" ]
How many cards available in paper have a positive starting maximum hand size?
SELECT SUM(CASE WHEN availability = 'paper' AND hAND LIKE '+%' AND hAND != '+0' THEN 1 ELSE 0 END) FROM cards
simple
available in paper refers to availability like '%paper%'; have a positive starting maximum hand size refers to hand = '+%'
452
card_games
[ "cards" ]
Please list the names of the cards that have a text box.
SELECT DISTINCT name FROM cards WHERE isTextless = 0
simple
have a text box refers to isTextless = 0
453
card_games
[ "cards" ]
What's the unconverted mana cost of the card "Ancestor's Chosen"?
SELECT DISTINCT manaCost FROM cards WHERE name = 'Ancestor''s Chosen'
simple
card "Ancestor's Chosen" refers to name = 'Ancestor`s Chosen'
454
card_games
[ "cards" ]
Among the cards with a white border color, how many of them have unknown power?
SELECT SUM(CASE WHEN power LIKE '%*%' OR power IS NULL THEN 1 ELSE 0 END) FROM cards WHERE borderColor = 'white'
simple
unknown power refers to power = '*' or power is null
455
card_games
[ "cards" ]
Which of the cards that are a promotional painting have multiple faces on the same card? Please list their names.
SELECT DISTINCT name FROM cards WHERE isPromo = 1 AND side IS NOT NULL
simple
are a promotional painting refers to isPromo = 1; have multiple faces on the same card refers to side is not Null
456
card_games
[ "cards" ]
What's the list of all types for the card "Molimo, Maro-Sorcerer"?
SELECT DISTINCT subtypes, supertypes FROM cards WHERE name = 'Molimo, Maro-Sorcerer'
simple
card "Molimo, Maro-Sorcerer" refers to name = 'Molimo, Maro-Sorcerer'; list of all types refers to subtypes,supertypes
457
card_games
[ "cards" ]
Please list the websites where I can purchase the cards that have the promotional type of "bundle".
SELECT DISTINCT purchaseUrls FROM cards WHERE promoTypes = 'bundle'
simple
promotional type of "bundle" refers to promoTypes = 'bundle'; websites refers to purchaseUrls
458
card_games
[ "cards" ]
How many artists have designed a card with a black border color and is available in both "arena" and "mtgo" printing type?
SELECT COUNT(CASE WHEN availability LIKE '%arena,mtgo%' THEN 1 ELSE NULL END) FROM cards
simple
available in both "arena" and "mtgo" refers to availability like '%arena,mtgo%'
459
card_games
[ "cards" ]
Which card costs more converted mana, "Serra Angel" or "Shrine Keeper"?
SELECT name FROM cards WHERE name IN ('Serra Angel', 'Shrine Keeper') ORDER BY convertedManaCost DESC LIMIT 1
moderate
"Serra Angel" refers to name = 'Serra Angel'; "Shrine Keeper" refers to name = 'Shrine Keeper'; card costs more converted mana when the value of convertedManaCost is greater
460
card_games
[ "cards" ]
Which artist designed the card whose promotional name is "Battra, Dark Destroyer"?
SELECT artist FROM cards WHERE flavorName = 'Battra, Dark Destroyer'
simple
promotional name is "Battra, Dark Destroyer" refers to flavorName = 'Battra, Dark Destroyer'
461
card_games
[ "cards" ]
Please list the names of the top 3 cards with the highest converted mana cost and have a 2003 card frame style.
SELECT name FROM cards WHERE frameVersion = 2003 ORDER BY convertedManaCost DESC LIMIT 3
simple
name of cards refers to name; 2003 card frame style refers to frameVersion = '2003'
462
card_games
[ "cards", "set_translations" ]
What's the Italian name of the set of cards with "Ancestor's Chosen" is in?
SELECT translation FROM set_translations WHERE setCode IN ( SELECT setCode FROM cards WHERE name = 'Ancestor''s Chosen' ) AND language = 'Italian'
moderate
Italian is a language which refers to language = 'Italian'; with "Ancestor's Chosen" in the card set refers to name = 'Ancestor's Chosen'
463
card_games
[ "cards", "set_translations" ]
How many translations are there for the set of cards with "Angel of Mercy" in it?
SELECT COUNT(DISTINCT translation) FROM set_translations WHERE setCode IN ( SELECT setCode FROM cards WHERE name = 'Angel of Mercy' ) AND translation IS NOT NULL
simple
set of cards with "Angel of Mercy" in it refers to name = 'Angel of Mercy'
464
card_games
[ "cards", "set_translations" ]
Please list the names of the cards in the set "Hauptset Zehnte Edition".
SELECT DISTINCT T1.name FROM cards AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.setCode WHERE T2.translation = 'Hauptset Zehnte Edition'
simple
card set "Hauptset Zehnte Edition" refers to translation = 'Hauptset Zehnte Edition'
465
card_games
[ "cards", "set_translations" ]
For the set of cards with "Ancestor's Chosen" in it, is there a Korean version of it?
SELECT IIF(SUM(CASE WHEN T2.language = 'Korean' AND T2.translation IS NOT NULL THEN 1 ELSE 0 END) > 0, 'YES', 'NO') FROM cards AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.setCode WHERE T1.name = 'Ancestor''s Chosen'
moderate
set of cards with "Ancestor's Chosen" in it refers to name = 'Ancestor's Chosen'; Korean version refers to language = 'Korean'
466
card_games
[ "cards", "set_translations" ]
Among the cards in the set "Hauptset Zehnte Edition", how many of them are designed by Adam Rex?
SELECT COUNT(T1.id) FROM cards AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.setCode WHERE T2.translation = 'Hauptset Zehnte Edition' AND T1.artist = 'Adam Rex'
moderate
card set "Hauptset Zehnte Edition" refers to translation = 'Hauptset Zehnte Edition'; designed by Adam refers to artist = 'Adam Rex'
467
card_games
[ "sets", "set_translations" ]
How many cards are there in the base set of "Hauptset Zehnte Edition"?
SELECT T1.baseSetSize FROM sets AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.code WHERE T2.translation = 'Hauptset Zehnte Edition'
simple
"Hauptset Zehnte Edition" refers to translation = 'Hauptset Zehnte Edition'; number of cards refers to baseSetSize
468
card_games
[ "sets", "set_translations" ]
What is the Simplified Chinese translation of the name of the set "Eighth Edition"?
SELECT T2.translation FROM sets AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.code WHERE T1.name = 'Eighth Edition' AND T2.language = 'Chinese Simplified'
moderate
Eighth Edition is the name of card set which refers to name = 'Eighth Edition'; Simplified Chinese is the language; translation of the name refers to translation
469
card_games
[ "cards", "sets" ]
Did the set of cards with "Angel of Mercy" appear on Magic: The Gathering Online?
SELECT IIF(T2.mtgoCode IS NOT NULL, 'YES', 'NO') FROM cards AS T1 INNER JOIN sets AS T2 ON T2.code = T1.setCode WHERE T1.name = 'Angel of Mercy'
moderate
card set "Angel of Mercy" refers to name = 'Angel of Mercy'; appear on Magic: The Gathering Online refers to mtgoCode is NOT NULL and vice versa
470
card_games
[ "cards", "sets" ]
When was the set of cards with "Ancestor's Chosen" released?
SELECT DISTINCT T2.releaseDate FROM cards AS T1 INNER JOIN sets AS T2 ON T2.code = T1.setCode WHERE T1.name = 'Ancestor''s Chosen'
simple
card set "Ancestor's Chosen" refers to name = 'Ancestor''s Chosen'; when released refers to releaseDate
471
card_games
[ "sets", "set_translations" ]
What is the expansion type of the set "Hauptset Zehnte Edition"?
SELECT T1.type FROM sets AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.code WHERE T2.translation = 'Hauptset Zehnte Edition'
simple
card set "Hauptset Zehnte Edition" refers to translation = ' Hauptset Zehnte Edition'; expansion type refers to type
472
card_games
[ "sets", "set_translations" ]
Among the sets in the block "Ice Age", how many of them have an Italian translation?
SELECT COUNT(DISTINCT T1.id) FROM sets AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.code WHERE T1.block = 'Ice Age' AND T2.language = 'Italian' AND T2.translation IS NOT NULL
moderate
sets in the block "Ice Age" refers to block = 'Ice Age'; Italian translation refers to language = 'Italian'
473
card_games
[ "cards", "sets" ]
Is the set of cards with Adarkar Valkyrie only available outside the United States?
SELECT IIF(isForeignOnly = 1, 'YES', 'NO') FROM cards AS T1 INNER JOIN sets AS T2 ON T2.code = T1.setCode WHERE T1.name = 'Adarkar Valkyrie'
moderate
card set Adarkar Valkyrie refers to name = 'Adarkar Valkyrie'; isForeignOnly = 1 means only available outside the United States;
474
card_games
[ "sets", "set_translations" ]
Among the sets of cards that have an Italian translation, how many of them have a base set number of under 10?
SELECT COUNT(T1.id) FROM sets AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.code WHERE T2.translation IS NOT NULL AND T1.baseSetSize < 10 AND T2.language = 'Italian'
moderate
Italian translation refers to language = 'Italian'; have a translation means translation is not null; base set number of under 10 refers to baseSetSize < 10
475
card_games
[ "cards", "sets" ]
How many cards in the set Coldsnap have a black border color?
SELECT SUM(CASE WHEN T1.borderColor = 'black' THEN 1 ELSE 0 END) FROM cards AS T1 INNER JOIN sets AS T2 ON T2.code = T1.setCode WHERE T2.name = 'Coldsnap'
simple
card set Coldsnap refers to name = 'Coldsnap'; black border color refers to borderColor = 'black'
476
card_games
[ "cards", "sets" ]
Please list the name of the cards in the set Coldsnap with the highest converted mana cost.
SELECT T1.name FROM cards AS T1 INNER JOIN sets AS T2 ON T2.code = T1.setCode WHERE T2.name = 'Coldsnap' ORDER BY T1.convertedManaCost DESC LIMIT 1
simple
card set Coldsnap refers to name = 'Coldsnap'
477
card_games
[ "cards", "sets" ]
Which of these artists have designed a card in the set Coldsnap, Jeremy Jarvis, Aaron Miller or Chippy?
SELECT T1.artist FROM cards AS T1 INNER JOIN sets AS T2 ON T2.code = T1.setCode WHERE (T2.name = 'Coldsnap' AND T1.artist = 'Chippy') OR (T2.name = 'Coldsnap' AND T1.artist = 'Aaron Miller') OR (T2.name = 'Coldsnap' AND T1.artist = 'Jeremy Jarvis') GROUP BY T1.artist
challenging
card set Coldsnap refers to name = 'Coldsnap'; Jeremy Jarvis, Aaron Miller or Chippy are the name of artists which refers to artist IN ('Jeremy Jarvis', 'Aaron Miller','Chippy');
478
card_games
[ "cards", "sets" ]
What is card number 4 in the set Coldsnap?
SELECT T1.name FROM cards AS T1 INNER JOIN sets AS T2 ON T2.code = T1.setCode WHERE T2.name = 'Coldsnap' AND T1.number = 4
simple
card set Coldsnap refers to name = 'Coldsnap'; card number 4 refers to number = 4
479
card_games
[ "cards", "sets" ]
Among the cards with converted mana cost higher than 5 in the set Coldsnap, how many of them have unknown power?
SELECT SUM(CASE WHEN T1.power LIKE '%*%' OR T1.power IS NULL THEN 1 ELSE 0 END) FROM cards AS T1 INNER JOIN sets AS T2 ON T2.code = T1.setCode WHERE T2.name = 'Coldsnap' AND T1.convertedManaCost > 5
moderate
card set Coldsnap refers to name = 'Coldsnap'; converted mana cost higher than 5 refers to convertedManaCost > 5; unknown power refers to power = '*' or T1.power is null
480
card_games
[ "cards", "foreign_data" ]
What is the Italian flavor text of the card "Ancestor's Chosen"?
SELECT T2.flavorText FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T2.uuid = T1.uuid WHERE T1.name = 'Ancestor''s Chosen' AND T2.language = 'Italian'
moderate
Italian refers to language = 'Italian'; flavor text refers to flavorText; "Ancestor''s Chosen" refers to name = 'Ancestor''s Chosen'
481
card_games
[ "cards", "foreign_data" ]
Please list all the foreign languages in which the card "Ancestor's Chosen" has a flavor text.
SELECT T2.language FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T2.uuid = T1.uuid WHERE T1.name = 'Ancestor''s Chosen' AND T2.flavorText IS NOT NULL
simple
"Ancestor''s Chosen" refers to name = 'Ancestor''s Chosen'; has a flavor text refers to flavorText is not null
482
card_games
[ "cards", "foreign_data" ]
What's the German type of the card "Ancestor's Chosen"?
SELECT DISTINCT T1.type FROM cards AS T1 INNER JOIN foreign_data AS T2 ON T2.uuid = T1.uuid WHERE T1.name = 'Ancestor''s Chosen' AND T2.language = 'German'
simple
German refers to language = 'German'; "Ancestor's Chosen" refers to name = 'Ancestor''s Chosen'
483
card_games
[ "foreign_data", "sets", "cards" ]
Please list the Italian text ruling of all the cards in the set Coldsnap.
SELECT DISTINCT T1.text FROM foreign_data AS T1 INNER JOIN cards AS T2 ON T2.uuid = T1.uuid INNER JOIN sets AS T3 ON T3.code = T2.setCode WHERE T3.name = 'Coldsnap' AND T1.language = 'Italian'
moderate
card set Coldsnap refers to name = 'Coldsnap'; Italian refers to language = 'Italian'
484
card_games
[ "foreign_data", "sets", "cards" ]
Please list the Italian names of the cards in the set Coldsnap with the highest converted mana cost.
SELECT T2.name FROM foreign_data AS T1 INNER JOIN cards AS T2 ON T2.uuid = T1.uuid INNER JOIN sets AS T3 ON T3.code = T2.setCode WHERE T3.name = 'Coldsnap' AND T1.language = 'Italian' ORDER BY T2.convertedManaCost DESC LIMIT 1
moderate
card set Coldsnap refers to name = 'Coldsnap'; Italian refers to language = 'Italian'
485
card_games
[ "cards", "rulings" ]
When was the ruling for the card 'Reminisce' created?
SELECT T2.date FROM cards AS T1 INNER JOIN rulings AS T2 ON T2.uuid = T1.uuid WHERE T1.name = 'Reminisce'
simple
Reminisce refers to name = 'Reminisce'; when created is the date
486
card_games
[ "cards", "sets" ]
What is the percentage of the cards with a converted mana cost of 7 in the set Coldsnap?
SELECT CAST(SUM(CASE WHEN T1.convertedManaCost = 7 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.id) FROM cards AS T1 INNER JOIN sets AS T2 ON T2.code = T1.setCode WHERE T2.name = 'Coldsnap'
moderate
converted mana cost of 7 refers to convertedManaCost = 7; card set Coldsnap refers to name = 'Coldsnap'; percentage = DIVIDE(SUM(convertedManaCost = 7), SUM(convertedManaCost))*100
487
card_games
[ "cards", "sets" ]
What is the percentage of incredibly powerful cards in the set Coldsnap?
SELECT CAST(SUM(CASE WHEN T1.cardKingdomFoilId IS NOT NULL AND T1.cardKingdomId IS NOT NULL THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.id) FROM cards AS T1 INNER JOIN sets AS T2 ON T2.code = T1.setCode WHERE T2.name = 'Coldsnap'
challenging
card set Coldsnap refers to name = 'Coldsnap'; foil is incredibly powerful refers to cardKingdomFoilId = cardKingdomId AND cardKingdomId is not null; the percentage of incredibly powerful cards in the set refers to DIVIDE(SUM(incredibly powerful), SUM(name = 'Coldsnap'))*100
488
card_games
[ "sets" ]
What's the code for the set which was released on 2017/7/14?
SELECT code FROM sets WHERE releaseDate = '2017-07-14' GROUP BY releaseDate, code
simple
released on 2017/7/14 refers to releaseDate = '2017-07-14'
489
card_games
[ "sets" ]
List the keyrune code for the set whose code is 'PKHC'.
SELECT keyruneCode FROM sets WHERE code = 'PKHC'
simple
keyrune code refers to keyruneCode
490
card_games
[ "sets" ]
For the set which had 'SS2' as the code, what is its magic card market id?
SELECT mcmId FROM sets WHERE code = 'SS2'
simple
magic card market id refers to mcmId
491
card_games
[ "sets" ]
What's the magic card market name for the set which was released on 2017/6/9?
SELECT mcmName FROM sets WHERE releaseDate = '2017-06-09'
simple
magic card market name refers to mcmName
492
card_games
[ "sets" ]
For the set "From the Vault: Lore", what is its expansion type?
SELECT type FROM sets WHERE name LIKE '%FROM the Vault: Lore%'
simple
set "From the Vault refers to name which contains 'From the Vault: Lore'; expansion type refers to type
493
card_games
[ "sets" ]
For the set "Commander 2014 Oversized" , give its parent code.
SELECT parentCode FROM sets WHERE name = 'Commander 2014 Oversized'
simple
the set "Commander 2014 Oversized" refers to name = 'Commander 2014 Oversized';
494
card_games
[ "cards", "rulings" ]
For all cards illustrated by Jim Pavelec. and describe the text of the ruling of these cards. Do these cards have missing or degraded properties and values.
SELECT T2.text , CASE WHEN T1.hasContentWarning = 1 THEN 'YES' ELSE 'NO' END FROM cards AS T1 INNER JOIN rulings AS T2 ON T2.uuid = T1.uuid WHERE T1.artist = 'Jim Pavelec'
challenging
all cards illustrated by Jim Pavelec refers to artist = 'Jim Pavelec'; the text of the ruling refers to text; cards have missing or degraded properties and values if hasContentWarning = 1 else it doesn't have;
495
card_games
[ "cards", "sets" ]
What was the release date for the set which card "Evacuation" in it?
SELECT T2.releaseDate FROM cards AS T1 INNER JOIN sets AS T2 ON T2.code = T1.setCode WHERE T1.name = 'Evacuation'
simple
"Evacuation" refers to name = 'Evacuation'; release date refers to releaseDate
496
card_games
[ "sets", "set_translations" ]
What is the number of cards are there in the set of "Rinascita di Alara"?
SELECT T1.baseSetSize FROM sets AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.code WHERE T2.translation = 'Rinascita di Alara'
simple
number of cards refers to baseSetSize; set of "Rinascita di Alara" refers to translation = 'Rinascita di Alara'
497
card_games
[ "sets", "set_translations" ]
List the expansion type of the set "Huitième édition".
SELECT type FROM sets WHERE code IN ( SELECT setCode FROM set_translations WHERE translation = 'Huitième édition' )
simple
the set "Huitième édition" refers to translation = 'Huitième édition'; expansion type refers to type
498
card_games
[ "cards", "set_translations" ]
What's the French name of the set of cards with "Tendo Ice Bridge" is in?
SELECT T2.translation FROM cards AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.setCode WHERE T1.name = 'Tendo Ice Bridge' AND T2.language = 'French' AND T2.translation IS NOT NULL
moderate
French refers to language = 'French'; "Tendo Ice Bridge" is a translated name of a card; translated name refers to translation
499
card_games
[ "sets", "set_translations" ]
How many translations of the name of the set "Salvat 2011"?
SELECT COUNT(DISTINCT T2.translation) FROM sets AS T1 INNER JOIN set_translations AS T2 ON T2.setCode = T1.code WHERE T1.name = 'Salvat 2011' AND T2.translation IS NOT NULL
moderate
translations of the name refers to translation; translation is not NULL; set "Salvat 2011" refers to name = 'Salvat 2011'