db_id
stringclasses
69 values
question
stringlengths
24
325
evidence
stringlengths
1
673
SQL
stringlengths
23
804
schema
stringclasses
69 values
authors
Find the names of papers which are published in the year 1996.
null
SELECT Title FROM Paper WHERE year = 1996
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
List the title and author's name of papers published in the 2007 Neoplasia journal.
published in the 2007 refers to Year = 2007; Neoplasia journal refers to FullName = 'Neoplasia'
SELECT T1.Title, T2.Name 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 T3.FullName = 'Neoplasia' AND T1.Year = 2007
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
Among the authors affiliated with Soongsil University, list the authors' names and papers published during the year 2000.
authors affiliated with Soongsil University refers to Affiliation = 'Soongsil University'
SELECT T2.Title, T1.Name FROM PaperAuthor AS T1 INNER JOIN Paper AS T2 ON T1.PaperId = T2.Id WHERE T1.Affiliation = 'Soongsil University' AND T2.Year = 2000
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
Give the title and author's name of the papers published between 2000 and 2005 that include the topic optical properties.
published between 2000 and 2005 refers to Year BETWEEN 2000 AND 2005; include the topic optical properties refers to Keyword LIKE '%optical properties%'
SELECT T1.Title, T2.Name FROM Paper AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.PaperId WHERE T1.Keyword LIKE '%optical properties%' AND T1.Year BETWEEN 2000 AND 2005 AND T1.Title <> ''
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
What is the average number of papers published in the World Computer Congress each year?
published in the World Computer Congress refers to FullName = 'World Computer Congress'; average refers to DIVIDE(COUNT(FullName = 'World Computer Congress'), COUNT(Id))
SELECT CAST(SUM(CASE WHEN T2.FullName = 'International Congress Series' THEN 1 ELSE 0 END) AS REAL) / COUNT(T1.Id) AS Div1, T1.Year FROM Paper AS T1 INNER JOIN Journal AS T2 ON T1.JournalId = T2.Id GROUP BY T1.YEAR HAVING Div1 != 0
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
Give the Title and author's name of the books that were preprint in 1997.
in 1997 refers to Year = 1997; books that were preprint refers to ConferenceId = 0 AND JournalId = 0
SELECT DISTINCT T2.Name, T1.Title FROM Paper AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.PaperId WHERE T1.ConferenceId = 0 AND T1.JournalId = 0 AND T1.Year = 1997 AND T1.Title <> ''
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
Write the titles of papers published by Adam Jones and the journal name in which it was published from 2005 to 2010.
published from 2005 to 2010 refers to Year BETWEEN 2005 AND 2010; published by Adam Jones refers to Name = 'Adam Jones'
SELECT T1.Title 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 T2.Name = 'Adam Jones' AND T1.Year BETWEEN 2005 AND 2010
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
How many authors is affiliated to the organization "Otterbein University"?
Otterbein University is an Affiliation
SELECT COUNT(Name) FROM Author WHERE Affiliation = 'Otterbein University'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
How many authors drafted the paper "Subcellular localization of nuclease in barley aleurone"?
'Subcellular localization of nuclease in barley aleurone' is the title of paper
SELECT COUNT(DISTINCT T2.Name) FROM Paper AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.PaperId WHERE T1.Title = 'Subcellular localization of nuclease in barley aleurone'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
What is the full name of the conference in which the paper titled "Extended Fuzzy Regression Models" was published?
'Extended Fuzzy Regression Models' is the title of paper; full name of the conference refers to FullName
SELECT T2.FullName FROM Paper AS T1 INNER JOIN Conference AS T2 ON T1.ConferenceId = T2.Id WHERE T1.Title = 'Extended Fuzzy Regression Models'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
How many papers are published under the conference "Mathematics of Program Construction "?
'Mathematics of Program Construction' is the FullName of conference
SELECT COUNT(T1.Id) FROM Paper AS T1 INNER JOIN Conference AS T2 ON T1.ConferenceId = T2.Id WHERE T2.FullName = 'Mathematics of Program Construction'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
Who is the author of the paper titled "Open Sourcing Social Solutions (Building Communities of Change)"?
'Open Sourcing Social Solutions (Building Communities of Change)' is a title of the paper; author refers to PaperAuthor.Name
SELECT T2.Name FROM Paper AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.PaperId WHERE T1.Title = 'Open Sourcing Social Solutions (Building Communities of Change)'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
List all the title of the paper that Jianli Hua published.
Jianli Hua is the author of a paper
SELECT T1.Title FROM Paper AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.PaperId WHERE T2.Name = 'Jianli Hua'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
Who authored the paper titled "Testing timed automata "?
'Testing timed automata' is a title of a paper; Who authored refers to PaperAuthor.Name
SELECT T2.Name FROM Paper AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.PaperId WHERE T1.Title = 'Testing timed automata'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
How many papers are published in year 2000 under the conference "SSPR"?
SSPR is a ShortName; papers refers to Paper.Id
SELECT COUNT(T1.Id) FROM Paper AS T1 INNER JOIN Conference AS T2 ON T1.ConferenceId = T2.Id WHERE T1.Year = 2000 AND T2.ShortName = 'SSPR'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
List all the paper that the journal "Theoretical Computer Science " published in 2003.
'Theoretical Computer Science' is the FullName; paper refers to Title; published in 2003 refers to Year = 2003
SELECT DISTINCT T1.Title FROM Paper AS T1 INNER JOIN Journal AS T2 ON T1.JournalId = T2.Id WHERE T2.FullName = 'Theoretical Computer Science' AND T1.Year = 2003 AND T1.Title <> ''
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
What is the conference homepage URL of the paper titled "Quality evaluation of long duration audiovisual content"?
homepage URL refers to HomePage; 'Quality evaluation of long duration audiovisual content' is the Title
SELECT T2.HomePage FROM Paper AS T1 INNER JOIN Conference AS T2 ON T1.ConferenceId = T2.Id WHERE T1.Title = 'Quality evaluation of long duration audiovisual content'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
Among the author who drafted the paper "A Randomized Comparison of Sirolimus- Versus Paclitaxel-Eluting Stent Implantation in Patients With Diabetes Mellitus", which of them is/are affiliated with the Asan Medical Center, University of Ulsan College of Medicine, Seoul, Korea ?
author refers to PaperAuthor.Name; 'A Randomized Comparison of Sirolimus- Versus Paclitaxel-Eluting Stent Implantation in Patients With Diabetes Mellitus' is the title; 'Asan Medical Center, University of Ulsan College of Medicine, Seoul, Korea' is an Affiliation
SELECT T2.Name FROM Paper AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.PaperId WHERE T2.Affiliation = 'Asan Medical Center, University of Ulsan College of Medicine, Seoul, Korea' AND T1.Title = 'A Randomized Comparison of Sirolimus- Versus Paclitaxel-Eluting Stent Implantation in Patients With Diabetes Mellitus'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
How many papers are published under the journal "Software - Practice and Experience"?
papers refers to Paper.Id; 'Software - Practice and Experience' is the FullName of a journal;
SELECT COUNT(T1.Id) FROM Paper AS T1 INNER JOIN Journal AS T2 ON T1.JournalId = T2.Id WHERE T2.FullName = 'Software - Practice and Experience'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
List all the paper that were under the conference homepage URL "http://www.irma-international.org/".
paper refers to Paper.Title; http://www.irma-international.org/ is the HomePage
SELECT T1.Title FROM Paper AS T1 INNER JOIN Conference AS T2 ON T1.ConferenceId = T2.Id WHERE T2.HomePage = 'http://www.irma-international.org/'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
Calculate the total average number of papers published from 2002 to 2010 under the conference "Information and Knowledge Engineering".
average number of papers refers to DIVIDE(count(id), 9); published from 2002 to 2010 refers to Year BETWEEN 2002 AND 2010; 'Information and Knowledge Engineering' is the FullName of conference;
SELECT CAST(COUNT(T1.Id) AS REAL) / COUNT(DISTINCT T1.Year) FROM Paper AS T1 INNER JOIN Conference AS T2 ON T1.ConferenceId = T2.Id WHERE T2.FullName = 'Information and Knowledge Engineering' AND T1.Year >= 2002 AND T1.Year <= 2010
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
From year 1991 to 2000, calculate the difference betweeen the total number of papers published under the conference "International Conference on Supercomputing " and "Informatik & Schule"?
From year 1991 to 2000 refers to Year BETWEEN 1991 AND 2000; papers refers to Paper.Id; 'International Conference on Supercomputing' AND 'Informatik & Schule' are the FullName of conference; calculate the difference between the total number of papers of these two conferences refers to SUBTRACT(SUM(Paper.Id where FullName = 'International Conference on Supercomputing'), SUM(Paper.Id where FullName = 'Informatik & Schule'))
SELECT SUM(CASE WHEN T2.FullName = 'Informatik & Schule' THEN 1 ELSE 0 END) - SUM(CASE WHEN T2.FullName = 'International Conference on Supercomputing' THEN 1 ELSE 0 END) AS DIFF FROM Paper AS T1 INNER JOIN Conference AS T2 ON T1.ConferenceId = T2.Id WHERE T1.Year > 1990 AND T1.Year < 2001
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
What is the short name for "Software - Concepts and Tools / Structured Programming"?
'Software - Concepts and Tools / Structured Programming' is the FullName;
SELECT ShortName FROM Journal WHERE FullName = 'Software - Concepts and Tools / Structured Programming'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
Which journal was the paper "Education, democracy and growth" published on? Give the full name of the journal.
'Education, democracy and growth' is the title of a paper
SELECT T1.FullName FROM Journal AS T1 INNER JOIN Paper AS T2 ON T1.Id = T2.JournalId WHERE T2.Title = 'Education, democracy and growth'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
Give the number of papers that were published on "IEEE Transactions on Nuclear Science" in 1999.
'IEEE Transactions on Nuclear Science' is the FullName of journal; 1999 refers to Year = '1999'; papers refers to Paper.Id
SELECT COUNT(T2.Id) FROM Journal AS T1 INNER JOIN Paper AS T2 ON T1.Id = T2.JournalId WHERE T1.FullName = 'IEEE Transactions on Nuclear Science' AND T2.Year = 1999
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
What was the name of the paper that was published on "IEEE Transactions on Pattern Analysis and Machine Intelligence" in 2011?
'IEEE Transactions on Pattern Analysis and Machine Intelligence' is the FullName of journal; 2011 refers to Year = '2011'; name of the paper refers to Title of paper
SELECT T2.Title FROM Journal AS T1 INNER JOIN Paper AS T2 ON T1.Id = T2.JournalId WHERE T1.FullName = 'IEEE Transactions on Pattern Analysis and Machine Intelligence' AND T2.Year = 2011 AND T2.Title <> ''
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
What are the keywords for the paper which was published on "Modeling Identification and Control" in 1994?
'Modeling Identification and Control' is the FullName of the journal; 1994 refers to Year = '1994'; if the year is "0", it means this paper is preprint, or not published
SELECT T2.Keyword FROM Journal AS T1 INNER JOIN Paper AS T2 ON T1.Id = T2.JournalId WHERE T1.FullName = 'Modeling Identification and Control' AND T2.Year = 1994
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
For the paper which was presented by "Zvezdan Protić", was it preprinted?
Year = 0 means this paper is preprint, or not published
SELECT CASE WHEN T1.Year = 0 THEN 'TRUE' ELSE 'FALSE' END FROM Paper AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.PaperId WHERE T2.Name = 'Zvezdan Protić' AND T1.ConferenceId = 0 AND T1.JournalId = 0
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
At which conference was the paper "Skew-Circulant Preconditioners for Systems of LMF-Based ODE Codes" presented?
'Skew-Circulant Preconditioners for Systems of LMF-Based ODE Codes' is the Title of the paper; conference refers to Conference.FullName
SELECT T2.FullName FROM Paper AS T1 INNER JOIN Conference AS T2 ON T1.ConferenceId = T2.Id WHERE T1.Title = 'Skew-Circulant Preconditioners for Systems of LMF-Based ODE Codes'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
Tell the number of papers that were presented at "International Symposium on Software Testing and Analysis" conference.
'International Symposium on Software Testing and Analysis' is the FullName of the conference; papers refers to Paper.Id
SELECT COUNT(T1.Id) FROM Paper AS T1 INNER JOIN Conference AS T2 ON T1.ConferenceId = T2.Id WHERE T2.FullName = 'International Symposium on Software Testing and Analysis'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
Gives the home page of the conference where the paper "Increasing the Concurrency in Estelle" is presented.
'Increasing the Concurrency in Estelle' is the Title of the paper; home page of the conference refers to HomePage;
SELECT DISTINCT T2.HomePage FROM Paper AS T1 INNER JOIN Conference AS T2 ON T1.ConferenceId = T2.Id WHERE T1.Title = 'Increasing the Concurrency in Estelle'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
How many authors finished the paper "An Improved Active Suspension Model for Attitude Control of Electric Vehicles" together?
authors refers to AuthorId; 'An Improved Active Suspension Model for Attitude Control of Electric Vehicles' is the Title of a paper; A paper can have more than one author. Co-authorship can be derived from (paper ID, author ID) pair.
SELECT COUNT(T2.AuthorId) FROM Paper AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.PaperId WHERE T1.Title = 'An Improved Active Suspension Model for Attitude Control of Electric Vehicles'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
In the year 2012, which conference had the most papers presented? Give the short name of the conference.
Papers refers to Paper.Id; short name of the conference refers to Conference.ShortName
SELECT T2.ShortName FROM Paper AS T1 INNER JOIN Conference AS T2 ON T1.ConferenceId = T2.Id WHERE T1.Year = '2012' GROUP BY T1.ConferenceId ORDER BY COUNT(T1.Id) DESC LIMIT 1
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
How many papers were presented at 'ECSQARU' in 2003?
Papers refers to Paper.Id; ECSQARU is the ShortName of the conference; 2003 refers to Year = '2003'
SELECT COUNT(T1.Id) FROM Paper AS T1 INNER JOIN Conference AS T2 ON T1.ConferenceId = T2.Id WHERE T2.ShortName = 'ECSQARU' AND T1.Year = '2003'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
Show the keywords of the paper that was presented at "International Radar Symposium" in 2012.
'International Radar Symposium' is the FullName of the conference; 2012 refers to Year = '2012'
SELECT T1.Keyword FROM Paper AS T1 INNER JOIN Conference AS T2 ON T1.ConferenceId = T2.Id WHERE T2.FullName = 'International Radar Symposium' AND T1.Year = 2012
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
How many times more for the papers that were presented at the "International Conference on Thermoelectrics" conference than "International Conference on Wireless Networks, Communications and Mobile Computing“ conference?
'International Conference on Thermoelectrics' AND 'International Conference on Wireless Networks, Communications and Mobile Computing' are the FullName of the conference; Papers refers to Paper.Id; Calculation = SUBTRACT(SUM(Paper.Id where FullName = 'International Conference on Thermoelectrics'), SUM(Paper.Id where FullName = 'International Conference on Wireless Networks, Communications and Mobile Computing'))
SELECT CAST(SUM(CASE WHEN T2.FullName = 'International Conference on Thermoelectrics' THEN 1 ELSE 0 END) AS REAL) / SUM(CASE WHEN T2.FullName = 'International Conference on Wireless Networks, Communications and Mobile Computing' THEN 1 ELSE 0 END) FROM Paper AS T1 INNER JOIN Conference AS T2 ON T1.ConferenceId = T2.Id
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
What is the percentage of preprints of John Van Reenen's papers?
year = 0 means this paper is preprint; John Van Reenen is the author's name; papers refers to paper.Id; calculation = DIVIDE(SUM(paper.Id where Name = 'John Van Reenen' AND ConferenceID = 0 AND  JournalId = 0), SUM(paper.Id where Name = 'John Van Reenen'))
SELECT CAST(SUM(CASE WHEN T1.ConferenceId = 0 AND T1.JournalId = 0 THEN 1 ELSE 0 END) AS REAL) / COUNT(T1.Id) FROM Paper AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.PaperId WHERE T2.Name = 'John Van Reenen'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
What is the oldest published book?
published book refers to Title; the oldest book refers to MIN(Year)
SELECT Title FROM Paper WHERE Year > 0 ORDER BY Year ASC LIMIT 1
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
Which conference has the longest name?
the longest name refers to MAX(length(FullName))
SELECT FullName FROM Conference ORDER BY LENGTH(FullName) DESC LIMIT 1
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
How many authors are affiliated with NASA Langley Research Center?
NASA Langley Research Center is the Affiliation
SELECT COUNT(Name) FROM Author WHERE Affiliation = 'NASA Langley Research Center'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
How many journals don’t have a short name?
don’t have a short name means ShortName is null
SELECT COUNT(ShortName) FROM Journal WHERE ShortName = ''
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
How many of the papers are preprinted?
year = 0 means this paper is preprint; papers refers to Paper.Id
SELECT COUNT(Id) FROM Paper WHERE ConferenceId = 0 AND JournalId = 0
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
What is the title of the paper with the most authors?
paper refers to paper.Id; paper with the most authors refers to MAX(PaperAuthor.PaperId)
SELECT T2.Title FROM PaperAuthor AS T1 INNER JOIN Paper AS T2 ON T1.PaperId = T2.Id GROUP BY T1.PaperId ORDER BY COUNT(T1.PaperId) DESC LIMIT 1
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
Which paper published by the "TUBERCLE LUNG DIS" journal is the oldest?
paper refers to Title; TUBERCLE LUNG DIS is the ShortName of journal; the oldest refers to MIN(Year)
SELECT T2.Title FROM Journal AS T1 INNER JOIN Paper AS T2 ON T1.Id = T2.JournalId WHERE T1.ShortName = 'TUBERCLE LUNG DIS' ORDER BY T2.Year ASC LIMIT 1
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
List all of the papers written by the author "Karin Rengefors."
all the papers refers to Title; Karin Rengefors is the Name of the author
SELECT T2.Title FROM PaperAuthor AS T1 INNER JOIN Paper AS T2 ON T1.PaperId = T2.Id WHERE T1.Name = 'Karin Rengefors'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
How many papers were published by the "Virtual Reality, IEEE Annual International Symposium" conference in 2012?
'Virtual Reality, IEEE Annual International Symposium' is the FullName of conference; in 2012 refers to Year = 2012;
SELECT COUNT(T2.Id) FROM Conference AS T1 INNER JOIN Paper AS T2 ON T1.Id = T2.ConferenceId WHERE T1.FullName = 'Virtual Reality, IEEE Annual International Symposium' AND T2.Year = 2012
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
What is the short name for the journal that published the paper "A Case of Unilateral Ashy Dermatosis"?
A Case of Unilateral Ashy Dermatosis refer to Title
SELECT T2.ShortName FROM Paper AS T1 INNER JOIN Journal AS T2 ON T1.JournalId = T2.Id WHERE T1.Title = 'A Case of Unilateral Ashy Dermatosis'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
What are the affiliations of the author "Mark A. Musen" written on and off paper?
Mark A. Musen refer to Author.Name;
SELECT T1.Affiliation FROM PaperAuthor AS T1 INNER JOIN Author AS T2 ON T1.AuthorId = T2.Id WHERE T2.Name = 'Mark A. Musen'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
Who are the authors of the paper "Determination of Planetary Meteorology from Aerobot Flight Sensors"?
'Determination of Planetary Meteorology from Aerobot Flight Sensors' refer to title of the paper
SELECT T2.Name FROM Paper AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.PaperId WHERE T1.Title = 'Determination of Planetary Meteorology FROM Aerobot Flight Sensors'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
List all the titles and their publishing journals from the 60's.
from the 60’s refer to Year 1960 BETWEEN 1970
SELECT T1.Title, T1.JournalId FROM Paper AS T1 INNER JOIN Journal AS T2 ON T1.JournalId = T2.Id WHERE T1.Year >= 1960 AND T1.Year <= 1970
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
Which year did the "Internet, Multimedia Systems and Applications" conference publish the most papers?
'Internet, Multimedia Systems and Applications' is the FullName of paper; published the most papers refers to MAX(COUNT(year))
SELECT T2.Year FROM Conference AS T1 INNER JOIN Paper AS T2 ON T1.Id = T2.ConferenceId WHERE T1.FullName = 'Internet, Multimedia Systems and Applications' GROUP BY T2.Year ORDER BY COUNT(T2.Id) DESC LIMIT 1
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
What are the different ways the name of the author, Randall Davis, is written on their papers?
Randall Davis refer to Author.Name
SELECT DISTINCT T1.Name FROM PaperAuthor AS T1 INNER JOIN Author AS T2 ON T1.AuthorId = T2.Id WHERE T2.Name = 'Randall Davis' AND T1.Name != 'Randall Davis'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
List all of the conferences where a paper was published in 2008.
Published in 2008 refer to Year = 2008
SELECT DISTINCT T2.FullName FROM Paper AS T1 INNER JOIN Conference AS T2 ON T1.ConferenceId = T2.Id WHERE T1.Year = 2008
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
What is the homepage URL for the journal that published the most papers?
published the most papers refer to MAX(JournalId); homepage URL refers to HomePage
SELECT T2.HomePage FROM Paper AS T1 INNER JOIN Journal AS T2 ON T1.JournalId = T2.Id GROUP BY T1.JournalId ORDER BY COUNT(T1.JournalId) DESC LIMIT 1
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
What is the proportion of the papers that have the keyword "cancer"? Please provide a list of authors and their affiliations.
Proportion refer to DIVIDE(COUNT(Keyword = ’cancer’), COUNT(PaperID))
SELECT CAST(SUM(CASE WHEN T1.Keyword = 'cancer' THEN 1 ELSE 0 END) AS REAL) / COUNT(T1.Id), T2.Name, T2.Affiliation FROM Paper AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.PaperId
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
What is the name of author with the ID of 1722?
null
SELECT Name FROM Author WHERE Id = 1722
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
How many papers are preprint or not published?
preprint or not published refer to Year = 0;
SELECT COUNT(Id) FROM Paper WHERE Year = 0 OR (ConferenceId = 0 AND JournalId = 0)
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
List the name of the author that affiliated with University of Illinois Chicago?
'University of Illinois Chicago' is an affiliation
SELECT Name FROM Author WHERE Affiliation = 'University of Illinois Chicago'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
How many papers were published in 2005. Calculate the difference between the number of paper published in 2005 and the number of paper published in the previous year.
published in 2005 refer to Year = 2005; Difference refer to SUBTRACT(SUM(Year = 2005). SUM(Year = 2004))
SELECT SUM(CASE WHEN Year = 2005 THEN 1 ELSE 0 END) , SUM(CASE WHEN year = 2005 THEN 1 ELSE 0 END) - SUM(CASE WHEN year = 2004 THEN 1 ELSE 0 END) AS diff FROM Paper
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
State the title of papers published in the Ibm Journal of Research and Development.
Ibm Journal of Research and Development refer to FullName 'Ibm Journal of Research and Development' is the full name of paper
SELECT T2.Title FROM Journal AS T1 INNER JOIN Paper AS T2 ON T1.Id = T2.JournalId WHERE T1.FullName = 'Ibm Journal of Research and Development'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
State the name and affiliation of author for the 'Education, democracy and growth' paper?
Education, democracy and growth' refer to title of paper
SELECT T2.Name, T2.Affiliation FROM Paper AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.PaperId WHERE T1.Title = 'Education, democracy and growth'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
How many author published papers in the 'IEEE Computer' journal?
IEEE Computer refer to FullName; How many author published papers refer to COUNT(PaperAuthor.Name) where FullName = ’IEEE Computer’
SELECT COUNT(T2.Name) 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 T3.FullName = 'IEEE Computer'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
Where was the 'A context-based navigation paradigm for accessing Web data' paper published? State the name of the conference.
A context-based navigation paradigm for accessing Web data' is the title of paper; name of conference refer to FullName
SELECT T2.FullName FROM Paper AS T1 INNER JOIN Conference AS T2 ON T1.ConferenceId = T2.Id WHERE T1.Title = 'A context-based navigation paradigm for accessing Web data'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
How many papers were published in International Workshop on Inductive Logic Programming from 2001 to 2009?
From 2001 to 2009 refer to Year 2001 BETWEEN 2009; 'International Workshop on Inductive Logic Programming' refer to Conference.FullName
SELECT COUNT(T1.Id) FROM Paper AS T1 INNER JOIN Conference AS T2 ON T1.ConferenceId = T2.Id WHERE T2.FullName = 'International Workshop on Inductive Logic Programming' AND T1.Year BETWEEN 2001 AND 2009
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
Calculate the average of authors for each paper from the year of 1990 to 2000.
Average refer to DIVIDE(COUNT(AuthorID where Year = 1990 BETWEEN 2000), COUNT(Title where Year = 1990 BETWEEN 2000))
SELECT CAST(COUNT(DISTINCT T2.AuthorId) AS REAL) / COUNT(DISTINCT T1.Title) FROM Paper AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.PaperId WHERE T1.Year BETWEEN 1990 AND 2000
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
Indicate the year and a full name of the journal in which the publication named 'Area Effects in Cepaea' was published.
'Area Effects in Cepaea' is the title of paper
SELECT T1.Year, T2.FullName FROM Paper AS T1 INNER JOIN Journal AS T2 ON T1.JournalId = T2.Id WHERE T1.Title = 'Area Effects in Cepaea'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
Who is the author of the publication named 'Real-Time Automata'?
'Real-Time Automata' is the title of paper; publication refers to title;
SELECT T2.Name FROM Paper AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.PaperId WHERE T1.Title = 'Real-Time Automata'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
Provide the name of the author who is affiliated with the organization named 'ABB Electrical Machines'.
'ABB Electrical Machines' is an affiliation
SELECT Name FROM Author WHERE Affiliation = 'ABB Electrical Machines'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
Provide the number of publications published in the journal named 'Academic Medicine' between 2005 and 2010.
'Academic Medicine' is the FullName of journal; between 2005 and 2010 refer to Year 2005 BETWEEN 2010
SELECT COUNT(T2.JournalId) FROM Journal AS T1 INNER JOIN Paper AS T2 ON T1.Id = T2.JournalId WHERE T1.FullName = 'Academic Medicine' AND T2.Year BETWEEN 2005 AND 2010
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
Provide the title of the latest publication published by it's author 'Zuliang Du'.
'Zuliang Du' is the name of paper author; latest publication refers to MAX(Year)
SELECT T2.Title FROM PaperAuthor AS T1 INNER JOIN Paper AS T2 ON T1.PaperId = T2.Id WHERE T1.Name = 'Zuliang Du' ORDER BY T2.Year DESC LIMIT 1
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
How many publications were published in relation to the conference 'Adaptive Multimedia Retrieval' in 2007?
'Adaptive Multimedia Retrieval is the FullName of paper; in 2007 refer to Year = 2007
SELECT COUNT(T2.ConferenceId) FROM Conference AS T1 INNER JOIN Paper AS T2 ON T1.Id = T2.ConferenceId WHERE T1.FullName = 'Adaptive Multimedia Retrieval' AND T2.Year = 2007
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
Provide the average number of papers that are published in the journal named 'Information Sciences' annually.
'Information Sciences' is the FullName of journal; average = DIVIDE(COUNT(JournalId = 48), COUNT(Years))
SELECT CAST(COUNT(T2.JournalId) AS REAL) / COUNT(DISTINCT T2.Year) FROM Journal AS T1 INNER JOIN Paper AS T2 ON T1.Id = T2.JournalId WHERE T1.FullName = 'Information Sciences'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
How many publications were published by author named 'Howard F. Lipson'?
'Howard F. Lipson' is the name of author
SELECT COUNT(PaperId) FROM PaperAuthor WHERE Name = 'Howard F. Lipson'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
Among all publications containing keywords 'Turbulent Fluids', what percentage of them was published in the journal named 'Physics of Fluids'?
'Physics of Fluids' is the FullName of journal; percentage = DIVIDE(SUM(Keyword = 'Turbulent Fluids'), SUM(FullName = 'Physics of Fluids')) as percentage
SELECT CAST(SUM(CASE WHEN T1.Keyword = 'Turbulent Fluids' THEN 1 ELSE 0 END) AS REAL) / SUM(CASE WHEN T2.FullName = 'Physics of Fluids' THEN 1 ELSE 0 END) FROM Paper AS T1 INNER JOIN Journal AS T2 ON T1.JournalId = T2.Id
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
Indicate the number of authors affiliated with the organization named 'Arizona State University'.
'Arizona State University' is an affiliation
SELECT COUNT(Name) FROM Author WHERE Affiliation = 'Arizona State University'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
List out the full name and URL link of ICCI?
'ICCI' is the ShortName of conference; URL refer to HomePage
SELECT FullName, HomePage FROM Conference WHERE ShortName = 'ICCI'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
Mention the titile of paper writen by Joe Lograsso.
'Joe Lograsso' is name of paper author
SELECT T1.Title FROM Paper AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.PaperId WHERE T2.Name = 'Joe Lograsso'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
How many papers were written by authors who cooperated with University of Hong Kong?
University of Hong Kong' is an affiliation
SELECT COUNT(T2.PaperId) FROM Author AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.AuthorId WHERE T1.Affiliation = 'University of Hong Kong'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
State the year and title of papers written by Barrasa.
'Barassa' is name of paper author
SELECT T1.Year, T1.Title FROM Paper AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.PaperId WHERE T2.Name = 'Barrasa'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
Sate the author name and published year for paper id 2?
published year refers to year
SELECT T1.Name, T3.Year FROM Author AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.AuthorId INNER JOIN Paper AS T3 ON T2.PaperId = T3.Id WHERE T2.PaperId = 2
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
Mention the name of author for paper id 5 and state the keyword of this page.
null
SELECT T1.Name, T3.Keyword FROM Author AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.AuthorId INNER JOIN Paper AS T3 ON T2.PaperId = T3.Id WHERE T2.PaperId = 5
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
authors
What is the full name of the conference in which the paper "2004 YD5" was published?
'2004 YD5' is the title of paper
SELECT T1.FullName FROM Conference AS T1 INNER JOIN Paper AS T2 ON T1.Id = T2.ConferenceId WHERE T2.Title = '2004 YD5'
database name:db_id authors Author table Author Cols: Id dtype integer, Name dtype text, Affiliation dtype text, Conference table Conference Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Journal table Journal Cols: Id dtype integer, ShortName dtype text, FullName dtype text, HomePage dtype text, Paper table Paper Cols: Id dtype integer, Title dtype text, Year dtype integer, ConferenceId dtype integer, JournalId dtype integer, Keyword dtype text, PaperAuthor table PaperAuthor Cols: PaperId dtype integer, AuthorId dtype integer, Name dtype text, Affiliation dtype text,
college_completion
List the all the institutes from the state with the most number of American Indian in 2007.
institutes refers to chronname; American Indian refers to race = 'Ai'; most number of American Indian refers to MAX(COUNT(race = 'Ai')); in 2007 refers to year = '2007';
SELECT T1.chronname FROM institution_details AS T1 INNER JOIN state_sector_grads AS T2 ON T1.state = T2.state WHERE T2.year = 2007 AND T2.race = 'Ai' GROUP BY T1.chronname ORDER BY COUNT(T1.chronname) DESC LIMIT 1
database name:db_id college_completion institution_details table institution_details Cols: Unit ID number dtype integer, chronname dtype text, city dtype text, state dtype text, level dtype text, control dtype text, basic dtype text, Historically Black College and Universities dtype text, flagship dtype text, long_x dtype real, lat_y dtype real, site dtype text, student count dtype integer, awards per value dtype real, awards per state value dtype real, awards per national value dtype real, expected award value dtype integer, expected award state value dtype integer, expected award national value dtype integer, exp_award_percentile dtype integer, Full-time percentage dtype real, Full-time percentage dtype integer, fte_percentile dtype integer, median SAT value dtype text, median SAT percentile dtype text, aid value dtype integer, aid percentile dtype integer, endow value dtype text, endow percentile dtype text, graduation 100 value dtype real, graduation 100 percentile dtype integer, graduation 150 value dtype real, graduation 150 percentile dtype integer, pell value dtype real, pell percentile dtype integer, retain value dtype real, retain percentile dtype integer, full time faculty value dtype real, full time faculty percentile dtype integer, voluntary system of accountability year dtype text, voluntary system of accountability after 4 year first time dtype text, voluntary system of accountability graduation elsewhere after 4 year first time dtype text, voluntary system of accountability enrollment after 4 year first time dtype text, voluntary system of accountability enrollment elsewhere after 4 year first time dtype text, voluntary system of accountability graduation elsewhere after 6 year first time dtype text, voluntary system of accountability graduation elsewhere after 6 year first time dtype text, voluntary system of accountability enrollment after 6 year first time dtype text, voluntary system of accountability enrollment elsewhere after 6 year first time dtype text, voluntary system of accountability transfer after 6 year first time dtype text, voluntary system of accountability graduation elsewhere after 4 year dtype text, voluntary system of accountability enrollment after 4 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 4 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 6 years transfer dtype text, voluntary system of accountability graduation elsewhere after 6 years transfer dtype text, voluntary system of accountability enrollment after 6 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 6 years transfer dtype text, similar dtype text, state_sector_ct dtype integer, carnegie_ct dtype integer, counted_pct dtype text, nicknames dtype text, cohort_size dtype integer, institution_grads table institution_grads Cols: unit id dtype integer, year dtype integer, gender dtype text, race dtype text, cohort dtype text, graduation cohort dtype text, graduation 100 dtype text, graduation 150 dtype text, grad_100_rate dtype text, grad_150_rate dtype text, state_sector_grads table state_sector_grads Cols: state id dtype integer, state name dtype text, state_abbr dtype text, control dtype text, level dtype text, year dtype integer, gender dtype text, race dtype text, cohort dtype text, graduation cohort dtype text, graduation 100 dtype text, graduation 150 dtype text, grad_100_rate dtype text, grad_150_rate dtype text, graduation cohort count dtype integer, state_sector_details table state_sector_details Cols: state id dtype integer, state name dtype text, state_post dtype text, level dtype text, control dtype text, schools_count dtype integer, counted percentage dtype text, awards per state value dtype text, awards per national value dtype real, expected award state value dtype text, expected award national value dtype integer, state appropriation value dtype text, state_appr_rank dtype text, grad_rate_rank dtype text, awards_per_rank dtype text,
college_completion
State the name and website of the institutes from the state with 209 graduate cohort in 2011.
name of the institutes refers to chronname; website refers to site; graduate cohort refers to grad_cohort; in 2011 refers to year = '2011';
SELECT T1.chronname, T1.site FROM institution_details AS T1 INNER JOIN state_sector_grads AS T2 ON T1.state = T2.state WHERE T2.year = 2011 AND T2.grad_cohort = 209
database name:db_id college_completion institution_details table institution_details Cols: Unit ID number dtype integer, chronname dtype text, city dtype text, state dtype text, level dtype text, control dtype text, basic dtype text, Historically Black College and Universities dtype text, flagship dtype text, long_x dtype real, lat_y dtype real, site dtype text, student count dtype integer, awards per value dtype real, awards per state value dtype real, awards per national value dtype real, expected award value dtype integer, expected award state value dtype integer, expected award national value dtype integer, exp_award_percentile dtype integer, Full-time percentage dtype real, Full-time percentage dtype integer, fte_percentile dtype integer, median SAT value dtype text, median SAT percentile dtype text, aid value dtype integer, aid percentile dtype integer, endow value dtype text, endow percentile dtype text, graduation 100 value dtype real, graduation 100 percentile dtype integer, graduation 150 value dtype real, graduation 150 percentile dtype integer, pell value dtype real, pell percentile dtype integer, retain value dtype real, retain percentile dtype integer, full time faculty value dtype real, full time faculty percentile dtype integer, voluntary system of accountability year dtype text, voluntary system of accountability after 4 year first time dtype text, voluntary system of accountability graduation elsewhere after 4 year first time dtype text, voluntary system of accountability enrollment after 4 year first time dtype text, voluntary system of accountability enrollment elsewhere after 4 year first time dtype text, voluntary system of accountability graduation elsewhere after 6 year first time dtype text, voluntary system of accountability graduation elsewhere after 6 year first time dtype text, voluntary system of accountability enrollment after 6 year first time dtype text, voluntary system of accountability enrollment elsewhere after 6 year first time dtype text, voluntary system of accountability transfer after 6 year first time dtype text, voluntary system of accountability graduation elsewhere after 4 year dtype text, voluntary system of accountability enrollment after 4 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 4 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 6 years transfer dtype text, voluntary system of accountability graduation elsewhere after 6 years transfer dtype text, voluntary system of accountability enrollment after 6 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 6 years transfer dtype text, similar dtype text, state_sector_ct dtype integer, carnegie_ct dtype integer, counted_pct dtype text, nicknames dtype text, cohort_size dtype integer, institution_grads table institution_grads Cols: unit id dtype integer, year dtype integer, gender dtype text, race dtype text, cohort dtype text, graduation cohort dtype text, graduation 100 dtype text, graduation 150 dtype text, grad_100_rate dtype text, grad_150_rate dtype text, state_sector_grads table state_sector_grads Cols: state id dtype integer, state name dtype text, state_abbr dtype text, control dtype text, level dtype text, year dtype integer, gender dtype text, race dtype text, cohort dtype text, graduation cohort dtype text, graduation 100 dtype text, graduation 150 dtype text, grad_100_rate dtype text, grad_150_rate dtype text, graduation cohort count dtype integer, state_sector_details table state_sector_details Cols: state id dtype integer, state name dtype text, state_post dtype text, level dtype text, control dtype text, schools_count dtype integer, counted percentage dtype text, awards per state value dtype text, awards per national value dtype real, expected award state value dtype text, expected award national value dtype integer, state appropriation value dtype text, state_appr_rank dtype text, grad_rate_rank dtype text, awards_per_rank dtype text,
college_completion
What is the number of female graduates between 2011 to 2013 from the state where 'Gateway Community College' is located?
female refers to gender = 'F'; graduates refers to grad_cohort; between 2011 to 2013 refers to year BETWEEN 2011 AND 2013; Gateway Community College refers to chronname = 'Gateway Community College';
SELECT COUNT(T2.grad_cohort) FROM institution_details AS T1 INNER JOIN state_sector_grads AS T2 ON T1.state = T2.state WHERE T2.year BETWEEN 2011 AND 2013 AND T1.chronname = 'Gateway Community College' AND T2.gender = 'F'
database name:db_id college_completion institution_details table institution_details Cols: Unit ID number dtype integer, chronname dtype text, city dtype text, state dtype text, level dtype text, control dtype text, basic dtype text, Historically Black College and Universities dtype text, flagship dtype text, long_x dtype real, lat_y dtype real, site dtype text, student count dtype integer, awards per value dtype real, awards per state value dtype real, awards per national value dtype real, expected award value dtype integer, expected award state value dtype integer, expected award national value dtype integer, exp_award_percentile dtype integer, Full-time percentage dtype real, Full-time percentage dtype integer, fte_percentile dtype integer, median SAT value dtype text, median SAT percentile dtype text, aid value dtype integer, aid percentile dtype integer, endow value dtype text, endow percentile dtype text, graduation 100 value dtype real, graduation 100 percentile dtype integer, graduation 150 value dtype real, graduation 150 percentile dtype integer, pell value dtype real, pell percentile dtype integer, retain value dtype real, retain percentile dtype integer, full time faculty value dtype real, full time faculty percentile dtype integer, voluntary system of accountability year dtype text, voluntary system of accountability after 4 year first time dtype text, voluntary system of accountability graduation elsewhere after 4 year first time dtype text, voluntary system of accountability enrollment after 4 year first time dtype text, voluntary system of accountability enrollment elsewhere after 4 year first time dtype text, voluntary system of accountability graduation elsewhere after 6 year first time dtype text, voluntary system of accountability graduation elsewhere after 6 year first time dtype text, voluntary system of accountability enrollment after 6 year first time dtype text, voluntary system of accountability enrollment elsewhere after 6 year first time dtype text, voluntary system of accountability transfer after 6 year first time dtype text, voluntary system of accountability graduation elsewhere after 4 year dtype text, voluntary system of accountability enrollment after 4 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 4 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 6 years transfer dtype text, voluntary system of accountability graduation elsewhere after 6 years transfer dtype text, voluntary system of accountability enrollment after 6 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 6 years transfer dtype text, similar dtype text, state_sector_ct dtype integer, carnegie_ct dtype integer, counted_pct dtype text, nicknames dtype text, cohort_size dtype integer, institution_grads table institution_grads Cols: unit id dtype integer, year dtype integer, gender dtype text, race dtype text, cohort dtype text, graduation cohort dtype text, graduation 100 dtype text, graduation 150 dtype text, grad_100_rate dtype text, grad_150_rate dtype text, state_sector_grads table state_sector_grads Cols: state id dtype integer, state name dtype text, state_abbr dtype text, control dtype text, level dtype text, year dtype integer, gender dtype text, race dtype text, cohort dtype text, graduation cohort dtype text, graduation 100 dtype text, graduation 150 dtype text, grad_100_rate dtype text, grad_150_rate dtype text, graduation cohort count dtype integer, state_sector_details table state_sector_details Cols: state id dtype integer, state name dtype text, state_post dtype text, level dtype text, control dtype text, schools_count dtype integer, counted percentage dtype text, awards per state value dtype text, awards per national value dtype real, expected award state value dtype text, expected award national value dtype integer, state appropriation value dtype text, state_appr_rank dtype text, grad_rate_rank dtype text, awards_per_rank dtype text,
college_completion
What is the total male graduates in 2012 in the state whereby the institute with the highest average amount of student aid going to undergraduate recipients is located?
male refers to gender = 'M'; graduates refers to grad_cohort; in 2012 refers to year = 2012; highest average amount of student aid going to undergraduate recipients refers to MAX(aid_value);
SELECT COUNT(T2.grad_cohort) FROM institution_details AS T1 INNER JOIN state_sector_grads AS T2 ON T1.state = T2.state WHERE T2.year = 2012 AND T2.gender = 'M' ORDER BY T1.aid_value DESC LIMIT 1
database name:db_id college_completion institution_details table institution_details Cols: Unit ID number dtype integer, chronname dtype text, city dtype text, state dtype text, level dtype text, control dtype text, basic dtype text, Historically Black College and Universities dtype text, flagship dtype text, long_x dtype real, lat_y dtype real, site dtype text, student count dtype integer, awards per value dtype real, awards per state value dtype real, awards per national value dtype real, expected award value dtype integer, expected award state value dtype integer, expected award national value dtype integer, exp_award_percentile dtype integer, Full-time percentage dtype real, Full-time percentage dtype integer, fte_percentile dtype integer, median SAT value dtype text, median SAT percentile dtype text, aid value dtype integer, aid percentile dtype integer, endow value dtype text, endow percentile dtype text, graduation 100 value dtype real, graduation 100 percentile dtype integer, graduation 150 value dtype real, graduation 150 percentile dtype integer, pell value dtype real, pell percentile dtype integer, retain value dtype real, retain percentile dtype integer, full time faculty value dtype real, full time faculty percentile dtype integer, voluntary system of accountability year dtype text, voluntary system of accountability after 4 year first time dtype text, voluntary system of accountability graduation elsewhere after 4 year first time dtype text, voluntary system of accountability enrollment after 4 year first time dtype text, voluntary system of accountability enrollment elsewhere after 4 year first time dtype text, voluntary system of accountability graduation elsewhere after 6 year first time dtype text, voluntary system of accountability graduation elsewhere after 6 year first time dtype text, voluntary system of accountability enrollment after 6 year first time dtype text, voluntary system of accountability enrollment elsewhere after 6 year first time dtype text, voluntary system of accountability transfer after 6 year first time dtype text, voluntary system of accountability graduation elsewhere after 4 year dtype text, voluntary system of accountability enrollment after 4 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 4 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 6 years transfer dtype text, voluntary system of accountability graduation elsewhere after 6 years transfer dtype text, voluntary system of accountability enrollment after 6 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 6 years transfer dtype text, similar dtype text, state_sector_ct dtype integer, carnegie_ct dtype integer, counted_pct dtype text, nicknames dtype text, cohort_size dtype integer, institution_grads table institution_grads Cols: unit id dtype integer, year dtype integer, gender dtype text, race dtype text, cohort dtype text, graduation cohort dtype text, graduation 100 dtype text, graduation 150 dtype text, grad_100_rate dtype text, grad_150_rate dtype text, state_sector_grads table state_sector_grads Cols: state id dtype integer, state name dtype text, state_abbr dtype text, control dtype text, level dtype text, year dtype integer, gender dtype text, race dtype text, cohort dtype text, graduation cohort dtype text, graduation 100 dtype text, graduation 150 dtype text, grad_100_rate dtype text, grad_150_rate dtype text, graduation cohort count dtype integer, state_sector_details table state_sector_details Cols: state id dtype integer, state name dtype text, state_post dtype text, level dtype text, control dtype text, schools_count dtype integer, counted percentage dtype text, awards per state value dtype text, awards per national value dtype real, expected award state value dtype text, expected award national value dtype integer, state appropriation value dtype text, state_appr_rank dtype text, grad_rate_rank dtype text, awards_per_rank dtype text,
college_completion
State the average median SAT value for institutes in the state with the most male graduate cohort in 2013.
median SAT value refers to med_sat_value; average = AVG(med_sat_value); male refers to gender = 'M'; graduate cohort refers to grad_cohort; most male graduate cohort refers to MAX(COUNT(grad_cohort WHERE gender = 'M')); in 2013 refers to year = 2013;
SELECT AVG(T1.med_sat_value) FROM institution_details AS T1 INNER JOIN state_sector_grads AS T2 ON T1.state = T2.state WHERE T2.year = 2013 AND T2.gender = 'M' GROUP BY T2.grad_cohort ORDER BY COUNT(T2.grad_cohort) DESC LIMIT 1
database name:db_id college_completion institution_details table institution_details Cols: Unit ID number dtype integer, chronname dtype text, city dtype text, state dtype text, level dtype text, control dtype text, basic dtype text, Historically Black College and Universities dtype text, flagship dtype text, long_x dtype real, lat_y dtype real, site dtype text, student count dtype integer, awards per value dtype real, awards per state value dtype real, awards per national value dtype real, expected award value dtype integer, expected award state value dtype integer, expected award national value dtype integer, exp_award_percentile dtype integer, Full-time percentage dtype real, Full-time percentage dtype integer, fte_percentile dtype integer, median SAT value dtype text, median SAT percentile dtype text, aid value dtype integer, aid percentile dtype integer, endow value dtype text, endow percentile dtype text, graduation 100 value dtype real, graduation 100 percentile dtype integer, graduation 150 value dtype real, graduation 150 percentile dtype integer, pell value dtype real, pell percentile dtype integer, retain value dtype real, retain percentile dtype integer, full time faculty value dtype real, full time faculty percentile dtype integer, voluntary system of accountability year dtype text, voluntary system of accountability after 4 year first time dtype text, voluntary system of accountability graduation elsewhere after 4 year first time dtype text, voluntary system of accountability enrollment after 4 year first time dtype text, voluntary system of accountability enrollment elsewhere after 4 year first time dtype text, voluntary system of accountability graduation elsewhere after 6 year first time dtype text, voluntary system of accountability graduation elsewhere after 6 year first time dtype text, voluntary system of accountability enrollment after 6 year first time dtype text, voluntary system of accountability enrollment elsewhere after 6 year first time dtype text, voluntary system of accountability transfer after 6 year first time dtype text, voluntary system of accountability graduation elsewhere after 4 year dtype text, voluntary system of accountability enrollment after 4 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 4 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 6 years transfer dtype text, voluntary system of accountability graduation elsewhere after 6 years transfer dtype text, voluntary system of accountability enrollment after 6 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 6 years transfer dtype text, similar dtype text, state_sector_ct dtype integer, carnegie_ct dtype integer, counted_pct dtype text, nicknames dtype text, cohort_size dtype integer, institution_grads table institution_grads Cols: unit id dtype integer, year dtype integer, gender dtype text, race dtype text, cohort dtype text, graduation cohort dtype text, graduation 100 dtype text, graduation 150 dtype text, grad_100_rate dtype text, grad_150_rate dtype text, state_sector_grads table state_sector_grads Cols: state id dtype integer, state name dtype text, state_abbr dtype text, control dtype text, level dtype text, year dtype integer, gender dtype text, race dtype text, cohort dtype text, graduation cohort dtype text, graduation 100 dtype text, graduation 150 dtype text, grad_100_rate dtype text, grad_150_rate dtype text, graduation cohort count dtype integer, state_sector_details table state_sector_details Cols: state id dtype integer, state name dtype text, state_post dtype text, level dtype text, control dtype text, schools_count dtype integer, counted percentage dtype text, awards per state value dtype text, awards per national value dtype real, expected award state value dtype text, expected award national value dtype integer, state appropriation value dtype text, state_appr_rank dtype text, grad_rate_rank dtype text, awards_per_rank dtype text,
college_completion
Name the state with the most number of graduate cohort in 2012 from private institute for profit? List all such institutes in the mentioned state.
most number of graduate cohort refers to MAX(SUM(grad_cohort)); in 2012 refers to year = 2012; private institute for profit refers to control = 'Private for-profit'; institutes refers to chronname;
SELECT T1.state, T1.chronname FROM institution_details AS T1 INNER JOIN state_sector_grads AS T2 ON T1.state = T2.state WHERE T2.year = 2012 AND T1.control = 'Private for-profit' GROUP BY T2.grad_cohort ORDER BY COUNT(T2.grad_cohort) DESC LIMIT 1
database name:db_id college_completion institution_details table institution_details Cols: Unit ID number dtype integer, chronname dtype text, city dtype text, state dtype text, level dtype text, control dtype text, basic dtype text, Historically Black College and Universities dtype text, flagship dtype text, long_x dtype real, lat_y dtype real, site dtype text, student count dtype integer, awards per value dtype real, awards per state value dtype real, awards per national value dtype real, expected award value dtype integer, expected award state value dtype integer, expected award national value dtype integer, exp_award_percentile dtype integer, Full-time percentage dtype real, Full-time percentage dtype integer, fte_percentile dtype integer, median SAT value dtype text, median SAT percentile dtype text, aid value dtype integer, aid percentile dtype integer, endow value dtype text, endow percentile dtype text, graduation 100 value dtype real, graduation 100 percentile dtype integer, graduation 150 value dtype real, graduation 150 percentile dtype integer, pell value dtype real, pell percentile dtype integer, retain value dtype real, retain percentile dtype integer, full time faculty value dtype real, full time faculty percentile dtype integer, voluntary system of accountability year dtype text, voluntary system of accountability after 4 year first time dtype text, voluntary system of accountability graduation elsewhere after 4 year first time dtype text, voluntary system of accountability enrollment after 4 year first time dtype text, voluntary system of accountability enrollment elsewhere after 4 year first time dtype text, voluntary system of accountability graduation elsewhere after 6 year first time dtype text, voluntary system of accountability graduation elsewhere after 6 year first time dtype text, voluntary system of accountability enrollment after 6 year first time dtype text, voluntary system of accountability enrollment elsewhere after 6 year first time dtype text, voluntary system of accountability transfer after 6 year first time dtype text, voluntary system of accountability graduation elsewhere after 4 year dtype text, voluntary system of accountability enrollment after 4 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 4 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 6 years transfer dtype text, voluntary system of accountability graduation elsewhere after 6 years transfer dtype text, voluntary system of accountability enrollment after 6 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 6 years transfer dtype text, similar dtype text, state_sector_ct dtype integer, carnegie_ct dtype integer, counted_pct dtype text, nicknames dtype text, cohort_size dtype integer, institution_grads table institution_grads Cols: unit id dtype integer, year dtype integer, gender dtype text, race dtype text, cohort dtype text, graduation cohort dtype text, graduation 100 dtype text, graduation 150 dtype text, grad_100_rate dtype text, grad_150_rate dtype text, state_sector_grads table state_sector_grads Cols: state id dtype integer, state name dtype text, state_abbr dtype text, control dtype text, level dtype text, year dtype integer, gender dtype text, race dtype text, cohort dtype text, graduation cohort dtype text, graduation 100 dtype text, graduation 150 dtype text, grad_100_rate dtype text, grad_150_rate dtype text, graduation cohort count dtype integer, state_sector_details table state_sector_details Cols: state id dtype integer, state name dtype text, state_post dtype text, level dtype text, control dtype text, schools_count dtype integer, counted percentage dtype text, awards per state value dtype text, awards per national value dtype real, expected award state value dtype text, expected award national value dtype integer, state appropriation value dtype text, state_appr_rank dtype text, grad_rate_rank dtype text, awards_per_rank dtype text,
college_completion
List all the public institutes from the state with the least number of graduate cohort in 2013.
public refers to control = 'Public'; institutes refers to chronname; least number of graduate cohort refers to MIN(grad_cohort); in 2013 refers to year = 2013;
SELECT T1.chronname FROM institution_details AS T1 INNER JOIN state_sector_grads AS T2 ON T1.state = T2.state WHERE T2.year = 2013 AND T1.control = 'Public' ORDER BY T2.grad_cohort LIMIT 1
database name:db_id college_completion institution_details table institution_details Cols: Unit ID number dtype integer, chronname dtype text, city dtype text, state dtype text, level dtype text, control dtype text, basic dtype text, Historically Black College and Universities dtype text, flagship dtype text, long_x dtype real, lat_y dtype real, site dtype text, student count dtype integer, awards per value dtype real, awards per state value dtype real, awards per national value dtype real, expected award value dtype integer, expected award state value dtype integer, expected award national value dtype integer, exp_award_percentile dtype integer, Full-time percentage dtype real, Full-time percentage dtype integer, fte_percentile dtype integer, median SAT value dtype text, median SAT percentile dtype text, aid value dtype integer, aid percentile dtype integer, endow value dtype text, endow percentile dtype text, graduation 100 value dtype real, graduation 100 percentile dtype integer, graduation 150 value dtype real, graduation 150 percentile dtype integer, pell value dtype real, pell percentile dtype integer, retain value dtype real, retain percentile dtype integer, full time faculty value dtype real, full time faculty percentile dtype integer, voluntary system of accountability year dtype text, voluntary system of accountability after 4 year first time dtype text, voluntary system of accountability graduation elsewhere after 4 year first time dtype text, voluntary system of accountability enrollment after 4 year first time dtype text, voluntary system of accountability enrollment elsewhere after 4 year first time dtype text, voluntary system of accountability graduation elsewhere after 6 year first time dtype text, voluntary system of accountability graduation elsewhere after 6 year first time dtype text, voluntary system of accountability enrollment after 6 year first time dtype text, voluntary system of accountability enrollment elsewhere after 6 year first time dtype text, voluntary system of accountability transfer after 6 year first time dtype text, voluntary system of accountability graduation elsewhere after 4 year dtype text, voluntary system of accountability enrollment after 4 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 4 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 6 years transfer dtype text, voluntary system of accountability graduation elsewhere after 6 years transfer dtype text, voluntary system of accountability enrollment after 6 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 6 years transfer dtype text, similar dtype text, state_sector_ct dtype integer, carnegie_ct dtype integer, counted_pct dtype text, nicknames dtype text, cohort_size dtype integer, institution_grads table institution_grads Cols: unit id dtype integer, year dtype integer, gender dtype text, race dtype text, cohort dtype text, graduation cohort dtype text, graduation 100 dtype text, graduation 150 dtype text, grad_100_rate dtype text, grad_150_rate dtype text, state_sector_grads table state_sector_grads Cols: state id dtype integer, state name dtype text, state_abbr dtype text, control dtype text, level dtype text, year dtype integer, gender dtype text, race dtype text, cohort dtype text, graduation cohort dtype text, graduation 100 dtype text, graduation 150 dtype text, grad_100_rate dtype text, grad_150_rate dtype text, graduation cohort count dtype integer, state_sector_details table state_sector_details Cols: state id dtype integer, state name dtype text, state_post dtype text, level dtype text, control dtype text, schools_count dtype integer, counted percentage dtype text, awards per state value dtype text, awards per national value dtype real, expected award state value dtype text, expected award national value dtype integer, state appropriation value dtype text, state_appr_rank dtype text, grad_rate_rank dtype text, awards_per_rank dtype text,
college_completion
Provide the institute name with less than 200 graduate cohort of all races and genders in 2013. Also, please state the total number of full-time equivalent undergraduates for the institute.
institute name refers to chronname; less than 200 graduate cohort refers to grad_cohort < 200; all races refers to race = 'X'; all genders refers to gender = 'B'; in 2013 refers to year = 2013; total number of full-time equivalent undergraduates refers to fte_value;
SELECT T1.chronname, T2.grad_cohort FROM institution_details AS T1 INNER JOIN institution_grads AS T2 ON T1.unitid = T2.unitid WHERE T2.year = 2013 AND T2.gender = 'B' AND T2.race = 'X' AND T2.grad_cohort < 200
database name:db_id college_completion institution_details table institution_details Cols: Unit ID number dtype integer, chronname dtype text, city dtype text, state dtype text, level dtype text, control dtype text, basic dtype text, Historically Black College and Universities dtype text, flagship dtype text, long_x dtype real, lat_y dtype real, site dtype text, student count dtype integer, awards per value dtype real, awards per state value dtype real, awards per national value dtype real, expected award value dtype integer, expected award state value dtype integer, expected award national value dtype integer, exp_award_percentile dtype integer, Full-time percentage dtype real, Full-time percentage dtype integer, fte_percentile dtype integer, median SAT value dtype text, median SAT percentile dtype text, aid value dtype integer, aid percentile dtype integer, endow value dtype text, endow percentile dtype text, graduation 100 value dtype real, graduation 100 percentile dtype integer, graduation 150 value dtype real, graduation 150 percentile dtype integer, pell value dtype real, pell percentile dtype integer, retain value dtype real, retain percentile dtype integer, full time faculty value dtype real, full time faculty percentile dtype integer, voluntary system of accountability year dtype text, voluntary system of accountability after 4 year first time dtype text, voluntary system of accountability graduation elsewhere after 4 year first time dtype text, voluntary system of accountability enrollment after 4 year first time dtype text, voluntary system of accountability enrollment elsewhere after 4 year first time dtype text, voluntary system of accountability graduation elsewhere after 6 year first time dtype text, voluntary system of accountability graduation elsewhere after 6 year first time dtype text, voluntary system of accountability enrollment after 6 year first time dtype text, voluntary system of accountability enrollment elsewhere after 6 year first time dtype text, voluntary system of accountability transfer after 6 year first time dtype text, voluntary system of accountability graduation elsewhere after 4 year dtype text, voluntary system of accountability enrollment after 4 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 4 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 6 years transfer dtype text, voluntary system of accountability graduation elsewhere after 6 years transfer dtype text, voluntary system of accountability enrollment after 6 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 6 years transfer dtype text, similar dtype text, state_sector_ct dtype integer, carnegie_ct dtype integer, counted_pct dtype text, nicknames dtype text, cohort_size dtype integer, institution_grads table institution_grads Cols: unit id dtype integer, year dtype integer, gender dtype text, race dtype text, cohort dtype text, graduation cohort dtype text, graduation 100 dtype text, graduation 150 dtype text, grad_100_rate dtype text, grad_150_rate dtype text, state_sector_grads table state_sector_grads Cols: state id dtype integer, state name dtype text, state_abbr dtype text, control dtype text, level dtype text, year dtype integer, gender dtype text, race dtype text, cohort dtype text, graduation cohort dtype text, graduation 100 dtype text, graduation 150 dtype text, grad_100_rate dtype text, grad_150_rate dtype text, graduation cohort count dtype integer, state_sector_details table state_sector_details Cols: state id dtype integer, state name dtype text, state_post dtype text, level dtype text, control dtype text, schools_count dtype integer, counted percentage dtype text, awards per state value dtype text, awards per national value dtype real, expected award state value dtype text, expected award national value dtype integer, state appropriation value dtype text, state_appr_rank dtype text, grad_rate_rank dtype text, awards_per_rank dtype text,
college_completion
What is the number of female graduate for all students cohort from Oakwood University in 2013?
female refers to gender = 'F'; graduates refers to grad_cohort; Oakwood University refers to chronname = 'Oakwood University'; in 2013 refers to year = 2013; all sutdents refer to rae = 'X';
SELECT COUNT(*) FROM institution_details AS T1 INNER JOIN institution_grads AS T2 ON T1.unitid = T2.unitid WHERE T2.year = 2013 AND T2.gender = 'F' AND T2.race = 'X' AND T1.chronname = 'Oakwood University'
database name:db_id college_completion institution_details table institution_details Cols: Unit ID number dtype integer, chronname dtype text, city dtype text, state dtype text, level dtype text, control dtype text, basic dtype text, Historically Black College and Universities dtype text, flagship dtype text, long_x dtype real, lat_y dtype real, site dtype text, student count dtype integer, awards per value dtype real, awards per state value dtype real, awards per national value dtype real, expected award value dtype integer, expected award state value dtype integer, expected award national value dtype integer, exp_award_percentile dtype integer, Full-time percentage dtype real, Full-time percentage dtype integer, fte_percentile dtype integer, median SAT value dtype text, median SAT percentile dtype text, aid value dtype integer, aid percentile dtype integer, endow value dtype text, endow percentile dtype text, graduation 100 value dtype real, graduation 100 percentile dtype integer, graduation 150 value dtype real, graduation 150 percentile dtype integer, pell value dtype real, pell percentile dtype integer, retain value dtype real, retain percentile dtype integer, full time faculty value dtype real, full time faculty percentile dtype integer, voluntary system of accountability year dtype text, voluntary system of accountability after 4 year first time dtype text, voluntary system of accountability graduation elsewhere after 4 year first time dtype text, voluntary system of accountability enrollment after 4 year first time dtype text, voluntary system of accountability enrollment elsewhere after 4 year first time dtype text, voluntary system of accountability graduation elsewhere after 6 year first time dtype text, voluntary system of accountability graduation elsewhere after 6 year first time dtype text, voluntary system of accountability enrollment after 6 year first time dtype text, voluntary system of accountability enrollment elsewhere after 6 year first time dtype text, voluntary system of accountability transfer after 6 year first time dtype text, voluntary system of accountability graduation elsewhere after 4 year dtype text, voluntary system of accountability enrollment after 4 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 4 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 6 years transfer dtype text, voluntary system of accountability graduation elsewhere after 6 years transfer dtype text, voluntary system of accountability enrollment after 6 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 6 years transfer dtype text, similar dtype text, state_sector_ct dtype integer, carnegie_ct dtype integer, counted_pct dtype text, nicknames dtype text, cohort_size dtype integer, institution_grads table institution_grads Cols: unit id dtype integer, year dtype integer, gender dtype text, race dtype text, cohort dtype text, graduation cohort dtype text, graduation 100 dtype text, graduation 150 dtype text, grad_100_rate dtype text, grad_150_rate dtype text, state_sector_grads table state_sector_grads Cols: state id dtype integer, state name dtype text, state_abbr dtype text, control dtype text, level dtype text, year dtype integer, gender dtype text, race dtype text, cohort dtype text, graduation cohort dtype text, graduation 100 dtype text, graduation 150 dtype text, grad_100_rate dtype text, grad_150_rate dtype text, graduation cohort count dtype integer, state_sector_details table state_sector_details Cols: state id dtype integer, state name dtype text, state_post dtype text, level dtype text, control dtype text, schools_count dtype integer, counted percentage dtype text, awards per state value dtype text, awards per national value dtype real, expected award state value dtype text, expected award national value dtype integer, state appropriation value dtype text, state_appr_rank dtype text, grad_rate_rank dtype text, awards_per_rank dtype text,
college_completion
In 2012, how many Asian female graduates were seeking another type of degree or certificate at the 4-year institution at University of Alaska at Anchorage?
In 2012 refers to year = 2012; Asian refers to race = 'A'; female refers to gender = 'F'; graduates refers to grad_cohort; seeking another type of degree or certificate at a 4-year institution refers to cohort = '4y other'; University of Alaska at Anchorage refers to chronname = 'University of Alaska at Anchorage';
SELECT COUNT(*) FROM institution_details AS T1 INNER JOIN institution_grads AS T2 ON T1.unitid = T2.unitid WHERE T2.gender = 'F' AND T2.race = 'A' AND T1.chronname = 'University of Alaska at Anchorage' AND T2.cohort = '4y other'
database name:db_id college_completion institution_details table institution_details Cols: Unit ID number dtype integer, chronname dtype text, city dtype text, state dtype text, level dtype text, control dtype text, basic dtype text, Historically Black College and Universities dtype text, flagship dtype text, long_x dtype real, lat_y dtype real, site dtype text, student count dtype integer, awards per value dtype real, awards per state value dtype real, awards per national value dtype real, expected award value dtype integer, expected award state value dtype integer, expected award national value dtype integer, exp_award_percentile dtype integer, Full-time percentage dtype real, Full-time percentage dtype integer, fte_percentile dtype integer, median SAT value dtype text, median SAT percentile dtype text, aid value dtype integer, aid percentile dtype integer, endow value dtype text, endow percentile dtype text, graduation 100 value dtype real, graduation 100 percentile dtype integer, graduation 150 value dtype real, graduation 150 percentile dtype integer, pell value dtype real, pell percentile dtype integer, retain value dtype real, retain percentile dtype integer, full time faculty value dtype real, full time faculty percentile dtype integer, voluntary system of accountability year dtype text, voluntary system of accountability after 4 year first time dtype text, voluntary system of accountability graduation elsewhere after 4 year first time dtype text, voluntary system of accountability enrollment after 4 year first time dtype text, voluntary system of accountability enrollment elsewhere after 4 year first time dtype text, voluntary system of accountability graduation elsewhere after 6 year first time dtype text, voluntary system of accountability graduation elsewhere after 6 year first time dtype text, voluntary system of accountability enrollment after 6 year first time dtype text, voluntary system of accountability enrollment elsewhere after 6 year first time dtype text, voluntary system of accountability transfer after 6 year first time dtype text, voluntary system of accountability graduation elsewhere after 4 year dtype text, voluntary system of accountability enrollment after 4 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 4 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 6 years transfer dtype text, voluntary system of accountability graduation elsewhere after 6 years transfer dtype text, voluntary system of accountability enrollment after 6 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 6 years transfer dtype text, similar dtype text, state_sector_ct dtype integer, carnegie_ct dtype integer, counted_pct dtype text, nicknames dtype text, cohort_size dtype integer, institution_grads table institution_grads Cols: unit id dtype integer, year dtype integer, gender dtype text, race dtype text, cohort dtype text, graduation cohort dtype text, graduation 100 dtype text, graduation 150 dtype text, grad_100_rate dtype text, grad_150_rate dtype text, state_sector_grads table state_sector_grads Cols: state id dtype integer, state name dtype text, state_abbr dtype text, control dtype text, level dtype text, year dtype integer, gender dtype text, race dtype text, cohort dtype text, graduation cohort dtype text, graduation 100 dtype text, graduation 150 dtype text, grad_100_rate dtype text, grad_150_rate dtype text, graduation cohort count dtype integer, state_sector_details table state_sector_details Cols: state id dtype integer, state name dtype text, state_post dtype text, level dtype text, control dtype text, schools_count dtype integer, counted percentage dtype text, awards per state value dtype text, awards per national value dtype real, expected award state value dtype text, expected award national value dtype integer, state appropriation value dtype text, state_appr_rank dtype text, grad_rate_rank dtype text, awards_per_rank dtype text,
college_completion
Compare the graduate cohort for Auburn University from 2011 to 2013?
graduate cohort for Auburn University refers to grad_cohort is not null WHERE chronname = 'Auburn University', gender = 'B', race = 'X' and cohort = '4y other', '4y bach'; from 2011 to 2013 refers to year in (2011, 2012, 2013);
SELECT SUM(CASE WHEN T2.year = 2011 THEN T2.grad_cohort ELSE 0 END), SUM(CASE WHEN T2.year = 2012 THEN T2.grad_cohort ELSE 0 END), SUM(CASE WHEN T2.year = 2013 THEN T2.grad_cohort ELSE 0 END) FROM institution_details AS T1 INNER JOIN institution_grads AS T2 ON T1.unitid = T2.unitid WHERE T2.gender = 'B' AND T2.race = 'X' AND T1.chronname = 'Auburn University'
database name:db_id college_completion institution_details table institution_details Cols: Unit ID number dtype integer, chronname dtype text, city dtype text, state dtype text, level dtype text, control dtype text, basic dtype text, Historically Black College and Universities dtype text, flagship dtype text, long_x dtype real, lat_y dtype real, site dtype text, student count dtype integer, awards per value dtype real, awards per state value dtype real, awards per national value dtype real, expected award value dtype integer, expected award state value dtype integer, expected award national value dtype integer, exp_award_percentile dtype integer, Full-time percentage dtype real, Full-time percentage dtype integer, fte_percentile dtype integer, median SAT value dtype text, median SAT percentile dtype text, aid value dtype integer, aid percentile dtype integer, endow value dtype text, endow percentile dtype text, graduation 100 value dtype real, graduation 100 percentile dtype integer, graduation 150 value dtype real, graduation 150 percentile dtype integer, pell value dtype real, pell percentile dtype integer, retain value dtype real, retain percentile dtype integer, full time faculty value dtype real, full time faculty percentile dtype integer, voluntary system of accountability year dtype text, voluntary system of accountability after 4 year first time dtype text, voluntary system of accountability graduation elsewhere after 4 year first time dtype text, voluntary system of accountability enrollment after 4 year first time dtype text, voluntary system of accountability enrollment elsewhere after 4 year first time dtype text, voluntary system of accountability graduation elsewhere after 6 year first time dtype text, voluntary system of accountability graduation elsewhere after 6 year first time dtype text, voluntary system of accountability enrollment after 6 year first time dtype text, voluntary system of accountability enrollment elsewhere after 6 year first time dtype text, voluntary system of accountability transfer after 6 year first time dtype text, voluntary system of accountability graduation elsewhere after 4 year dtype text, voluntary system of accountability enrollment after 4 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 4 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 6 years transfer dtype text, voluntary system of accountability graduation elsewhere after 6 years transfer dtype text, voluntary system of accountability enrollment after 6 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 6 years transfer dtype text, similar dtype text, state_sector_ct dtype integer, carnegie_ct dtype integer, counted_pct dtype text, nicknames dtype text, cohort_size dtype integer, institution_grads table institution_grads Cols: unit id dtype integer, year dtype integer, gender dtype text, race dtype text, cohort dtype text, graduation cohort dtype text, graduation 100 dtype text, graduation 150 dtype text, grad_100_rate dtype text, grad_150_rate dtype text, state_sector_grads table state_sector_grads Cols: state id dtype integer, state name dtype text, state_abbr dtype text, control dtype text, level dtype text, year dtype integer, gender dtype text, race dtype text, cohort dtype text, graduation cohort dtype text, graduation 100 dtype text, graduation 150 dtype text, grad_100_rate dtype text, grad_150_rate dtype text, graduation cohort count dtype integer, state_sector_details table state_sector_details Cols: state id dtype integer, state name dtype text, state_post dtype text, level dtype text, control dtype text, schools_count dtype integer, counted percentage dtype text, awards per state value dtype text, awards per national value dtype real, expected award state value dtype text, expected award national value dtype integer, state appropriation value dtype text, state_appr_rank dtype text, grad_rate_rank dtype text, awards_per_rank dtype text,
college_completion
Calculate the percentage of Black students in all private for profit institutions.
Black students refers to race = 'B'; private for profit refers to control = 'Private for-profit'; percentage = MULTIPLY(DIVIDE(SUM(race = 'B'), SUM(grad_cohort)), 100.0);
SELECT CAST(SUM(CASE WHEN T2.race = 'B' THEN 1 ELSE 0 END) AS REAL) * 100 / SUM(T2.grad_cohort) FROM institution_details AS T1 INNER JOIN institution_grads AS T2 ON T1.unitid = T2.unitid WHERE T2.race = 'B' AND T1.control = 'Private for-profit'
database name:db_id college_completion institution_details table institution_details Cols: Unit ID number dtype integer, chronname dtype text, city dtype text, state dtype text, level dtype text, control dtype text, basic dtype text, Historically Black College and Universities dtype text, flagship dtype text, long_x dtype real, lat_y dtype real, site dtype text, student count dtype integer, awards per value dtype real, awards per state value dtype real, awards per national value dtype real, expected award value dtype integer, expected award state value dtype integer, expected award national value dtype integer, exp_award_percentile dtype integer, Full-time percentage dtype real, Full-time percentage dtype integer, fte_percentile dtype integer, median SAT value dtype text, median SAT percentile dtype text, aid value dtype integer, aid percentile dtype integer, endow value dtype text, endow percentile dtype text, graduation 100 value dtype real, graduation 100 percentile dtype integer, graduation 150 value dtype real, graduation 150 percentile dtype integer, pell value dtype real, pell percentile dtype integer, retain value dtype real, retain percentile dtype integer, full time faculty value dtype real, full time faculty percentile dtype integer, voluntary system of accountability year dtype text, voluntary system of accountability after 4 year first time dtype text, voluntary system of accountability graduation elsewhere after 4 year first time dtype text, voluntary system of accountability enrollment after 4 year first time dtype text, voluntary system of accountability enrollment elsewhere after 4 year first time dtype text, voluntary system of accountability graduation elsewhere after 6 year first time dtype text, voluntary system of accountability graduation elsewhere after 6 year first time dtype text, voluntary system of accountability enrollment after 6 year first time dtype text, voluntary system of accountability enrollment elsewhere after 6 year first time dtype text, voluntary system of accountability transfer after 6 year first time dtype text, voluntary system of accountability graduation elsewhere after 4 year dtype text, voluntary system of accountability enrollment after 4 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 4 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 6 years transfer dtype text, voluntary system of accountability graduation elsewhere after 6 years transfer dtype text, voluntary system of accountability enrollment after 6 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 6 years transfer dtype text, similar dtype text, state_sector_ct dtype integer, carnegie_ct dtype integer, counted_pct dtype text, nicknames dtype text, cohort_size dtype integer, institution_grads table institution_grads Cols: unit id dtype integer, year dtype integer, gender dtype text, race dtype text, cohort dtype text, graduation cohort dtype text, graduation 100 dtype text, graduation 150 dtype text, grad_100_rate dtype text, grad_150_rate dtype text, state_sector_grads table state_sector_grads Cols: state id dtype integer, state name dtype text, state_abbr dtype text, control dtype text, level dtype text, year dtype integer, gender dtype text, race dtype text, cohort dtype text, graduation cohort dtype text, graduation 100 dtype text, graduation 150 dtype text, grad_100_rate dtype text, grad_150_rate dtype text, graduation cohort count dtype integer, state_sector_details table state_sector_details Cols: state id dtype integer, state name dtype text, state_post dtype text, level dtype text, control dtype text, schools_count dtype integer, counted percentage dtype text, awards per state value dtype text, awards per national value dtype real, expected award state value dtype text, expected award national value dtype integer, state appropriation value dtype text, state_appr_rank dtype text, grad_rate_rank dtype text, awards_per_rank dtype text,
college_completion
Calculate the percentage of Asian students among students of other races who graduated from institution in Alabama in year 2013 within 100 percent of normal / expected time.
Asian refers to race = 'A'; Alabama refers to state = 'Alabama'; graduated within 100 percent of normal/expected time refers to grad_100; percentage = MULTIPLY(DIVIDE(SUM(race = 'A'), SUM(grad_cohort)), 100);
SELECT CAST(SUM(CASE WHEN T2.race = 'A' THEN 1 ELSE 0 END) AS REAL) * 100 / SUM(T2.grad_cohort) FROM institution_details AS T1 INNER JOIN institution_grads AS T2 ON T1.unitid = T2.unitid WHERE T2.year = 2013 AND T1.state = 'Alabama'
database name:db_id college_completion institution_details table institution_details Cols: Unit ID number dtype integer, chronname dtype text, city dtype text, state dtype text, level dtype text, control dtype text, basic dtype text, Historically Black College and Universities dtype text, flagship dtype text, long_x dtype real, lat_y dtype real, site dtype text, student count dtype integer, awards per value dtype real, awards per state value dtype real, awards per national value dtype real, expected award value dtype integer, expected award state value dtype integer, expected award national value dtype integer, exp_award_percentile dtype integer, Full-time percentage dtype real, Full-time percentage dtype integer, fte_percentile dtype integer, median SAT value dtype text, median SAT percentile dtype text, aid value dtype integer, aid percentile dtype integer, endow value dtype text, endow percentile dtype text, graduation 100 value dtype real, graduation 100 percentile dtype integer, graduation 150 value dtype real, graduation 150 percentile dtype integer, pell value dtype real, pell percentile dtype integer, retain value dtype real, retain percentile dtype integer, full time faculty value dtype real, full time faculty percentile dtype integer, voluntary system of accountability year dtype text, voluntary system of accountability after 4 year first time dtype text, voluntary system of accountability graduation elsewhere after 4 year first time dtype text, voluntary system of accountability enrollment after 4 year first time dtype text, voluntary system of accountability enrollment elsewhere after 4 year first time dtype text, voluntary system of accountability graduation elsewhere after 6 year first time dtype text, voluntary system of accountability graduation elsewhere after 6 year first time dtype text, voluntary system of accountability enrollment after 6 year first time dtype text, voluntary system of accountability enrollment elsewhere after 6 year first time dtype text, voluntary system of accountability transfer after 6 year first time dtype text, voluntary system of accountability graduation elsewhere after 4 year dtype text, voluntary system of accountability enrollment after 4 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 4 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 6 years transfer dtype text, voluntary system of accountability graduation elsewhere after 6 years transfer dtype text, voluntary system of accountability enrollment after 6 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 6 years transfer dtype text, similar dtype text, state_sector_ct dtype integer, carnegie_ct dtype integer, counted_pct dtype text, nicknames dtype text, cohort_size dtype integer, institution_grads table institution_grads Cols: unit id dtype integer, year dtype integer, gender dtype text, race dtype text, cohort dtype text, graduation cohort dtype text, graduation 100 dtype text, graduation 150 dtype text, grad_100_rate dtype text, grad_150_rate dtype text, state_sector_grads table state_sector_grads Cols: state id dtype integer, state name dtype text, state_abbr dtype text, control dtype text, level dtype text, year dtype integer, gender dtype text, race dtype text, cohort dtype text, graduation cohort dtype text, graduation 100 dtype text, graduation 150 dtype text, grad_100_rate dtype text, grad_150_rate dtype text, graduation cohort count dtype integer, state_sector_details table state_sector_details Cols: state id dtype integer, state name dtype text, state_post dtype text, level dtype text, control dtype text, schools_count dtype integer, counted percentage dtype text, awards per state value dtype text, awards per national value dtype real, expected award state value dtype text, expected award national value dtype integer, state appropriation value dtype text, state_appr_rank dtype text, grad_rate_rank dtype text, awards_per_rank dtype text,
college_completion
What is the ratio of Asian male graduates to Asian female graduates from Harvard University in 2013?
ratio = MULTIPLY(DIVIDE(SUM(grad_cohort WHERE Gender = 'M'), SUM( grad_cohort WHERE Gender = 'F')), 1.0); Asian refers to race = 'A'; female refers to gender = 'F'; graduates refers to grad_cohort; male refers to gender = 'M'; Harvard University refers to chronname = 'Harvard University'; in 2013 refers to year = 2013;
SELECT CAST(SUM(CASE WHEN T2.Gender = 'M' THEN T2.grad_cohort ELSE 0 END) AS REAL) / SUM(CASE WHEN T2.Gender = 'F' THEN T2.grad_cohort ELSE 0 END) FROM institution_details AS T1 INNER JOIN institution_grads AS T2 ON T1.unitid = T2.unitid WHERE T1.chronname = 'Harvard University' AND T2.year = 2013 AND T2.race = 'A'
database name:db_id college_completion institution_details table institution_details Cols: Unit ID number dtype integer, chronname dtype text, city dtype text, state dtype text, level dtype text, control dtype text, basic dtype text, Historically Black College and Universities dtype text, flagship dtype text, long_x dtype real, lat_y dtype real, site dtype text, student count dtype integer, awards per value dtype real, awards per state value dtype real, awards per national value dtype real, expected award value dtype integer, expected award state value dtype integer, expected award national value dtype integer, exp_award_percentile dtype integer, Full-time percentage dtype real, Full-time percentage dtype integer, fte_percentile dtype integer, median SAT value dtype text, median SAT percentile dtype text, aid value dtype integer, aid percentile dtype integer, endow value dtype text, endow percentile dtype text, graduation 100 value dtype real, graduation 100 percentile dtype integer, graduation 150 value dtype real, graduation 150 percentile dtype integer, pell value dtype real, pell percentile dtype integer, retain value dtype real, retain percentile dtype integer, full time faculty value dtype real, full time faculty percentile dtype integer, voluntary system of accountability year dtype text, voluntary system of accountability after 4 year first time dtype text, voluntary system of accountability graduation elsewhere after 4 year first time dtype text, voluntary system of accountability enrollment after 4 year first time dtype text, voluntary system of accountability enrollment elsewhere after 4 year first time dtype text, voluntary system of accountability graduation elsewhere after 6 year first time dtype text, voluntary system of accountability graduation elsewhere after 6 year first time dtype text, voluntary system of accountability enrollment after 6 year first time dtype text, voluntary system of accountability enrollment elsewhere after 6 year first time dtype text, voluntary system of accountability transfer after 6 year first time dtype text, voluntary system of accountability graduation elsewhere after 4 year dtype text, voluntary system of accountability enrollment after 4 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 4 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 6 years transfer dtype text, voluntary system of accountability graduation elsewhere after 6 years transfer dtype text, voluntary system of accountability enrollment after 6 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 6 years transfer dtype text, similar dtype text, state_sector_ct dtype integer, carnegie_ct dtype integer, counted_pct dtype text, nicknames dtype text, cohort_size dtype integer, institution_grads table institution_grads Cols: unit id dtype integer, year dtype integer, gender dtype text, race dtype text, cohort dtype text, graduation cohort dtype text, graduation 100 dtype text, graduation 150 dtype text, grad_100_rate dtype text, grad_150_rate dtype text, state_sector_grads table state_sector_grads Cols: state id dtype integer, state name dtype text, state_abbr dtype text, control dtype text, level dtype text, year dtype integer, gender dtype text, race dtype text, cohort dtype text, graduation cohort dtype text, graduation 100 dtype text, graduation 150 dtype text, grad_100_rate dtype text, grad_150_rate dtype text, graduation cohort count dtype integer, state_sector_details table state_sector_details Cols: state id dtype integer, state name dtype text, state_post dtype text, level dtype text, control dtype text, schools_count dtype integer, counted percentage dtype text, awards per state value dtype text, awards per national value dtype real, expected award state value dtype text, expected award national value dtype integer, state appropriation value dtype text, state_appr_rank dtype text, grad_rate_rank dtype text, awards_per_rank dtype text,
college_completion
From which institute is harder to graduate for a bachelor, Amridge University or Auburn University?
institute refers to chronname; harder to graduate for a bachelor refers to MIN(grad_100_value); Amridge University refers to chronname = 'Amridge University'; Auburn University refers to chronname = 'Auburn University';
SELECT chronname FROM institution_details WHERE chronname IN ('Amridge University', 'Auburn University') ORDER BY grad_100_value LIMIT 1
database name:db_id college_completion institution_details table institution_details Cols: Unit ID number dtype integer, chronname dtype text, city dtype text, state dtype text, level dtype text, control dtype text, basic dtype text, Historically Black College and Universities dtype text, flagship dtype text, long_x dtype real, lat_y dtype real, site dtype text, student count dtype integer, awards per value dtype real, awards per state value dtype real, awards per national value dtype real, expected award value dtype integer, expected award state value dtype integer, expected award national value dtype integer, exp_award_percentile dtype integer, Full-time percentage dtype real, Full-time percentage dtype integer, fte_percentile dtype integer, median SAT value dtype text, median SAT percentile dtype text, aid value dtype integer, aid percentile dtype integer, endow value dtype text, endow percentile dtype text, graduation 100 value dtype real, graduation 100 percentile dtype integer, graduation 150 value dtype real, graduation 150 percentile dtype integer, pell value dtype real, pell percentile dtype integer, retain value dtype real, retain percentile dtype integer, full time faculty value dtype real, full time faculty percentile dtype integer, voluntary system of accountability year dtype text, voluntary system of accountability after 4 year first time dtype text, voluntary system of accountability graduation elsewhere after 4 year first time dtype text, voluntary system of accountability enrollment after 4 year first time dtype text, voluntary system of accountability enrollment elsewhere after 4 year first time dtype text, voluntary system of accountability graduation elsewhere after 6 year first time dtype text, voluntary system of accountability graduation elsewhere after 6 year first time dtype text, voluntary system of accountability enrollment after 6 year first time dtype text, voluntary system of accountability enrollment elsewhere after 6 year first time dtype text, voluntary system of accountability transfer after 6 year first time dtype text, voluntary system of accountability graduation elsewhere after 4 year dtype text, voluntary system of accountability enrollment after 4 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 4 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 6 years transfer dtype text, voluntary system of accountability graduation elsewhere after 6 years transfer dtype text, voluntary system of accountability enrollment after 6 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 6 years transfer dtype text, similar dtype text, state_sector_ct dtype integer, carnegie_ct dtype integer, counted_pct dtype text, nicknames dtype text, cohort_size dtype integer, institution_grads table institution_grads Cols: unit id dtype integer, year dtype integer, gender dtype text, race dtype text, cohort dtype text, graduation cohort dtype text, graduation 100 dtype text, graduation 150 dtype text, grad_100_rate dtype text, grad_150_rate dtype text, state_sector_grads table state_sector_grads Cols: state id dtype integer, state name dtype text, state_abbr dtype text, control dtype text, level dtype text, year dtype integer, gender dtype text, race dtype text, cohort dtype text, graduation cohort dtype text, graduation 100 dtype text, graduation 150 dtype text, grad_100_rate dtype text, grad_150_rate dtype text, graduation cohort count dtype integer, state_sector_details table state_sector_details Cols: state id dtype integer, state name dtype text, state_post dtype text, level dtype text, control dtype text, schools_count dtype integer, counted percentage dtype text, awards per state value dtype text, awards per national value dtype real, expected award state value dtype text, expected award national value dtype integer, state appropriation value dtype text, state_appr_rank dtype text, grad_rate_rank dtype text, awards_per_rank dtype text,
college_completion
How many institutes are private and not-for profit?
private and not for profit refers to control = 'Private not-for-profit';
SELECT COUNT(*) FROM institution_details WHERE control = 'Private not-for-profit'
database name:db_id college_completion institution_details table institution_details Cols: Unit ID number dtype integer, chronname dtype text, city dtype text, state dtype text, level dtype text, control dtype text, basic dtype text, Historically Black College and Universities dtype text, flagship dtype text, long_x dtype real, lat_y dtype real, site dtype text, student count dtype integer, awards per value dtype real, awards per state value dtype real, awards per national value dtype real, expected award value dtype integer, expected award state value dtype integer, expected award national value dtype integer, exp_award_percentile dtype integer, Full-time percentage dtype real, Full-time percentage dtype integer, fte_percentile dtype integer, median SAT value dtype text, median SAT percentile dtype text, aid value dtype integer, aid percentile dtype integer, endow value dtype text, endow percentile dtype text, graduation 100 value dtype real, graduation 100 percentile dtype integer, graduation 150 value dtype real, graduation 150 percentile dtype integer, pell value dtype real, pell percentile dtype integer, retain value dtype real, retain percentile dtype integer, full time faculty value dtype real, full time faculty percentile dtype integer, voluntary system of accountability year dtype text, voluntary system of accountability after 4 year first time dtype text, voluntary system of accountability graduation elsewhere after 4 year first time dtype text, voluntary system of accountability enrollment after 4 year first time dtype text, voluntary system of accountability enrollment elsewhere after 4 year first time dtype text, voluntary system of accountability graduation elsewhere after 6 year first time dtype text, voluntary system of accountability graduation elsewhere after 6 year first time dtype text, voluntary system of accountability enrollment after 6 year first time dtype text, voluntary system of accountability enrollment elsewhere after 6 year first time dtype text, voluntary system of accountability transfer after 6 year first time dtype text, voluntary system of accountability graduation elsewhere after 4 year dtype text, voluntary system of accountability enrollment after 4 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 4 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 6 years transfer dtype text, voluntary system of accountability graduation elsewhere after 6 years transfer dtype text, voluntary system of accountability enrollment after 6 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 6 years transfer dtype text, similar dtype text, state_sector_ct dtype integer, carnegie_ct dtype integer, counted_pct dtype text, nicknames dtype text, cohort_size dtype integer, institution_grads table institution_grads Cols: unit id dtype integer, year dtype integer, gender dtype text, race dtype text, cohort dtype text, graduation cohort dtype text, graduation 100 dtype text, graduation 150 dtype text, grad_100_rate dtype text, grad_150_rate dtype text, state_sector_grads table state_sector_grads Cols: state id dtype integer, state name dtype text, state_abbr dtype text, control dtype text, level dtype text, year dtype integer, gender dtype text, race dtype text, cohort dtype text, graduation cohort dtype text, graduation 100 dtype text, graduation 150 dtype text, grad_100_rate dtype text, grad_150_rate dtype text, graduation cohort count dtype integer, state_sector_details table state_sector_details Cols: state id dtype integer, state name dtype text, state_post dtype text, level dtype text, control dtype text, schools_count dtype integer, counted percentage dtype text, awards per state value dtype text, awards per national value dtype real, expected award state value dtype text, expected award national value dtype integer, state appropriation value dtype text, state_appr_rank dtype text, grad_rate_rank dtype text, awards_per_rank dtype text,
college_completion
In total, how many Hispanic male students graduated from Amridge University?
Hispanic refers to race = 'H'; male refers to gender = 'M'; Amridge University refers to chronname = 'Amridge University';
SELECT SUM(T2.grad_cohort) FROM institution_details AS T1 INNER JOIN institution_grads AS T2 ON T1.unitid = T2.unitid WHERE T1.chronname = 'Amridge University' AND T2.gender = 'M' AND T2.race = 'H'
database name:db_id college_completion institution_details table institution_details Cols: Unit ID number dtype integer, chronname dtype text, city dtype text, state dtype text, level dtype text, control dtype text, basic dtype text, Historically Black College and Universities dtype text, flagship dtype text, long_x dtype real, lat_y dtype real, site dtype text, student count dtype integer, awards per value dtype real, awards per state value dtype real, awards per national value dtype real, expected award value dtype integer, expected award state value dtype integer, expected award national value dtype integer, exp_award_percentile dtype integer, Full-time percentage dtype real, Full-time percentage dtype integer, fte_percentile dtype integer, median SAT value dtype text, median SAT percentile dtype text, aid value dtype integer, aid percentile dtype integer, endow value dtype text, endow percentile dtype text, graduation 100 value dtype real, graduation 100 percentile dtype integer, graduation 150 value dtype real, graduation 150 percentile dtype integer, pell value dtype real, pell percentile dtype integer, retain value dtype real, retain percentile dtype integer, full time faculty value dtype real, full time faculty percentile dtype integer, voluntary system of accountability year dtype text, voluntary system of accountability after 4 year first time dtype text, voluntary system of accountability graduation elsewhere after 4 year first time dtype text, voluntary system of accountability enrollment after 4 year first time dtype text, voluntary system of accountability enrollment elsewhere after 4 year first time dtype text, voluntary system of accountability graduation elsewhere after 6 year first time dtype text, voluntary system of accountability graduation elsewhere after 6 year first time dtype text, voluntary system of accountability enrollment after 6 year first time dtype text, voluntary system of accountability enrollment elsewhere after 6 year first time dtype text, voluntary system of accountability transfer after 6 year first time dtype text, voluntary system of accountability graduation elsewhere after 4 year dtype text, voluntary system of accountability enrollment after 4 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 4 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 6 years transfer dtype text, voluntary system of accountability graduation elsewhere after 6 years transfer dtype text, voluntary system of accountability enrollment after 6 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 6 years transfer dtype text, similar dtype text, state_sector_ct dtype integer, carnegie_ct dtype integer, counted_pct dtype text, nicknames dtype text, cohort_size dtype integer, institution_grads table institution_grads Cols: unit id dtype integer, year dtype integer, gender dtype text, race dtype text, cohort dtype text, graduation cohort dtype text, graduation 100 dtype text, graduation 150 dtype text, grad_100_rate dtype text, grad_150_rate dtype text, state_sector_grads table state_sector_grads Cols: state id dtype integer, state name dtype text, state_abbr dtype text, control dtype text, level dtype text, year dtype integer, gender dtype text, race dtype text, cohort dtype text, graduation cohort dtype text, graduation 100 dtype text, graduation 150 dtype text, grad_100_rate dtype text, grad_150_rate dtype text, graduation cohort count dtype integer, state_sector_details table state_sector_details Cols: state id dtype integer, state name dtype text, state_post dtype text, level dtype text, control dtype text, schools_count dtype integer, counted percentage dtype text, awards per state value dtype text, awards per national value dtype real, expected award state value dtype text, expected award national value dtype integer, state appropriation value dtype text, state_appr_rank dtype text, grad_rate_rank dtype text, awards_per_rank dtype text,
college_completion
How many students that graduated from Lincoln College in 2011 belong to the cohort type of Bachelor's/equivalent seeking cohort at 4-year institutions?
Lincoln College refers to chronname = 'Lincoln College'; in 2011 refers to year = 2011; Bachelor's/equivalent seeking cohort at 4-year institutions refers to cohort = '4y bach';
SELECT COUNT(T1.unitid) FROM institution_details AS T1 INNER JOIN institution_grads AS T2 ON T1.unitid = T2.unitid WHERE T1.chronname = 'Lincoln College' AND T2.year = 2011 AND T2.cohort = '4y bach'
database name:db_id college_completion institution_details table institution_details Cols: Unit ID number dtype integer, chronname dtype text, city dtype text, state dtype text, level dtype text, control dtype text, basic dtype text, Historically Black College and Universities dtype text, flagship dtype text, long_x dtype real, lat_y dtype real, site dtype text, student count dtype integer, awards per value dtype real, awards per state value dtype real, awards per national value dtype real, expected award value dtype integer, expected award state value dtype integer, expected award national value dtype integer, exp_award_percentile dtype integer, Full-time percentage dtype real, Full-time percentage dtype integer, fte_percentile dtype integer, median SAT value dtype text, median SAT percentile dtype text, aid value dtype integer, aid percentile dtype integer, endow value dtype text, endow percentile dtype text, graduation 100 value dtype real, graduation 100 percentile dtype integer, graduation 150 value dtype real, graduation 150 percentile dtype integer, pell value dtype real, pell percentile dtype integer, retain value dtype real, retain percentile dtype integer, full time faculty value dtype real, full time faculty percentile dtype integer, voluntary system of accountability year dtype text, voluntary system of accountability after 4 year first time dtype text, voluntary system of accountability graduation elsewhere after 4 year first time dtype text, voluntary system of accountability enrollment after 4 year first time dtype text, voluntary system of accountability enrollment elsewhere after 4 year first time dtype text, voluntary system of accountability graduation elsewhere after 6 year first time dtype text, voluntary system of accountability graduation elsewhere after 6 year first time dtype text, voluntary system of accountability enrollment after 6 year first time dtype text, voluntary system of accountability enrollment elsewhere after 6 year first time dtype text, voluntary system of accountability transfer after 6 year first time dtype text, voluntary system of accountability graduation elsewhere after 4 year dtype text, voluntary system of accountability enrollment after 4 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 4 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 6 years transfer dtype text, voluntary system of accountability graduation elsewhere after 6 years transfer dtype text, voluntary system of accountability enrollment after 6 years transfer dtype text, voluntary system of accountability enrollment elsewhere after 6 years transfer dtype text, similar dtype text, state_sector_ct dtype integer, carnegie_ct dtype integer, counted_pct dtype text, nicknames dtype text, cohort_size dtype integer, institution_grads table institution_grads Cols: unit id dtype integer, year dtype integer, gender dtype text, race dtype text, cohort dtype text, graduation cohort dtype text, graduation 100 dtype text, graduation 150 dtype text, grad_100_rate dtype text, grad_150_rate dtype text, state_sector_grads table state_sector_grads Cols: state id dtype integer, state name dtype text, state_abbr dtype text, control dtype text, level dtype text, year dtype integer, gender dtype text, race dtype text, cohort dtype text, graduation cohort dtype text, graduation 100 dtype text, graduation 150 dtype text, grad_100_rate dtype text, grad_150_rate dtype text, graduation cohort count dtype integer, state_sector_details table state_sector_details Cols: state id dtype integer, state name dtype text, state_post dtype text, level dtype text, control dtype text, schools_count dtype integer, counted percentage dtype text, awards per state value dtype text, awards per national value dtype real, expected award state value dtype text, expected award national value dtype integer, state appropriation value dtype text, state_appr_rank dtype text, grad_rate_rank dtype text, awards_per_rank dtype text,