Chinastark/bird_dataset huggingface dataset:
Database: video_games
Question: Calculate the total sales made by the games released in 2000.
Evidence: total sales = SUM(num_sales); released in 2000 refers to release_year = 2000;
SQL: SELECT SUM(T1.num_sales) FROM region_sales AS T1 INNER JOIN game_platform AS T2 ON T1.game_platform_id = T2.id WHERE T2.release_year = 2000
Database: video_games
Question: Calculate the difference in sales between the games released in 1990 and 2000.
Evidence: difference = SUBTRACT(SUM(num_sales WHERE release_year = 2000), SUM(num_sales WHERE release_year = 1990));
SQL: SELECT SUM(CASE WHEN T2.release_year = 2000 THEN T1.num_sales ELSE 0 END) - SUM(CASE WHEN T2.release_year = 1990 THEN T1.num_sales ELSE 0 END) FROM region_sales AS T1 INNER JOIN game_platform AS T2 ON T1.game_platform_id = T2.id
Database: video_games
Question: What are the platform IDs of records released in 2006?
Evidence: released in 1990 refers to release_year = 1990; 2000 refers to release_year = 2000;
SQL: SELECT DISTINCT T.platform_id FROM game_platform AS T WHERE T.release_year = 2006
Database: video_games
Question: Compute the average number of sales in region ID 3.
Evidence: average = AVG(MULTIPLY(num_sales, 100000));
SQL: SELECT AVG(T.num_sales * 100000) FROM region_sales AS T WHERE T.region_id = 3
Database: video_games
Question: In which year did the record ID 19 with game publisher ID 6657 released?
Evidence: which year refers to release_year; record ID 19 refers to game platform.id; id = 19
SQL: SELECT T.release_year FROM game_platform AS T WHERE T.game_publisher_id = 6657 AND T.id = 19
Database: video_games
Question: Calculate the total sales in all regions with game platform ID 66.
Evidence: total sales in all regions = MULTIPLY(SUM(num_sales), 100000);
SQL: SELECT SUM(T.num_sales) * 100000 FROM region_sales AS T WHERE T.game_platform_id = 66
Database: video_games
Question: Give the game name of the game ID 44.
SQL: SELECT T.game_name FROM game AS T WHERE T.id = 44
Database: video_games
Question: List the games available on Wii.
Evidence: games available refers to game_name; Wii refers to platform_name = 'Wii';
SQL: SELECT T4.game_name FROM platform AS T1 INNER JOIN game_platform AS T2 ON T1.id = T2.platform_id INNER JOIN game_publisher AS T3 ON T2.game_publisher_id = T3.id INNER JOIN game AS T4 ON T3.game_id = T4.id WHERE T1.platform_name = 'Wii'
Database: video_games
Question: Provide the name of games released in 2015.
Evidence: names of games refers to game_name; released in 2015 refers to release_year = 2015;
SQL: SELECT T3.game_name FROM game_platform AS T1 INNER JOIN game_publisher AS T2 ON T1.game_publisher_id = T2.id INNER JOIN game AS T3 ON T2.game_id = T3.id WHERE T1.release_year = 2015
Database: video_games
Question: What is the total number of adventure games released in 2005?
Evidence: adventure games refers to game_name WHERE genre_name = 'Adventure'; released in 2005 refers to release_year = 2005;
SQL: SELECT COUNT(DISTINCT T3.id) FROM game_platform AS T1 INNER JOIN game_publisher AS T2 ON T1.game_publisher_id = T2.id INNER JOIN game AS T3 ON T2.game_id = T3.id INNER JOIN genre AS T4 ON T3.genre_id = T4.id WHERE T4.genre_name = 'Adventure' AND T1.release_year = 2005
Database: video_games
Question: What is the name of the company that produced the game titled Adventure Time: Explore the Dungeon Because I Don't Know!?
Evidence: name of the company that produced the game refers to publisher_name; Adventure Time: Explore the Dungeon Because I Don't Know! Refers to game_name = 'Adventure Time: Explore the Dungeon Because I Don''t Know!';
SQL: SELECT T3.publisher_name FROM game AS T1 INNER JOIN game_publisher AS T2 ON T1.id = T2.game_id INNER JOIN publisher AS T3 ON T2.publisher_id = T3.id WHERE T1.game_name = 'Adventure Time: Explore the Dungeon Because I Don''t Know!'
Database: video_games
Question: List down the game platform ID and region name where the games achieved 20000 sales and below.
Evidence: 20000 sales and below refers to num_sales < 0.2;
SQL: SELECT T2.game_platform_id, T1.region_name FROM region AS T1 INNER JOIN region_sales AS T2 ON T1.id = T2.region_id WHERE T2.num_sales * 100000 <= 20000
Database: video_games
Question: Provide the name of game produced by 505 Games in 2006.
Evidence: name of game refers to game_name; 505 Games refers to publisher_name = '505 Games'; in 2006 refers to release_year = 2006;
SQL: SELECT T3.game_name FROM game_platform AS T1 INNER JOIN game_publisher AS T2 ON T1.game_publisher_id = T2.id INNER JOIN game AS T3 ON T2.game_id = T3.id INNER JOIN publisher AS T4 ON T2.publisher_id = T4.id WHERE T4.publisher_name = '505 Games' AND T1.release_year = 2006
Database: video_games
Question: What is the genre of the game ID 119?
Evidence: genre of the game refers to genre_name; game ID 119 refers to game.id = 119;
SQL: SELECT T2.genre_name FROM game AS T1 INNER JOIN genre AS T2 ON T1.genre_id = T2.id WHERE T1.id = 119
Database: video_games
Question: List the game IDs of the games produced by Abylight.
Evidence: Abylight refers to publisher_name = 'Abylight';
SQL: SELECT T1.game_id FROM game_publisher AS T1 INNER JOIN publisher AS T2 ON T1.publisher_id = T2.id WHERE T2.publisher_name = 'Abylight'
Database: video_games
Question: In which region where a game had the lowest number of sales?
Evidence: which region refers to region_name; lowest number of sales refers to MIN(num_sales);
SQL: SELECT DISTINCT T1.region_name FROM region AS T1 INNER JOIN region_sales AS T2 ON T1.id = T2.region_id ORDER BY T2.num_sales LIMIT 1
Database: video_games
Question: List down the name of strategy games.
Evidence: strategy games refers to game_name WHERE genre_name = 'Strategy';
SQL: SELECT T1.game_name FROM game AS T1 INNER JOIN genre AS T2 ON T1.genre_id = T2.id WHERE T2.genre_name = 'Strategy'
Database: video_games
Question: In what platform does the game ID 178 available?
Evidence: platform refers to platform_name;
SQL: SELECT T3.platform_name FROM game_publisher AS T1 INNER JOIN game_platform AS T2 ON T1.id = T2.game_publisher_id INNER JOIN platform AS T3 ON T2.platform_id = T3.id WHERE T1.game_id = 178
Database: video_games
Question: Give the genre of the following game titled 'Airlock' , 'Airline Tycoon' , and 'Airblade', respectively.
Evidence: genre refers to genre_name; 'Airlock', 'Airline Tycoon' , and 'Airblade' refers to game_name IN ('Airlock', 'Airline Tycoon', 'Airblade');
SQL: SELECT T2.genre_name FROM game AS T1 INNER JOIN genre AS T2 ON T1.genre_id = T2.id WHERE T1.game_name IN ('Airlock', 'Airline Tycoon', 'Airblade')
Database: video_games
Question: Calculate the total number of sales in North America.
Evidence: total number of sales = MULTIPLY(SUM(num_sales), 100000); North America refers to region_name = 'North America';
SQL: SELECT SUM(T2.num_sales) * 100000 AS nums FROM region AS T1 INNER JOIN region_sales AS T2 ON T1.id = T2.region_id WHERE T1.region_name = 'North America'
Database: video_games
Question: List down at least five publishers of the games with number of sales less than 10000.
Evidence: publishers refers to publisher_name; number of sales less than 10000 refers to num_sales < 0.1;
SQL: SELECT T.publisher_name FROM ( SELECT DISTINCT T5.publisher_name FROM region AS T1 INNER JOIN region_sales AS T2 ON T1.id = T2.region_id INNER JOIN game_platform AS T3 ON T2.game_platform_id = T3.id INNER JOIN game_publisher AS T4 ON T3.game_publisher_id = T4.id INNER JOIN publisher AS T5 ON T4.publisher_id = T5.id WHERE T1.region_name = 'North America' AND T2.num_sales * 100000 < 10000 LIMIT 5 ) t
Database: video_games
Question: List the platform ID of the game titled Airborne Troops: Countdown to D-Day.
Evidence: Airborne Troops: Countdown to D-Day refers to game_name = 'Airborne Troops: Countdown to D-Day';
SQL: SELECT T1.platform_id FROM game_platform AS T1 INNER JOIN game_publisher AS T2 ON T1.game_publisher_id = T2.id INNER JOIN game AS T3 ON T2.game_id = T3.id WHERE T3.game_name = 'Airborne Troops: Countdown to D-Day'
Database: video_games
Question: How many games available on PSP were released in 2004?
Evidence: PSP refers to platform_name = 'PSP'; released in 2004 refers to release_year = 2004;
SQL: SELECT COUNT(T3.game_id) FROM platform AS T1 INNER JOIN game_platform AS T2 ON T1.id = T2.platform_id INNER JOIN game_publisher AS T3 ON T2.game_publisher_id = T3.id WHERE T1.platform_name = 'PSP' AND T2.release_year = 2004
Database: video_games
Question: What is the genre of the game titled '999: Nine Hours, Nine Persons, Nine Doors' ?
Evidence: genre of the game refers to genre_name; '999: Nine Hours, Nine Persons, Nine Doors' refers to game_name = '999: Nine Hours, Nine Persons, Nine Doors';
SQL: SELECT T2.genre_name FROM game AS T1 INNER JOIN genre AS T2 ON T1.genre_id = T2.id WHERE T1.game_name = '999: Nine Hours, Nine Persons, Nine Doors'
Database: video_games
Question: When was the game ID 156 released?
Evidence: when the game was released refers to release_year;
SQL: SELECT T1.release_year FROM game_platform AS T1 INNER JOIN game_publisher AS T2 ON T1.game_publisher_id = T2.id WHERE T2.game_id = 156
Database: video_games
Question: What is the diffrence between the number of games produced by Culture Brain that can be played on SNES and DS?
Evidence: difference = SUBTRACT(SUM(platform_name = 'SNES'), SUM(platform_name = 'DS')); SNES refers to platform_name = SNES ; DS refers to platform_name = 'DS' ;
SQL: SELECT COUNT(CASE WHEN T1.platform_name = 'SNES' THEN T3.game_id ELSE NULL END) - COUNT(CASE WHEN T1.platform_name = 'DS' THEN T3.game_id ELSE NULL END) FROM platform AS T1 INNER JOIN game_platform AS T2 ON T1.id = T2.platform_id INNER JOIN game_publisher AS T3 ON T2.game_publisher_id = T3.id INNER JOIN publisher AS T4 ON T3.publisher_id = T4.id WHERE T4.publisher_name = 'Culture Brain'
Database: video_games
Question: In games that can be played on Wii, what is the percentage of games released in 2007?
Evidence: Wii refers to platform_name = 'Wii'; percentage = MULTIPLY(DIVIDE(SUM(release_year = 2007), COUNT(release_year)), 100.0); released in 2007 refers to release_year = 2007;
SQL: SELECT CAST(COUNT(CASE WHEN T2.release_year = 2007 THEN T3.game_id ELSE NULL END) AS REAL) * 100 / COUNT(T3.game_id) FROM platform AS T1 INNER JOIN game_platform AS T2 ON T1.id = T2.platform_id INNER JOIN game_publisher AS T3 ON T2.game_publisher_id = T3.id WHERE T1.platform_name = 'Wii'
Database: video_games
Question: Among games sold in Europe, list the platform ID of games with sales lesser than 30% of the average number of sales.
Evidence: Europe refers to region_name = 'Europe'; sales lesser than 30% of the average number of sales refers to SUM(num_sales) < MULTIPLY(AVG(num_sales), 0.3);
SQL: SELECT DISTINCT T3.platform_id FROM region AS T1 INNER JOIN region_sales AS T2 ON T1.id = T2.region_id INNER JOIN game_platform AS T3 ON T2.game_platform_id = T3.id WHERE T1.region_name = 'Europe' AND T2.num_sales * 100 * 100000 < ( SELECT AVG(T2.num_sales * 100000) * 30 FROM region AS T1 INNER JOIN region_sales AS T2 ON T1.id = T2.region_id WHERE T1.region_name = 'Europe' )
Database: authors
Question: How many authors are affiliated with University of California Berkeley?
Evidence: affiliated refers to Affiliation; 'University of California Berkeley' is the Affiliation
SQL: SELECT COUNT(Id) FROM Author WHERE Affiliation = 'University of California Berkeley'
Database: authors
Question: What is the paper "Stitching videos streamed by mobile phones in real-time" about?
Evidence: "Stitching videos streamed by mobile phones in real-time" is the Title of paper; what the paper is about refers to Keywords
SQL: SELECT Keyword FROM Paper WHERE Title = 'Stitching videos streamed by mobile phones in real-time'
Database: authors
Question: Please list the titles of the papers published in the journal "Concepts in Magnetic Resonance Part A" in 2008.
Evidence: journal "Concepts in Magnetic Resonance Part A" refers to FullName = 'Concepts in Magnetic Resonance Part A'; in 2018 refers to Year = 2018
SQL: SELECT T2.Title FROM Journal AS T1 INNER JOIN Paper AS T2 ON T1.Id = T2.JournalId WHERE T1.FullName = 'Concepts in Magnetic Resonance Part A' AND T2.Year = 2008
Database: authors
Question: How many papers were published in the journal "Concepts in Magnetic Resonance Part A"?
Evidence: journal "Concepts in Magnetic Resonance Part A" refers to FullName = 'Concepts in Magnetic Resonance Part A'
SQL: SELECT COUNT(T2.Id) FROM Journal AS T1 INNER JOIN Paper AS T2 ON T1.Id = T2.JournalId WHERE T1.FullName = 'Concepts in Magnetic Resonance Part A'
Database: authors
Question: What is the url of the journal in which the paper "Area Effects in Cepaea" was published?
Evidence: url refers to HomePage; 'Area Effects in Cepaea' is the Title of paper
SQL: SELECT T1.HomePage FROM Journal AS T1 INNER JOIN Paper AS T2 ON T1.Id = T2.JournalId WHERE T2.Title = 'Area Effects in Cepaea'
Database: authors
Question: Among the papers published in the journal "Molecular Brain", how many of them were published in the year 2011?
Evidence: "Molecular Brain" is the FullName of journal
SQL: SELECT COUNT(T2.Id) FROM Journal AS T1 INNER JOIN Paper AS T2 ON T1.Id = T2.JournalId WHERE T2.Year = 2011 AND T1.FullName = 'Molecular Brain'
Database: authors
Question: How many papers were published in 2011 in the journal whose short name is "Mol Brain"?
Evidence: in 2011 refers to Year = 2011; 'Mol Brain' is the ShortName of journal
SQL: SELECT COUNT(T2.Id) FROM Journal AS T1 INNER JOIN Paper AS T2 ON T1.Id = T2.JournalId WHERE T2.Year = 2011 AND T1.ShortName = 'Mol Brain'
Database: authors
Question: How many authors does the paper "Equation Solving in Geometrical Theories" have?
Evidence: "Equation Solving in Geometrical Theories" is the title of paper
SQL: SELECT COUNT(T1.AuthorId) FROM PaperAuthor AS T1 INNER JOIN Paper AS T2 ON T1.PaperId = T2.Id WHERE T2.Title = 'Equation Solving in Geometrical Theories'
Database: authors
Question: Please list the names of the authors of the paper "Area Effects in Cepaea".
Evidence: "Area Effects in Cepaea" is the title of paper
SQL: SELECT T1.Name FROM PaperAuthor AS T1 INNER JOIN Paper AS T2 ON T1.PaperId = T2.Id WHERE T2.Title = 'Area Effects in Cepaea'
Database: authors
Question: Among the authors of the paper "Stitching videos streamed by mobile phones in real-time", how many of them are affiliated with Cairo Microsoft Innovation Lab?
Evidence: "FIBER: A Generalized Framework for Auto-tuning Software" is the Title of paper; affiliated refers to Affiliation;  University of Tokyo is the affiliation organization
SQL: SELECT COUNT(T1.AuthorId) FROM PaperAuthor AS T1 INNER JOIN Paper AS T2 ON T1.PaperId = T2.Id WHERE T1.Affiliation = 'University of Tokyo' AND T2.Title = 'FIBER: A Generalized Framework for Auto-tuning Software'
Database: authors
Question: Please list the titles of the paper whose authors include Klaus Zimmermann.
Evidence: "Klaus Zimmermann" is the name of author
SQL: SELECT T2.Title FROM PaperAuthor AS T1 INNER JOIN Paper AS T2 ON T1.PaperId = T2.Id WHERE T1.Name = 'Klaus Zimmermann'
Database: authors
Question: Which author of the paper "Incremental Extraction of Keyterms for Classifying Multilingual Documents in the Web" is affiliated with National Taiwan University Department of Computer Science and Information Engineering Taiwan?
Evidence: "Incremental Extraction of Keyterms for Classifying Multilingual Documents in the Web" is the title of paper; affiliated with refers to Affiliation; "National Taiwan University Department of Computer Science and Information Engineering Taiwan" is the Affiliation organization
SQL: SELECT T1.Name FROM PaperAuthor AS T1 INNER JOIN Paper AS T2 ON T1.PaperId = T2.Id WHERE T2.Title = 'Incremental Extraction of Keyterms for Classifying Multilingual Documents in the Web' AND T1.Affiliation = 'National Taiwan University Department of Computer Science and Information Engineering Taiwan'
Database: authors
Question: What is the title of the paper published in 1995 and whose author included Thomas Wiegand?
Evidence: published in 1995 refers to Year = 1995; 'Thomas Wiegand' is the name of author
SQL: SELECT T2.Title FROM PaperAuthor AS T1 INNER JOIN Paper AS T2 ON T1.PaperId = T2.Id WHERE T1.Name = 'Thomas Wiegand' AND T2.Year = 1995
Database: authors
Question: How many papers whose authors include Thomas Wiegand were published in 1995?
Evidence: published in 1995 refers to Year = 1995; 'Thomas Wiegand' is the name of author
SQL: SELECT COUNT(T2.Title) FROM PaperAuthor AS T1 INNER JOIN Paper AS T2 ON T1.PaperId = T2.Id WHERE T1.Name = 'Thomas Wiegand' AND T2.Year = 1995
Database: authors
Question: What is the average number of papers published in the journal "Molecular Brain" every year from 2008 to 2011?
Evidence: "Molecular Brain" is the FullName of journal; year from 2008 to 2011 refers to Year BETWEEN 2008 AND 2011; average = Divide (Count(Id),4)
SQL: SELECT CAST(COUNT(T2.Id) AS REAL) / COUNT(DISTINCT T2.Year) FROM Journal AS T1 INNER JOIN Paper AS T2 ON T1.Id = T2.JournalId WHERE T1.FullName = 'Molecular Brain' AND T2.Year BETWEEN 2008 AND 2011
Database: authors
Question: How many more papers in total were published in the journal "Cases Journal" than in the journal "Molecular Brain" in percentage?
Evidence: "Cases Journal" and "Molecular Brain" are FullName of journal; more paper in percentage = Subtract(Count(Id(FullName = 'Cases Journal')), Count(Id(FullName = 'Molecular Brain')))/ Count(Id(FullNmae = 'Molecular Brain')) * 100
SQL: SELECT SUM(CASE WHEN T1.FullName = 'Cases Journal' THEN 1 ELSE 0 END) - SUM(CASE WHEN T1.FullName = 'Molecular Brain' THEN 1 ELSE 0 END) AS DIFF FROM Journal AS T1 INNER JOIN Paper AS T2 ON T1.Id = T2.JournalId
Database: authors
Question: How many journals have a word "computing" in its full name?
Evidence: word computing refers to FullName LIKE '%computing%'
SQL: SELECT COUNT(Id) FROM Journal WHERE FullName LIKE '%computing%'
Database: authors
Question: Enumerate the paper and author ID of authors with affiliation with Cairo Microsoft Innovation Lab.
Evidence: "Cairo Microsoft Innovation Lab" is the Affiliation organization
SQL: SELECT PaperId, AuthorId FROM PaperAuthor WHERE Affiliation LIKE 'Cairo Microsoft Innovation Lab%'
Database: authors
Question: What is the short name and full name of conference uses the homepage "http://www.informatik.uni-trier.de/~ley/db/conf/ices/index.html"?
SQL: SELECT ShortName, FullName FROM Conference WHERE HomePage = 'http://www.informatik.uni-trier.de/~ley/db/conf/ices/index.html'
Database: authors
Question: List down the author ID of authors with a name of "Peter".
Evidence: "Peter" is the name of author
SQL: SELECT AuthorId FROM PaperAuthor WHERE Name = 'Peter'
Database: authors
Question: List the title of papers with a conference ID from 160 to 170, include their conference short name.
Evidence: conference ID from 160 to 170 refers to ConferenceId BETWEEN 160 AND 170
SQL: SELECT DISTINCT T1.Title, T2.ShortName FROM Paper AS T1 INNER JOIN Conference AS T2 ON T1.ConferenceId = T2.Id WHERE T1.ConferenceId BETWEEN 160 AND 170
Database: authors
Question: What is the title and journal homepage of the latest published paper?
Evidence: latest published paper refers to Max(Year)
SQL: SELECT T1.Title, T2.HomePage FROM Paper AS T1 INNER JOIN Journal AS T2 ON T1.JournalId = T2.Id ORDER BY T1.Year DESC LIMIT 1
Database: authors
Question: In year 1999, list the titles and conference's short name of paper authored by someone named "Philip".
Evidence: in year 1999 refers to Year = 1999;  someone named "Philip" refers to Name LIKE 'Philip%'
SQL: SELECT T1.Title, T3.ShortName FROM Paper AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.PaperId INNER JOIN Conference AS T3 ON T1.ConferenceId = T3.Id WHERE T1.Year = 1999 AND T2.Name LIKE 'Philip%'
Database: authors
Question: What is the total number and conference's homepage of papers held in a conference with an ID of 187 during 1990 to 2000?
Evidence: Id of 187 refers to ConferenceId = 187; during 1990 to 2000 refers to Year BETWEEN 1990 and 2000; total number of conference refers to Count(ConferenceId = 187)
SQL: SELECT COUNT(T2.ConferenceId), T1.HomePage FROM Conference AS T1 INNER JOIN Paper AS T2 ON T1.Id = T2.ConferenceId WHERE T2.Year BETWEEN 1990 AND 2000 AND T2.ConferenceId = 187
Database: authors
Question: What is the title of the paper published in 2003 by an author with affiliation with Department of Network Science, Graduate School of Information Systems, The University of Electro-Communications?
Evidence: published in 2003 refers to Year = 2003; 'Department of Network Science, Graduate School of Information Systems, The University of Electro-Communications' is the Affiliation organization
SQL: SELECT DISTINCT T2.Title FROM PaperAuthor AS T1 INNER JOIN Paper AS T2 ON T1.PaperId = T2.Id WHERE T1.Affiliation = 'Department of Network Science, Graduate School of Information Systems, The University of Electro-Communications' AND T2.Year = 2003
Database: authors
Question: List the authors and journal short name of the papers with "chemiluminescence" in its title and has a journal ID from 245 to 250.
Evidence: with "chemiluminescence" in its title refers to Title LIKE 'chemiluminescence%'; journal ID from 245 to 250 refers to JournalId BETWEEN 245 AND 250
SQL: SELECT T2.Name, T3.ShortName FROM Paper AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.PaperId INNER JOIN Journal AS T3 ON T1.JournalId = T3.Id WHERE T1.JournalId BETWEEN 245 AND 250 AND T1.Title LIKE '%chemiluminescence%'
Database: authors
Question: Among the papers with conference ID of 0, list down the authors of papers with a journal ID less than 100.
Evidence: Conference ID of 0 refers to ConferenceId = 0; journal ID of less than 100 refers to JournalId < 100
SQL: SELECT DISTINCT T2.Name FROM Paper AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.PaperId WHERE T1.ConferenceId = 0 AND T1.JournalId < 100
Database: authors
Question: What is the title and author ID of paper with conference ID less than 100 in year 2006?
Evidence: conference ID less than 100 refers to ConferenceId < 100; in year 2006 refers to Year = 2006
SQL: SELECT DISTINCT T1.Title, T2.AuthorId FROM Paper AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.PaperId WHERE T1.Year = 2006 AND T1.ConferenceId < 100
Database: authors
Question: What are the paper IDs of papers presented in conferences has a homepage starts with "http://www.informatik.uni-trier.de/~ley/db/conf/"?
Evidence: homepage starts with "http://www.informatik.uni-trier.de/~ley/db/conf/" refers to HomePage LIKE 'http://www.informatik.uni-trier.de/~ley/db/conf/%'
SQL: SELECT T1.Id FROM Paper AS T1 INNER JOIN Conference AS T2 ON T1.ConferenceId = T2.Id WHERE T2.HomePage LIKE 'http://www.informatik.uni-trier.de/~ley/db/conf/%'
Database: authors
Question: What are the journal homepages and author ID of the papers published in 2000 to 2005 with a word "social" in its title?
Evidence: in 2000 to 2005 refers to Year BETWEEN 2000 AND 2005; a word "social" in its title refers to Title = '%SOCIAL%'
SQL: SELECT T3.HomePage, T2.AuthorId FROM Paper AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.PaperId INNER JOIN Journal AS T3 ON T1.JournalId = T3.Id WHERE T1.Year BETWEEN 2000 AND 2005 AND T1.Title LIKE '%SOCIAL%'
Database: authors
Question: What is the author ID and their affiliations of authors of the papers with a journal ID of 0 and published in 2009.
Evidence: published in 2009 refers to Year = 2009; journal ID of 0 refers to JournalId = 0
SQL: SELECT DISTINCT T2.AuthorId, T2.Affiliation FROM Paper AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.PaperId WHERE T1.JournalId = 0 AND T1.Year = 2009 AND T2.Affiliation IS NOT NULL
Database: authors
Question: In papers with journal IDs from 200 to 300 and with its short name starts with A, what is the percentage of papers with conference ID of 0?
Evidence: journal ID of 200 to 300 refers to JournalId BETWEEN 200 AND 300; short name starts with A refers to ShortName LIKE 'A%'; Percentage = Divide (Count(ConferenceId = 0), Count(ConferenceId)) * 100
SQL: SELECT CAST(SUM(CASE WHEN T1.ConferenceId = 0 THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.ConferenceId) FROM Paper AS T1 INNER JOIN Journal AS T2 ON T1.JournalId = T2.Id WHERE T1.JournalId BETWEEN 200 AND 300 AND T2.ShortName LIKE 'A%'