Chinastark/bird_dataset huggingface dataset:
Database: card_games
Question: What is the language of the card that has azorius watermark? List out the type of this card.
SQL: SELECT DISTINCT foreign_data.language, cards.type FROM cards INNER JOIN foreign_data ON foreign_data.uuid = cards.uuid WHERE cards.watermark = 'azorius'
Database: card_games
Note: designed by Aaron Miller refers to artist = 'Aaron Miller'; are icredibily powerful refers to cardkingdomfoilid is not null AND cardkingdomid is not null;
Question: Of all the cards that are designed by Aaron Miller, how many of them are incredibly powerful?
SQL: SELECT sum(CASE WHEN artist = 'Aaron Miller' AND cardkingdomfoilid IS NOT NULL AND cardkingdomid IS NOT NULL THEN 1 ELSE 0 END) FROM cards
Database: card_games
Note: available in paper refers to availability like '%paper%'; have a positive starting maximum hand size refers to hand = '3';
Question: How many cards available in paper have a positive starting maximum hand size?
SQL: SELECT sum(CASE WHEN availability = 'paper' AND hand = '3' THEN 1 ELSE 0 END) FROM cards
Database: card_games
Note: have a text box refers to istextless = 0;
Question: Please list the names of the cards that have a text box.
SQL: SELECT DISTINCT name FROM cards WHERE istextless = 0
Database: card_games
Note: card "Ancestor's Chosen" refers to name = 'Ancestor`s Chosen';
Question: What's the unconverted mana cost of the card "Ancestor's Chosen"?
SQL: SELECT DISTINCT manacost FROM cards WHERE name = 'Ancestor''s Chosen'
Database: card_games
Note: unknown power refers to power = '*' or power is null;
Question: Among the cards with a white border color, how many of them have unknown power?
SQL: SELECT sum(CASE WHEN power LIKE '%*%' OR power IS NULL THEN 1 ELSE 0 END) FROM cards WHERE bordercolor = 'white'
Database: card_games
Note: are a promotional painting refers to ispromo = 1; have multiple faces on the same card refers to side is not Null;
Question: Which of the cards that are a promotional painting have multiple faces on the same card? Please list their names.
SQL: SELECT DISTINCT name FROM cards WHERE ispromo = 1 AND side IS NOT NULL
Database: card_games
Note: card "Molimo, Maro-Sorcerer" refers to name = 'Molimo, Maro-Sorcerer'; list of all types refers to subtypes,supertypes;
Question: What's the list of all types for the card "Molimo, Maro-Sorcerer"?
SQL: SELECT DISTINCT subtypes, supertypes FROM cards WHERE name = 'Molimo, Maro-Sorcerer'
Database: card_games
Note: promotional type of "bundle" refers to promotypes = 'bundle'; websites refers to purchaseurls;
Question: Please list the websites where I can purchase the cards that have the promotional type of "bundle".
SQL: SELECT DISTINCT purchaseurls FROM cards WHERE promotypes = 'bundle'
Database: card_games
Note: available in both "arena" and "mtgo" refers to availability like '%arena,mtgo%';
Question: How many artists have designed a card with a black border color and is available in both "arena" and "mtgo" printing type?
SQL: SELECT count(CASE WHEN availability LIKE '%arena,mtgo%' AND bordercolor = 'black' THEN 1 ELSE NULL END) FROM cards
Database: card_games
Note: "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;
Question: Which card costs more converted mana, "Serra Angel" or "Shrine Keeper"?
SQL: SELECT name FROM cards WHERE name IN ('Serra Angel', 'Shrine Keeper') ORDER BY convertedmanacost DESC LIMIT 1
Database: card_games
Note: promotional name is "Battra, Dark Destroyer" refers to flavorname = 'Battra, Dark Destroyer';
Question: Which artist designed the card whose promotional name is "Battra, Dark Destroyer"?
SQL: SELECT artist FROM cards WHERE flavorname = 'Battra, Dark Destroyer'
Database: card_games
Note: name of cards refers to name; 2003 card frame style refers to frameversion = '2003';
Question: Please list the names of the top 3 cards with the highest converted mana cost and have a 2003 card frame style.
SQL: SELECT name FROM cards WHERE frameversion = 2003 ORDER BY convertedmanacost DESC LIMIT 3
Database: card_games
Note: Italian is a language which refers to language = 'Italian'; with "Ancestor's Chosen" in the card set refers to name = 'Ancestor''s Chosen';
Question: What's the Italian name of the set of cards with "Ancestor's Chosen" is in?
SQL: SELECT TRANSLATION FROM set_translations WHERE setcode IN ( SELECT setcode FROM cards WHERE name = 'Ancestor''s Chosen' ) AND LANGUAGE = 'Italian'
Database: card_games
Note: set of cards with "Angel of Mercy" in it refers to name = 'Angel of Mercy';
Question: How many translations are there for the set of cards with "Angel of Mercy" in it?
SQL: SELECT count(DISTINCT TRANSLATION) FROM set_translations WHERE setcode IN ( SELECT setcode FROM cards WHERE name = 'Angel of Mercy' ) AND TRANSLATION IS NOT NULL
Database: card_games
Note: card set "Hauptset Zehnte Edition" refers to translation = 'Hauptset Zehnte Edition';
Question: Please list the names of the cards in the set "Hauptset Zehnte Edition".
SQL: SELECT DISTINCT cards.name FROM cards INNER JOIN set_translations ON set_translations.setcode = cards.setcode WHERE set_translations.translation = 'Hauptset Zehnte Edition'
Database: card_games
Note: set of cards with "Ancestor''s Chosen" in it refers to name = 'Ancestor''s Chosen'; Korean version refers to language = 'Korean';
Question: For the set of cards with "Ancestor's Chosen" in it, is there a Korean version of it?
SQL: SELECT iif(sum(CASE WHEN set_translations.language = 'Korean' AND set_translations.translation IS NOT NULL THEN 1 ELSE 0 END) > 0, 'YES', 'NO') FROM cards INNER JOIN set_translations ON set_translations.setcode = cards.setcode WHERE cards.name = 'Ancestor''s Chosen'
Database: card_games
Note: card set "Hauptset Zehnte Edition" refers to translation = 'Hauptset Zehnte Edition'; designed by Adam refers to artist = 'Adam Rex';
Question: Among the cards in the set "Hauptset Zehnte Edition", how many of them are designed by Adam Rex?
SQL: SELECT count(cards.id) FROM cards INNER JOIN set_translations ON set_translations.setcode = cards.setcode WHERE set_translations.translation = 'Hauptset Zehnte Edition' AND cards.artist = 'Adam Rex'
Database: card_games
Note: "Hauptset Zehnte Edition" refers to translation = 'Hauptset Zehnte Edition'; number of cards refers to basesetsize;
Question: How many cards are there in the base set of "Hauptset Zehnte Edition"?
SQL: SELECT SETS.basesetsize FROM SETS INNER JOIN set_translations ON set_translations.setcode = SETS.code WHERE set_translations.translation = 'Hauptset Zehnte Edition'
Database: card_games
Note: Eighth Edition is the name of card set which refers to name = 'Eighth Edition'; Simplified Chinese refers to language = 'Chinese Simplified'; translation of the name refers to translation;
Question: What is the Simplified Chinese translation of the name of the set "Eighth Edition"?
SQL: SELECT set_translations.translation FROM SETS INNER JOIN set_translations ON set_translations.setcode = SETS.code WHERE SETS.name = 'Eighth Edition' AND set_translations.language = 'Chinese Simplified'
Database: card_games
Note: 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;
Question: Did the set of cards with "Angel of Mercy" appear on Magic: The Gathering Online?
SQL: SELECT iif(SETS.mtgocode IS NOT NULL, 'YES', 'NO') FROM cards INNER JOIN SETS ON SETS.code = cards.setcode WHERE cards.name = 'Angel of Mercy'
Database: card_games
Note: card set "Ancestor's Chosen" refers to name = 'Ancestor''s Chosen'; when released refers to releasedate;
Question: When was the set of cards with "Ancestor's Chosen" released?
SQL: SELECT DISTINCT SETS.releasedate FROM cards INNER JOIN SETS ON SETS.code = cards.setcode WHERE cards.name = 'Ancestor''s Chosen'
Database: card_games
Note: card set "Hauptset Zehnte Edition" refers to translation = ' Hauptset Zehnte Edition'; expansion type refers to type;
Question: What is the expansion type of the set "Hauptset Zehnte Edition"?
SQL: SELECT SETS.type FROM SETS INNER JOIN set_translations ON set_translations.setcode = SETS.code WHERE set_translations.translation = 'Hauptset Zehnte Edition'
Database: card_games
Note: sets in the block "Ice Age" refers to block = 'Ice Age'; Italian translation refers to language = 'Italian' and translation is not null;
Question: Among the sets in the block "Ice Age", how many of them have an Italian translation?
SQL: SELECT count(DISTINCT SETS.id) FROM SETS INNER JOIN set_translations ON set_translations.setcode = SETS.code WHERE SETS.block = 'Ice Age' AND set_translations.language = 'Italian' AND set_translations.translation IS NOT NULL
Database: card_games
Note: card set Adarkar Valkyrie refers to name = 'Adarkar Valkyrie'; isforeignonly = 1 means only available outside the United States;
Question: Is the set of cards with Adarkar Valkyrie only available outside the United States?
SQL: SELECT iif(isforeignonly = 1, 'YES', 'NO') FROM cards INNER JOIN SETS ON SETS.code = cards.setcode WHERE cards.name = 'Adarkar Valkyrie'
Database: card_games
Note: Italian translation refers to language = 'Italian'; have a translation means translation is not null; base set number of under 100 refers to basesetsize < 10;
Question: Among the sets of cards that have an Italian translation, how many of them have a base set number of under 100?
SQL: SELECT count(SETS.id) FROM SETS INNER JOIN set_translations ON set_translations.setcode = SETS.code WHERE set_translations.translation IS NOT NULL AND SETS.basesetsize < 100 AND set_translations.language = 'Italian'
Database: card_games
Note: card set Coldsnap refers to name = 'Coldsnap'; black border color refers to bordercolor = 'black';
Question: How many cards in the set Coldsnap have a black border color?
SQL: SELECT sum(CASE WHEN cards.bordercolor = 'black' THEN 1 ELSE 0 END) FROM cards INNER JOIN SETS ON SETS.code = cards.setcode WHERE SETS.name = 'Coldsnap'
Database: card_games
Note: card set Coldsnap refers to name = 'Coldsnap';
Question: Please list the name of the cards in the set Coldsnap with the highest converted mana cost.
SQL: SELECT cards.name FROM cards INNER JOIN SETS ON SETS.code = cards.setcode WHERE SETS.name = 'Coldsnap' ORDER BY cards.convertedmanacost DESC LIMIT 1
Database: card_games
Note: 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');
Question: Which of these artists have designed a card in the set Coldsnap, Jeremy Jarvis, Aaron Miller or Chippy?
SQL: SELECT cards.artist FROM cards INNER JOIN SETS ON SETS.code = cards.setcode WHERE (SETS.name = 'Coldsnap' AND cards.artist = 'Chippy') OR (SETS.name = 'Coldsnap' AND cards.artist = 'Aaron Miller') OR (SETS.name = 'Coldsnap' AND cards.artist = 'Jeremy Jarvis') GROUP BY cards.artist
Database: card_games
Note: card set Coldsnap refers to name = 'Coldsnap'; card number 4 refers to number = 4;
Question: What is card number 4 in the set Coldsnap?
SQL: SELECT cards.name FROM cards INNER JOIN SETS ON SETS.code = cards.setcode WHERE SETS.name = 'Coldsnap' AND cards.number = 4
Database: card_games
Note: 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;
Question: Among the cards with converted mana cost higher than 5 in the set Coldsnap, how many of them have unknown power?
SQL: SELECT sum(CASE WHEN cards.power LIKE '*' OR cards.power IS NULL THEN 1 ELSE 0 END) FROM cards INNER JOIN SETS ON SETS.code = cards.setcode WHERE SETS.name = 'Coldsnap' AND cards.convertedmanacost > 5
Database: card_games
Note: Italian refers to language = 'Italian'; flavor text refers to flavortext; "Ancestor''s Chosen" refers to name = 'Ancestor''s Chosen';
Question: What is the Italian flavor text of the card "Ancestor's Chosen"?
SQL: SELECT foreign_data.flavortext FROM cards INNER JOIN foreign_data ON foreign_data.uuid = cards.uuid WHERE cards.name = 'Ancestor''s Chosen' AND foreign_data.language = 'Italian'
Database: card_games
Note: "Ancestor''s Chosen" refers to name = 'Ancestor''s Chosen'; has a flavor text refers to flavortext is not null;
Question: Please list all the foreign languages in which the card "Ancestor's Chosen" has a flavor text.
SQL: SELECT foreign_data.language FROM cards INNER JOIN foreign_data ON foreign_data.uuid = cards.uuid WHERE cards.name = 'Ancestor''s Chosen' AND foreign_data.flavortext IS NOT NULL
Database: card_games
Note: German refers to language = 'German'; "Ancestor's Chosen" refers to name = 'Ancestor''s Chosen';
Question: What's the German type of the card "Ancestor's Chosen"?
SQL: SELECT DISTINCT cards.type FROM cards INNER JOIN foreign_data ON foreign_data.uuid = cards.uuid WHERE cards.name = 'Ancestor''s Chosen' AND foreign_data.language = 'German'
Database: card_games
Note: card set Coldsnap refers to name = 'Coldsnap'; Italian refers to language = 'Italian';
Question: Please list the Italian text ruling of all the cards in the set Coldsnap.
SQL: SELECT DISTINCT foreign_data.text FROM foreign_data INNER JOIN cards ON cards.uuid = foreign_data.uuid INNER JOIN SETS ON SETS.code = cards.setcode WHERE SETS.name = 'Coldsnap' AND foreign_data.language = 'Italian'
Database: card_games
Note: card set Coldsnap refers to name = 'Coldsnap'; Italian refers to language = 'Italian'; highest converted mana cost refers to MAX(convertedmanacost);
Question: Please list the Italian names of the cards in the set Coldsnap with the highest converted mana cost.
SQL: SELECT cards.name FROM foreign_data INNER JOIN cards ON cards.uuid = foreign_data.uuid INNER JOIN SETS ON SETS.code = cards.setcode WHERE SETS.name = 'Coldsnap' AND foreign_data.language = 'Italian' ORDER BY cards.convertedmanacost DESC
Database: card_games
Note: Reminisce refers to name = 'Reminisce'; when created is the date;
Question: When was the ruling for the card 'Reminisce' created?
SQL: SELECT rulings.date FROM cards INNER JOIN rulings ON rulings.uuid = cards.uuid WHERE cards.name = 'Reminisce'
Database: card_games
Note: converted mana cost of 7 refers to convertedmanacost = 7; card set Coldsnap refers to name = 'Coldsnap'; percentage = DIVidE(SUM(convertedmanacost = 7), SUM(convertedmanacost))*100;
Question: What is the percentage of the cards with a converted mana cost of 7 in the set Coldsnap?
SQL: SELECT cast(sum(CASE WHEN cards.convertedmanacost = 7 THEN 1 ELSE 0 END) AS REAL) * 100 / count(cards.id) FROM cards INNER JOIN SETS ON SETS.code = cards.setcode WHERE SETS.name = 'Coldsnap'
Database: card_games
Note: card set Coldsnap refers to name = 'Coldsnap'; foil is incredibly powerful refers to cardkingdomfoilid is not null AND cardkingdomid is not null; the percentage of incredibly powerful cards in the set refers to DIVidE(SUM(incredibly powerful), SUM(name = 'Coldsnap'))*100;
Question: What is the percentage of incredibly powerful cards in the set Coldsnap?
SQL: SELECT cast(sum(CASE WHEN cards.cardkingdomfoilid IS NOT NULL AND cards.cardkingdomid IS NOT NULL THEN 1 ELSE 0 END) AS REAL) * 100 / count(cards.id) FROM cards INNER JOIN SETS ON SETS.code = cards.setcode WHERE SETS.name = 'Coldsnap'
Database: card_games
Note: released on 2017/7/14 refers to releasedate = '2017-07-14';
Question: What's the code for the set which was released on 2017/7/14?
SQL: SELECT code FROM SETS WHERE releasedate = '2017-07-14' GROUP BY releasedate, code
Database: card_games
Note: keyrune code refers to keyrunecode;
Question: List the keyrune code for the set whose code is 'PKHC'.
SQL: SELECT keyrunecode FROM SETS WHERE code = 'PKHC'
Database: card_games
Note: magic card market id refers to mcmid;
Question: For the set which had 'SS2' as the code, what is its magic card market id?
SQL: SELECT mcmid FROM SETS WHERE code = 'SS2'
Database: card_games
Note: magic card market name refers to mcmname;
Question: What's the magic card market name for the set which was released on 2017/6/9?
SQL: SELECT mcmname FROM SETS WHERE releasedate = '2017-06-09'
Database: card_games
Note: set "From the Vault refers to name which contains 'From the Vault: Lore'; expansion type refers to type;
Question: For the set "From the Vault: Lore", what is its expansion type?
SQL: SELECT TYPE FROM SETS WHERE name LIKE '%FROM the Vault: Lore%'
Database: card_games
Note: the set "Commander 2014 Oversized" refers to name = 'Commander 2014 Oversized';
Question: For the set "Commander 2014 Oversized" , give its parent code.
SQL: SELECT parentcode FROM SETS WHERE name = 'Commander 2014 Oversized'
Database: card_games
Note: 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;
Question: 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.
SQL: SELECT rulings.text , CASE WHEN cards.hascontentwarning = 1 THEN 'YES' ELSE 'NO' END FROM cards INNER JOIN rulings ON rulings.uuid = cards.uuid WHERE cards.artist = 'Jim Pavelec'
Database: card_games
Note: "Evacuation" refers to name = 'Evacuation'; release date refers to releasedate;
Question: What was the release date for the set which card "Evacuation" in it?
SQL: SELECT SETS.releasedate FROM cards INNER JOIN SETS ON SETS.code = cards.setcode WHERE cards.name = 'Evacuation'
Database: card_games
Note: number of cards refers to basesetsize; set of "Rinascita di Alara" refers to translation = 'Rinascita di Alara';
Question: What is the number of cards are there in the set of "Rinascita di Alara"?
SQL: SELECT SETS.basesetsize FROM SETS INNER JOIN set_translations ON set_translations.setcode = SETS.code WHERE set_translations.translation = 'Rinascita di Alara'
Database: card_games
Note: the set "Huitième édition" refers to translation = 'Huitième édition'; expansion type refers to type;
Question: List the expansion type of the set "Huitième édition".
SQL: SELECT TYPE FROM SETS WHERE code IN ( SELECT setcode FROM set_translations WHERE TRANSLATION = 'Huitième édition' )
Database: card_games
Note: French refers to language = 'French'; "Tendo Ice Bridge" is a translated name of a card; translated name refers to translation;
Question: What's the French name of the set of cards with "Tendo Ice Bridge" is in?
SQL: SELECT set_translations.translation FROM cards INNER JOIN set_translations ON set_translations.setcode = cards.setcode WHERE cards.name = 'Tendo Ice Bridge' AND set_translations.language = 'French' AND set_translations.translation IS NOT NULL
Database: card_games
Note: translations of the name refers to translation; translation is not NULL; set "Salvat 2011" refers to name = 'Tenth Edition';
Question: How many translations of the name of the set "Tenth Edition"?
SQL: SELECT count(DISTINCT set_translations.translation) FROM SETS INNER JOIN set_translations ON set_translations.setcode = SETS.code WHERE SETS.name = 'Tenth Edition' AND set_translations.translation IS NOT NULL
Database: card_games
Note: Japanese name refers to language = 'Japanese'; card "Fellwar Stone" refers to name = 'Fellwar Stone';
Question: Tell the Japanese name of the set which card "Fellwar Stone" is in it.
SQL: SELECT set_translations.translation FROM cards INNER JOIN set_translations ON set_translations.setcode = cards.setcode WHERE cards.name = 'Fellwar Stone' AND set_translations.language = 'Japanese' AND set_translations.translation IS NOT NULL
Database: card_games
Note: set 'Journey into Nyx Hero's Path' refers to name = 'Journey into Nyx Hero''s Path';
Question: Which card name in the set 'Journey into Nyx Hero's Path' has the highest converted mana cost.
SQL: SELECT cards.name FROM cards INNER JOIN SETS ON SETS.code = cards.setcode WHERE SETS.name = 'Journey into Nyx Hero''s Path' ORDER BY cards.convertedmanacost DESC LIMIT 1
Database: card_games
Note: release date is the date of card set being released; set "Ola de frío" refers to translation = 'Ola de frío';
Question: What is the release date for the set "Ola de frío"?
SQL: SELECT SETS.releasedate FROM SETS INNER JOIN set_translations ON set_translations.setcode = SETS.code WHERE set_translations.translation = 'Ola de frío'
Database: card_games
Note: expansion type refers to type; card "Samite Pilgrim" refers to name = 'Samite Pilgrim';
Question: What was the expansion type for the set which card "Samite Pilgrim" in it?
SQL: SELECT TYPE FROM SETS WHERE code IN ( SELECT setcode FROM cards WHERE name = 'Samite Pilgrim' )
Database: card_games
Note: the set 'World Championship Decks 2004' refers to name = 'World Championship Decks 2004';
Question: How many cards are there in the set 'World Championship Decks 2004' with the converted mana cost as '3'.
SQL: SELECT count(id) FROM cards WHERE setcode IN ( SELECT code FROM SETS WHERE name = 'World Championship Decks 2004' ) AND convertedmanacost = 3
Database: card_games
Note: Simplified Chinese translation refers to language = 'Chinese Simplified'; name of the set "Mirrodin" refers to name = 'Mirrodin';
Question: Show the Simplified Chinese translation of the name of the set "Mirrodin"?
SQL: SELECT TRANSLATION FROM set_translations WHERE setcode IN ( SELECT code FROM SETS WHERE name = 'Mirrodin' ) AND LANGUAGE = 'Chinese Simplified'
Database: card_games
Note: Japanese translation refers to language = 'Japanese'; in non-foil refers to isnonfoilonly = 1; percentage of Japanese non foil in Japanese cards refers to DIVidE(SUM(isnonfoilonly = 1), SUM(language = 'Japanese'))*100;
Question: For all the set of cards that has Japanese translation, what is the percentage of them are only available in non-foil?
SQL: SELECT cast(sum(CASE WHEN isnonfoilonly = 1 THEN 1 ELSE 0 END) AS REAL) * 100 / count(id) FROM SETS WHERE code IN ( SELECT setcode FROM set_translations WHERE LANGUAGE = 'Japanese' )
Database: card_games
Note: Brazil Portuguese translation refers to language = 'Portuguese (Brazil)'; only available online refers to isonlineonly = 1; percentage of online only Brazil Portuguese in all Brazil Portuguese cards refers to DIVidE(SUM(isonlineonly = 1), SUM(language = 'Portuguese (Brazil)))*100;
Question: For all the set of cards that has Brazil Portuguese translation, what is the percentage of them are only available online?
SQL: SELECT cast(sum(CASE WHEN isonlineonly = 1 THEN 1 ELSE 0 END) AS REAL) * 100 / count(id) FROM SETS WHERE code IN ( SELECT setcode FROM set_translations WHERE LANGUAGE = 'Portuguese (Brazil)' )
Database: card_games
Note: created by Aleksi Briclot refers to artist = 'Aleksi Briclot'; doesn't have a text box refers to istextless = 1; available printing types refers to availability;
Question: What are the available printing types of the cards that doesn't have a text box created by Aleksi Briclot?
SQL: SELECT DISTINCT availability FROM cards WHERE artist = 'Aleksi Briclot' AND istextless = 1
Database: card_games
Note: the highest number of cards refers to MAX(basesetsize); unique id refers to id;
Question: What is the unique id of the set that has the highest number of cards?
SQL: SELECT id FROM SETS ORDER BY basesetsize DESC LIMIT 1
Database: card_games
Note: doesn't have multiple faces refers to side IS NULL; illustrator refers to artist;
Question: Among the cards that doesn't have multiple faces on the same card, who is the illustrator of the card art that has the highest cost of converted mana?
SQL: SELECT artist FROM cards WHERE side IS NULL ORDER BY convertedmanacost DESC LIMIT 1
Database: card_games
Note: when both cardkingdomfoilid and cardkingdomid are not null, this foil is incredibly powerful; most common visual frame effects refers to MAX(frameeffects);
Question: What is the most common visual frame effects among the incredibly powerful foils?
SQL: SELECT frameeffects FROM cards WHERE cardkingdomfoilid IS NOT NULL AND cardkingdomid IS NOT NULL GROUP BY frameeffects ORDER BY count(frameeffects) DESC LIMIT 1