db_id
stringclasses
69 values
schema
stringclasses
69 values
m_schema
stringclasses
69 values
question
stringlengths
24
325
sql
stringlengths
23
804
evidence
stringlengths
0
673
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
Find the names of papers which are published in the year 1996.
SELECT Title FROM Paper WHERE year = 1996
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
List the title and author's name of papers published in the 2007 Neoplasia journal.
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
published in the 2007 refers to Year = 2007; Neoplasia journal refers to FullName = 'Neoplasia'
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
Among the authors affiliated with Soongsil University, list the authors' names and papers published during the year 2000.
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
authors affiliated with Soongsil University refers to Affiliation = 'Soongsil University'
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
Give the title and author's name of the papers published between 2000 and 2005 that include the topic 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 <> ''
published between 2000 and 2005 refers to Year BETWEEN 2000 AND 2005; include the topic optical properties refers to Keyword LIKE '%optical properties%'
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
What is the average number of papers published in the World Computer Congress each year?
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
published in the World Computer Congress refers to FullName = 'World Computer Congress'; average refers to DIVIDE(COUNT(FullName = 'World Computer Congress'), COUNT(Id))
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
Give the Title and author's name of the books that were preprint in 1997.
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 <> ''
in 1997 refers to Year = 1997; books that were preprint refers to ConferenceId = 0 AND JournalId = 0
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
Write the titles of papers published by Adam Jones and the journal name in which it was published from 2005 to 2010.
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
published from 2005 to 2010 refers to Year BETWEEN 2005 AND 2010; published by Adam Jones refers to Name = 'Adam Jones'
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
How many authors is affiliated to the organization "Otterbein University"?
SELECT COUNT(Name) FROM Author WHERE Affiliation = 'Otterbein University'
Otterbein University is an Affiliation
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
How many authors drafted the paper "Subcellular localization of nuclease in barley aleurone"?
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'
'Subcellular localization of nuclease in barley aleurone' is the title of paper
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
What is the full name of the conference in which the paper titled "Extended Fuzzy Regression Models" was published?
SELECT T2.FullName FROM Paper AS T1 INNER JOIN Conference AS T2 ON T1.ConferenceId = T2.Id WHERE T1.Title = 'Extended Fuzzy Regression Models'
'Extended Fuzzy Regression Models' is the title of paper; full name of the conference refers to FullName
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
How many papers are published under the conference "Mathematics of Program Construction "?
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'
'Mathematics of Program Construction' is the FullName of conference
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
Who is the author of the paper titled "Open Sourcing Social Solutions (Building Communities of Change)"?
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)'
'Open Sourcing Social Solutions (Building Communities of Change)' is a title of the paper; author refers to PaperAuthor.Name
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
List all the title of the paper that Jianli Hua published.
SELECT T1.Title FROM Paper AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.PaperId WHERE T2.Name = 'Jianli Hua'
Jianli Hua is the author of a paper
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
Who authored the paper titled "Testing timed automata "?
SELECT T2.Name FROM Paper AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.PaperId WHERE T1.Title = 'Testing timed automata'
'Testing timed automata' is a title of a paper; Who authored refers to PaperAuthor.Name
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
How many papers are published in year 2000 under the conference "SSPR"?
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'
SSPR is a ShortName; papers refers to Paper.Id
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
List all the paper that the journal "Theoretical Computer Science " published in 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 <> ''
'Theoretical Computer Science' is the FullName; paper refers to Title; published in 2003 refers to Year = 2003
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
What is the conference homepage URL of the paper titled "Quality evaluation of long duration audiovisual content"?
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'
homepage URL refers to HomePage; 'Quality evaluation of long duration audiovisual content' is the Title
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
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 ?
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'
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
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
How many papers are published under the journal "Software - Practice and Experience"?
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'
papers refers to Paper.Id; 'Software - Practice and Experience' is the FullName of a journal;
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
List all the paper that were under the conference homepage URL "http://www.irma-international.org/".
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/'
paper refers to Paper.Title; http://www.irma-international.org/ is the HomePage
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
Calculate the total average number of papers published from 2002 to 2010 under the conference "Information and Knowledge Engineering".
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
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;
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
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"?
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
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 FullNa...
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
What is the short name for "Software - Concepts and Tools / Structured Programming"?
SELECT ShortName FROM Journal WHERE FullName = 'Software - Concepts and Tools / Structured Programming'
'Software - Concepts and Tools / Structured Programming' is the FullName;
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
Which journal was the paper "Education, democracy and growth" published on? Give the full name of the journal.
SELECT T1.FullName FROM Journal AS T1 INNER JOIN Paper AS T2 ON T1.Id = T2.JournalId WHERE T2.Title = 'Education, democracy and growth'
'Education, democracy and growth' is the title of a paper
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
Give the number of papers that were published on "IEEE Transactions on Nuclear Science" in 1999.
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
'IEEE Transactions on Nuclear Science' is the FullName of journal; 1999 refers to Year = '1999'; papers refers to Paper.Id
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
What was the name of the paper that was published on "IEEE Transactions on Pattern Analysis and Machine Intelligence" in 2011?
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 <> ''
'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
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
What are the keywords for the paper which was published on "Modeling Identification and Control" in 1994?
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
'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
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
For the paper which was presented by "Zvezdan Protić", was it preprinted?
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
Year = 0 means this paper is preprint, or not published
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
At which conference was the paper "Skew-Circulant Preconditioners for Systems of LMF-Based ODE Codes" presented?
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'
'Skew-Circulant Preconditioners for Systems of LMF-Based ODE Codes' is the Title of the paper; conference refers to Conference.FullName
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
Tell the number of papers that were presented at "International Symposium on Software Testing and Analysis" conference.
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'
'International Symposium on Software Testing and Analysis' is the FullName of the conference; papers refers to Paper.Id
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
Gives the home page of the conference where the paper "Increasing the Concurrency in Estelle" is presented.
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'
'Increasing the Concurrency in Estelle' is the Title of the paper; home page of the conference refers to HomePage;
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
How many authors finished the paper "An Improved Active Suspension Model for Attitude Control of Electric Vehicles" together?
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'
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.
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
In the year 2012, which conference had the most papers presented? Give the short name of the conference.
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
Papers refers to Paper.Id; short name of the conference refers to Conference.ShortName
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
How many papers were presented at 'ECSQARU' in 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'
Papers refers to Paper.Id; ECSQARU is the ShortName of the conference; 2003 refers to Year = '2003'
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
Show the keywords of the paper that was presented at "International Radar Symposium" in 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
'International Radar Symposium' is the FullName of the conference; 2012 refers to Year = '2012'
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
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?
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
'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 Fu...
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
What is the percentage of preprints of John Van Reenen's papers?
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'
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'))
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
What is the oldest published book?
SELECT Title FROM Paper WHERE Year > 0 ORDER BY Year ASC LIMIT 1
published book refers to Title; the oldest book refers to MIN(Year)
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
Which conference has the longest name?
SELECT FullName FROM Conference ORDER BY LENGTH(FullName) DESC LIMIT 1
the longest name refers to MAX(length(FullName))
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
How many authors are affiliated with NASA Langley Research Center?
SELECT COUNT(Name) FROM Author WHERE Affiliation = 'NASA Langley Research Center'
NASA Langley Research Center is the Affiliation
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
How many journals don’t have a short name?
SELECT COUNT(ShortName) FROM Journal WHERE ShortName = ''
don’t have a short name means ShortName is null
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
How many of the papers are preprinted?
SELECT COUNT(Id) FROM Paper WHERE ConferenceId = 0 AND JournalId = 0
year = 0 means this paper is preprint; papers refers to Paper.Id
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
What is the title of the paper with the most authors?
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
paper refers to paper.Id; paper with the most authors refers to MAX(PaperAuthor.PaperId)
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
Which paper published by the "TUBERCLE LUNG DIS" journal is the oldest?
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
paper refers to Title; TUBERCLE LUNG DIS is the ShortName of journal; the oldest refers to MIN(Year)
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
List all of the papers written by the author "Karin Rengefors."
SELECT T2.Title FROM PaperAuthor AS T1 INNER JOIN Paper AS T2 ON T1.PaperId = T2.Id WHERE T1.Name = 'Karin Rengefors'
all the papers refers to Title; Karin Rengefors is the Name of the author
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
How many papers were published by the "Virtual Reality, IEEE Annual International Symposium" conference in 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
'Virtual Reality, IEEE Annual International Symposium' is the FullName of conference; in 2012 refers to Year = 2012;
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
What is the short name for the journal that published the paper "A Case of Unilateral Ashy Dermatosis"?
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'
A Case of Unilateral Ashy Dermatosis refer to Title
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
What are the affiliations of the author "Mark A. Musen" written on and off paper?
SELECT T1.Affiliation FROM PaperAuthor AS T1 INNER JOIN Author AS T2 ON T1.AuthorId = T2.Id WHERE T2.Name = 'Mark A. Musen'
Mark A. Musen refer to Author.Name;
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
Who are the authors of the paper "Determination of Planetary Meteorology from Aerobot Flight Sensors"?
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'
'Determination of Planetary Meteorology from Aerobot Flight Sensors' refer to title of the paper
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
List all the titles and their publishing journals from the 60's.
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
from the 60’s refer to Year 1960 BETWEEN 1970
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
Which year did the "Internet, Multimedia Systems and Applications" conference publish the most papers?
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
'Internet, Multimedia Systems and Applications' is the FullName of paper; published the most papers refers to MAX(COUNT(year))
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
What are the different ways the name of the author, Randall Davis, is written on their papers?
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'
Randall Davis refer to Author.Name
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
List all of the conferences where a paper was published in 2008.
SELECT DISTINCT T2.FullName FROM Paper AS T1 INNER JOIN Conference AS T2 ON T1.ConferenceId = T2.Id WHERE T1.Year = 2008
Published in 2008 refer to Year = 2008
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
What is the homepage URL for the journal that published the most papers?
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
published the most papers refer to MAX(JournalId); homepage URL refers to HomePage
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
What is the proportion of the papers that have the keyword "cancer"? Please provide a list of authors and their affiliations.
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
Proportion refer to DIVIDE(COUNT(Keyword = ’cancer’), COUNT(PaperID))
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
What is the name of author with the ID of 1722?
SELECT Name FROM Author WHERE Id = 1722
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
How many papers are preprint or not published?
SELECT COUNT(Id) FROM Paper WHERE Year = 0 OR (ConferenceId = 0 AND JournalId = 0)
preprint or not published refer to Year = 0;
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
List the name of the author that affiliated with University of Illinois Chicago?
SELECT Name FROM Author WHERE Affiliation = 'University of Illinois Chicago'
'University of Illinois Chicago' is an affiliation
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
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.
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
published in 2005 refer to Year = 2005; Difference refer to SUBTRACT(SUM(Year = 2005). SUM(Year = 2004))
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
State the title of papers published in the Ibm Journal of Research and Development.
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'
Ibm Journal of Research and Development refer to FullName 'Ibm Journal of Research and Development' is the full name of paper
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
State the name and affiliation of author for the 'Education, democracy and growth' 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'
Education, democracy and growth' refer to title of paper
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
How many author published papers in the 'IEEE Computer' journal?
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'
IEEE Computer refer to FullName; How many author published papers refer to COUNT(PaperAuthor.Name) where FullName = ’IEEE Computer’
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
Where was the 'A context-based navigation paradigm for accessing Web data' paper published? State the name of the conference.
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'
A context-based navigation paradigm for accessing Web data' is the title of paper; name of conference refer to FullName
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
How many papers were published in International Workshop on Inductive Logic Programming from 2001 to 2009?
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
From 2001 to 2009 refer to Year 2001 BETWEEN 2009; 'International Workshop on Inductive Logic Programming' refer to Conference.FullName
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
Calculate the average of authors for each paper from the year of 1990 to 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
Average refer to DIVIDE(COUNT(AuthorID where Year = 1990 BETWEEN 2000), COUNT(Title where Year = 1990 BETWEEN 2000))
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
Indicate the year and a full name of the journal in which the publication named 'Area Effects in Cepaea' was published.
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'
'Area Effects in Cepaea' is the title of paper
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
Who is the author of the publication named 'Real-Time Automata'?
SELECT T2.Name FROM Paper AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.PaperId WHERE T1.Title = 'Real-Time Automata'
'Real-Time Automata' is the title of paper; publication refers to title;
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
Provide the name of the author who is affiliated with the organization named 'ABB Electrical Machines'.
SELECT Name FROM Author WHERE Affiliation = 'ABB Electrical Machines'
'ABB Electrical Machines' is an affiliation
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
Provide the number of publications published in the journal named 'Academic Medicine' between 2005 and 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
'Academic Medicine' is the FullName of journal; between 2005 and 2010 refer to Year 2005 BETWEEN 2010
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
Provide the title of the latest publication published by it's author 'Zuliang Du'.
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
'Zuliang Du' is the name of paper author; latest publication refers to MAX(Year)
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
How many publications were published in relation to the conference 'Adaptive Multimedia Retrieval' in 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
'Adaptive Multimedia Retrieval is the FullName of paper; in 2007 refer to Year = 2007
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
Provide the average number of papers that are published in the journal named 'Information Sciences' annually.
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'
'Information Sciences' is the FullName of journal; average = DIVIDE(COUNT(JournalId = 48), COUNT(Years))
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
How many publications were published by author named 'Howard F. Lipson'?
SELECT COUNT(PaperId) FROM PaperAuthor WHERE Name = 'Howard F. Lipson'
'Howard F. Lipson' is the name of author
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
Among all publications containing keywords 'Turbulent Fluids', what percentage of them was published in the journal named 'Physics of Fluids'?
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
'Physics of Fluids' is the FullName of journal; percentage = DIVIDE(SUM(Keyword = 'Turbulent Fluids'), SUM(FullName = 'Physics of Fluids')) as percentage
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
Indicate the number of authors affiliated with the organization named 'Arizona State University'.
SELECT COUNT(Name) FROM Author WHERE Affiliation = 'Arizona State University'
'Arizona State University' is an affiliation
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
List out the full name and URL link of ICCI?
SELECT FullName, HomePage FROM Conference WHERE ShortName = 'ICCI'
'ICCI' is the ShortName of conference; URL refer to HomePage
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
Mention the titile of paper writen by Joe Lograsso.
SELECT T1.Title FROM Paper AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.PaperId WHERE T2.Name = 'Joe Lograsso'
'Joe Lograsso' is name of paper author
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
How many papers were written by authors who cooperated with University of Hong Kong?
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'
University of Hong Kong' is an affiliation
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
State the year and title of papers written by Barrasa.
SELECT T1.Year, T1.Title FROM Paper AS T1 INNER JOIN PaperAuthor AS T2 ON T1.Id = T2.PaperId WHERE T2.Name = 'Barrasa'
'Barassa' is name of paper author
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
Sate the author name and published year for paper id 2?
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
published year refers to year
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
Mention the name of author for paper id 5 and state the keyword of this page.
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
authors
CREATE TABLE "Author" ( Id INTEGER constraint Author_pk primary key, Name TEXT, Affiliation TEXT ); CREATE TABLE "Conference" ( Id INTEGER constraint Conference_pk primary key, ShortName TEXT, FullName TEXT, HomePage TEXT ); ...
【DB_ID】 authors 【Schema】 # Table: main.Author [ (Id:INTEGER, Primary Key, Examples: [9, 14, 15]), (Name:TEXT, Examples: [Ernest Jordan, K. MORIBE, D. Jakominich]), (Affiliation:TEXT) ] # Table: main.Conference [ (Id:INTEGER, Primary Key, Examples: [1, 2, 4]), (ShortName:TEXT, Examples: [IADIS, IADT, ICOMP]), (FullName:...
What is the full name of the conference in which the paper "2004 YD5" was published?
SELECT T1.FullName FROM Conference AS T1 INNER JOIN Paper AS T2 ON T1.Id = T2.ConferenceId WHERE T2.Title = '2004 YD5'
'2004 YD5' is the title of paper
college_completion
CREATE TABLE institution_details ( unitid INTEGER constraint institution_details_pk primary key, chronname TEXT, city TEXT, state TEXT, level ...
【DB_ID】 college_completion 【Schema】 # Table: main.institution_details [ (unitid:INTEGER, Primary Key, Examples: [100654, 100663, 100690]), (chronname:TEXT, Examples: [Alabama A&M University]), (city:TEXT, Examples: [Normal, Birmingham, Montgomery]), (state:TEXT, Examples: [Alabama, Alaska, Arizona]), (level:TEXT, Examp...
List the all the institutes from the state with the most number of American Indian in 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
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';
college_completion
CREATE TABLE institution_details ( unitid INTEGER constraint institution_details_pk primary key, chronname TEXT, city TEXT, state TEXT, level ...
【DB_ID】 college_completion 【Schema】 # Table: main.institution_details [ (unitid:INTEGER, Primary Key, Examples: [100654, 100663, 100690]), (chronname:TEXT, Examples: [Alabama A&M University]), (city:TEXT, Examples: [Normal, Birmingham, Montgomery]), (state:TEXT, Examples: [Alabama, Alaska, Arizona]), (level:TEXT, Examp...
State the name and website of the institutes from the state with 209 graduate cohort in 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
name of the institutes refers to chronname; website refers to site; graduate cohort refers to grad_cohort; in 2011 refers to year = '2011';
college_completion
CREATE TABLE institution_details ( unitid INTEGER constraint institution_details_pk primary key, chronname TEXT, city TEXT, state TEXT, level ...
【DB_ID】 college_completion 【Schema】 # Table: main.institution_details [ (unitid:INTEGER, Primary Key, Examples: [100654, 100663, 100690]), (chronname:TEXT, Examples: [Alabama A&M University]), (city:TEXT, Examples: [Normal, Birmingham, Montgomery]), (state:TEXT, Examples: [Alabama, Alaska, Arizona]), (level:TEXT, Examp...
What is the number of female graduates between 2011 to 2013 from the state where 'Gateway Community College' is located?
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'
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';
college_completion
CREATE TABLE institution_details ( unitid INTEGER constraint institution_details_pk primary key, chronname TEXT, city TEXT, state TEXT, level ...
【DB_ID】 college_completion 【Schema】 # Table: main.institution_details [ (unitid:INTEGER, Primary Key, Examples: [100654, 100663, 100690]), (chronname:TEXT, Examples: [Alabama A&M University]), (city:TEXT, Examples: [Normal, Birmingham, Montgomery]), (state:TEXT, Examples: [Alabama, Alaska, Arizona]), (level:TEXT, Examp...
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?
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
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);
college_completion
CREATE TABLE institution_details ( unitid INTEGER constraint institution_details_pk primary key, chronname TEXT, city TEXT, state TEXT, level ...
【DB_ID】 college_completion 【Schema】 # Table: main.institution_details [ (unitid:INTEGER, Primary Key, Examples: [100654, 100663, 100690]), (chronname:TEXT, Examples: [Alabama A&M University]), (city:TEXT, Examples: [Normal, Birmingham, Montgomery]), (state:TEXT, Examples: [Alabama, Alaska, Arizona]), (level:TEXT, Examp...
State the average median SAT value for institutes in the state with the most male graduate cohort in 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
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;
college_completion
CREATE TABLE institution_details ( unitid INTEGER constraint institution_details_pk primary key, chronname TEXT, city TEXT, state TEXT, level ...
【DB_ID】 college_completion 【Schema】 # Table: main.institution_details [ (unitid:INTEGER, Primary Key, Examples: [100654, 100663, 100690]), (chronname:TEXT, Examples: [Alabama A&M University]), (city:TEXT, Examples: [Normal, Birmingham, Montgomery]), (state:TEXT, Examples: [Alabama, Alaska, Arizona]), (level:TEXT, Examp...
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.
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
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;
college_completion
CREATE TABLE institution_details ( unitid INTEGER constraint institution_details_pk primary key, chronname TEXT, city TEXT, state TEXT, level ...
【DB_ID】 college_completion 【Schema】 # Table: main.institution_details [ (unitid:INTEGER, Primary Key, Examples: [100654, 100663, 100690]), (chronname:TEXT, Examples: [Alabama A&M University]), (city:TEXT, Examples: [Normal, Birmingham, Montgomery]), (state:TEXT, Examples: [Alabama, Alaska, Arizona]), (level:TEXT, Examp...
List all the public institutes from the state with the least number of graduate cohort in 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
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;
college_completion
CREATE TABLE institution_details ( unitid INTEGER constraint institution_details_pk primary key, chronname TEXT, city TEXT, state TEXT, level ...
【DB_ID】 college_completion 【Schema】 # Table: main.institution_details [ (unitid:INTEGER, Primary Key, Examples: [100654, 100663, 100690]), (chronname:TEXT, Examples: [Alabama A&M University]), (city:TEXT, Examples: [Normal, Birmingham, Montgomery]), (state:TEXT, Examples: [Alabama, Alaska, Arizona]), (level:TEXT, Examp...
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.
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
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;
college_completion
CREATE TABLE institution_details ( unitid INTEGER constraint institution_details_pk primary key, chronname TEXT, city TEXT, state TEXT, level ...
【DB_ID】 college_completion 【Schema】 # Table: main.institution_details [ (unitid:INTEGER, Primary Key, Examples: [100654, 100663, 100690]), (chronname:TEXT, Examples: [Alabama A&M University]), (city:TEXT, Examples: [Normal, Birmingham, Montgomery]), (state:TEXT, Examples: [Alabama, Alaska, Arizona]), (level:TEXT, Examp...
What is the number of female graduate for all students cohort from Oakwood University in 2013?
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'
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';
college_completion
CREATE TABLE institution_details ( unitid INTEGER constraint institution_details_pk primary key, chronname TEXT, city TEXT, state TEXT, level ...
【DB_ID】 college_completion 【Schema】 # Table: main.institution_details [ (unitid:INTEGER, Primary Key, Examples: [100654, 100663, 100690]), (chronname:TEXT, Examples: [Alabama A&M University]), (city:TEXT, Examples: [Normal, Birmingham, Montgomery]), (state:TEXT, Examples: [Alabama, Alaska, Arizona]), (level:TEXT, Examp...
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?
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'
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';
college_completion
CREATE TABLE institution_details ( unitid INTEGER constraint institution_details_pk primary key, chronname TEXT, city TEXT, state TEXT, level ...
【DB_ID】 college_completion 【Schema】 # Table: main.institution_details [ (unitid:INTEGER, Primary Key, Examples: [100654, 100663, 100690]), (chronname:TEXT, Examples: [Alabama A&M University]), (city:TEXT, Examples: [Normal, Birmingham, Montgomery]), (state:TEXT, Examples: [Alabama, Alaska, Arizona]), (level:TEXT, Examp...
Compare the graduate cohort for Auburn University from 2011 to 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 = '...
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);
college_completion
CREATE TABLE institution_details ( unitid INTEGER constraint institution_details_pk primary key, chronname TEXT, city TEXT, state TEXT, level ...
【DB_ID】 college_completion 【Schema】 # Table: main.institution_details [ (unitid:INTEGER, Primary Key, Examples: [100654, 100663, 100690]), (chronname:TEXT, Examples: [Alabama A&M University]), (city:TEXT, Examples: [Normal, Birmingham, Montgomery]), (state:TEXT, Examples: [Alabama, Alaska, Arizona]), (level:TEXT, Examp...
Calculate the percentage of Black students in all private for profit institutions.
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'
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);
college_completion
CREATE TABLE institution_details ( unitid INTEGER constraint institution_details_pk primary key, chronname TEXT, city TEXT, state TEXT, level ...
【DB_ID】 college_completion 【Schema】 # Table: main.institution_details [ (unitid:INTEGER, Primary Key, Examples: [100654, 100663, 100690]), (chronname:TEXT, Examples: [Alabama A&M University]), (city:TEXT, Examples: [Normal, Birmingham, Montgomery]), (state:TEXT, Examples: [Alabama, Alaska, Arizona]), (level:TEXT, Examp...
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.
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'
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);
college_completion
CREATE TABLE institution_details ( unitid INTEGER constraint institution_details_pk primary key, chronname TEXT, city TEXT, state TEXT, level ...
【DB_ID】 college_completion 【Schema】 # Table: main.institution_details [ (unitid:INTEGER, Primary Key, Examples: [100654, 100663, 100690]), (chronname:TEXT, Examples: [Alabama A&M University]), (city:TEXT, Examples: [Normal, Birmingham, Montgomery]), (state:TEXT, Examples: [Alabama, Alaska, Arizona]), (level:TEXT, Examp...
What is the ratio of Asian male graduates to Asian female graduates from Harvard University in 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'
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;
college_completion
CREATE TABLE institution_details ( unitid INTEGER constraint institution_details_pk primary key, chronname TEXT, city TEXT, state TEXT, level ...
【DB_ID】 college_completion 【Schema】 # Table: main.institution_details [ (unitid:INTEGER, Primary Key, Examples: [100654, 100663, 100690]), (chronname:TEXT, Examples: [Alabama A&M University]), (city:TEXT, Examples: [Normal, Birmingham, Montgomery]), (state:TEXT, Examples: [Alabama, Alaska, Arizona]), (level:TEXT, Examp...
From which institute is harder to graduate for a bachelor, Amridge University or Auburn University?
SELECT chronname FROM institution_details WHERE chronname IN ('Amridge University', 'Auburn University') ORDER BY grad_100_value LIMIT 1
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';
college_completion
CREATE TABLE institution_details ( unitid INTEGER constraint institution_details_pk primary key, chronname TEXT, city TEXT, state TEXT, level ...
【DB_ID】 college_completion 【Schema】 # Table: main.institution_details [ (unitid:INTEGER, Primary Key, Examples: [100654, 100663, 100690]), (chronname:TEXT, Examples: [Alabama A&M University]), (city:TEXT, Examples: [Normal, Birmingham, Montgomery]), (state:TEXT, Examples: [Alabama, Alaska, Arizona]), (level:TEXT, Examp...
How many institutes are private and not-for profit?
SELECT COUNT(*) FROM institution_details WHERE control = 'Private not-for-profit'
private and not for profit refers to control = 'Private not-for-profit';
college_completion
CREATE TABLE institution_details ( unitid INTEGER constraint institution_details_pk primary key, chronname TEXT, city TEXT, state TEXT, level ...
【DB_ID】 college_completion 【Schema】 # Table: main.institution_details [ (unitid:INTEGER, Primary Key, Examples: [100654, 100663, 100690]), (chronname:TEXT, Examples: [Alabama A&M University]), (city:TEXT, Examples: [Normal, Birmingham, Montgomery]), (state:TEXT, Examples: [Alabama, Alaska, Arizona]), (level:TEXT, Examp...
In total, how many Hispanic male students graduated from 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'
Hispanic refers to race = 'H'; male refers to gender = 'M'; Amridge University refers to chronname = 'Amridge University';
college_completion
CREATE TABLE institution_details ( unitid INTEGER constraint institution_details_pk primary key, chronname TEXT, city TEXT, state TEXT, level ...
【DB_ID】 college_completion 【Schema】 # Table: main.institution_details [ (unitid:INTEGER, Primary Key, Examples: [100654, 100663, 100690]), (chronname:TEXT, Examples: [Alabama A&M University]), (city:TEXT, Examples: [Normal, Birmingham, Montgomery]), (state:TEXT, Examples: [Alabama, Alaska, Arizona]), (level:TEXT, Examp...
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?
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'
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';