db_id stringclasses 20
values | query stringlengths 20 422 | question stringlengths 18 174 | query_toks listlengths 4 63 | query_toks_no_value listlengths 4 88 | question_toks listlengths 5 33 | schema stringclasses 20
values |
|---|---|---|---|---|---|---|
battle_death | SELECT T2.id , T2.name FROM death AS T1 JOIN ship AS t2 ON T1.caused_by_ship_id = T2.id GROUP BY T2.id ORDER BY count(*) DESC LIMIT 1 | What is the ship id and name that caused most total injuries? | [
"SELECT",
"T2.id",
",",
"T2.name",
"FROM",
"death",
"AS",
"T1",
"JOIN",
"ship",
"AS",
"t2",
"ON",
"T1.caused_by_ship_id",
"=",
"T2.id",
"GROUP",
"BY",
"T2.id",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
] | [
"select",
"t2",
".",
"id",
",",
"t2",
".",
"name",
"from",
"death",
"as",
"t1",
"join",
"ship",
"as",
"t2",
"on",
"t1",
".",
"caused_by_ship_id",
"=",
"t2",
".",
"id",
"group",
"by",
"t2",
".",
"id",
"order",
"by",
"count",
"(",
"*",
")",
"desc",... | [
"What",
"is",
"the",
"ship",
"id",
"and",
"name",
"that",
"caused",
"most",
"total",
"injuries",
"?"
] | CREATE TABLE battle (
id NUMBER PRIMARY KEY,
name TEXT,
date TEXT,
bulgarian_commander TEXT,
latin_commander TEXT,
result TEXT
);
CREATE TABLE ship (
lost_in_battle NUMBER,
id NUMBER PRIMARY KEY,
name TEXT,
tonnage TEXT,
ship_type TEXT,
location TEXT,
disposition_of_ship TEXT,
FOREIGN KEY (... |
battle_death | SELECT name FROM battle WHERE bulgarian_commander = 'Kaloyan' AND latin_commander = 'Baldwin I' | What are the distinct battle names which are between bulgarian commander 'Kaloyan' and latin commander 'Baldwin I'? | [
"SELECT",
"name",
"FROM",
"battle",
"WHERE",
"bulgarian_commander",
"=",
"'Kaloyan",
"'",
"AND",
"latin_commander",
"=",
"'Baldwin",
"I",
"'"
] | [
"select",
"name",
"from",
"battle",
"where",
"bulgarian_commander",
"=",
"value",
"and",
"latin_commander",
"=",
"value"
] | [
"What",
"are",
"the",
"distinct",
"battle",
"names",
"which",
"are",
"between",
"bulgarian",
"commander",
"'Kaloyan",
"'",
"and",
"latin",
"commander",
"'Baldwin",
"I",
"'",
"?"
] | CREATE TABLE battle (
id NUMBER PRIMARY KEY,
name TEXT,
date TEXT,
bulgarian_commander TEXT,
latin_commander TEXT,
result TEXT
);
CREATE TABLE ship (
lost_in_battle NUMBER,
id NUMBER PRIMARY KEY,
name TEXT,
tonnage TEXT,
ship_type TEXT,
location TEXT,
disposition_of_ship TEXT,
FOREIGN KEY (... |
battle_death | SELECT count(DISTINCT RESULT) FROM battle | How many different results are there for the battles? | [
"SELECT",
"count",
"(",
"DISTINCT",
"RESULT",
")",
"FROM",
"battle"
] | [
"select",
"count",
"(",
"distinct",
"result",
")",
"from",
"battle"
] | [
"How",
"many",
"different",
"results",
"are",
"there",
"for",
"the",
"battles",
"?"
] | CREATE TABLE battle (
id NUMBER PRIMARY KEY,
name TEXT,
date TEXT,
bulgarian_commander TEXT,
latin_commander TEXT,
result TEXT
);
CREATE TABLE ship (
lost_in_battle NUMBER,
id NUMBER PRIMARY KEY,
name TEXT,
tonnage TEXT,
ship_type TEXT,
location TEXT,
disposition_of_ship TEXT,
FOREIGN KEY (... |
battle_death | SELECT count(*) FROM battle WHERE id NOT IN ( SELECT lost_in_battle FROM ship WHERE tonnage = '225' ); | How many battles did not lose any ship with tonnage '225'? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"battle",
"WHERE",
"id",
"NOT",
"IN",
"(",
"SELECT",
"lost_in_battle",
"FROM",
"ship",
"WHERE",
"tonnage",
"=",
"'225",
"'",
")",
";"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"battle",
"where",
"id",
"not",
"in",
"(",
"select",
"lost_in_battle",
"from",
"ship",
"where",
"tonnage",
"=",
"value",
")"
] | [
"How",
"many",
"battles",
"did",
"not",
"lose",
"any",
"ship",
"with",
"tonnage",
"'225",
"'",
"?"
] | CREATE TABLE battle (
id NUMBER PRIMARY KEY,
name TEXT,
date TEXT,
bulgarian_commander TEXT,
latin_commander TEXT,
result TEXT
);
CREATE TABLE ship (
lost_in_battle NUMBER,
id NUMBER PRIMARY KEY,
name TEXT,
tonnage TEXT,
ship_type TEXT,
location TEXT,
disposition_of_ship TEXT,
FOREIGN KEY (... |
battle_death | SELECT T1.name , T1.date FROM battle AS T1 JOIN ship AS T2 ON T1.id = T2.lost_in_battle WHERE T2.name = 'Lettice' INTERSECT SELECT T1.name , T1.date FROM battle AS T1 JOIN ship AS T2 ON T1.id = T2.lost_in_battle WHERE T2.name = 'HMS Atalanta' | List the name and date the battle that has lost the ship named 'Lettice' and the ship named 'HMS Atalanta' | [
"SELECT",
"T1.name",
",",
"T1.date",
"FROM",
"battle",
"AS",
"T1",
"JOIN",
"ship",
"AS",
"T2",
"ON",
"T1.id",
"=",
"T2.lost_in_battle",
"WHERE",
"T2.name",
"=",
"'Lettice",
"'",
"INTERSECT",
"SELECT",
"T1.name",
",",
"T1.date",
"FROM",
"battle",
"AS",
"T1",
... | [
"select",
"t1",
".",
"name",
",",
"t1",
".",
"date",
"from",
"battle",
"as",
"t1",
"join",
"ship",
"as",
"t2",
"on",
"t1",
".",
"id",
"=",
"t2",
".",
"lost_in_battle",
"where",
"t2",
".",
"name",
"=",
"value",
"intersect",
"select",
"t1",
".",
"nam... | [
"List",
"the",
"name",
"and",
"date",
"the",
"battle",
"that",
"has",
"lost",
"the",
"ship",
"named",
"'Lettice",
"'",
"and",
"the",
"ship",
"named",
"'HMS",
"Atalanta",
"'"
] | CREATE TABLE battle (
id NUMBER PRIMARY KEY,
name TEXT,
date TEXT,
bulgarian_commander TEXT,
latin_commander TEXT,
result TEXT
);
CREATE TABLE ship (
lost_in_battle NUMBER,
id NUMBER PRIMARY KEY,
name TEXT,
tonnage TEXT,
ship_type TEXT,
location TEXT,
disposition_of_ship TEXT,
FOREIGN KEY (... |
battle_death | SELECT name , RESULT , bulgarian_commander FROM battle EXCEPT SELECT T1.name , T1.result , T1.bulgarian_commander FROM battle AS T1 JOIN ship AS T2 ON T1.id = T2.lost_in_battle WHERE T2.location = 'English Channel' | Show names, results and bulgarian commanders of the battles with no ships lost in the 'English Channel'. | [
"SELECT",
"name",
",",
"RESULT",
",",
"bulgarian_commander",
"FROM",
"battle",
"EXCEPT",
"SELECT",
"T1.name",
",",
"T1.result",
",",
"T1.bulgarian_commander",
"FROM",
"battle",
"AS",
"T1",
"JOIN",
"ship",
"AS",
"T2",
"ON",
"T1.id",
"=",
"T2.lost_in_battle",
"WHE... | [
"select",
"name",
",",
"result",
",",
"bulgarian_commander",
"from",
"battle",
"except",
"select",
"t1",
".",
"name",
",",
"t1",
".",
"result",
",",
"t1",
".",
"bulgarian_commander",
"from",
"battle",
"as",
"t1",
"join",
"ship",
"as",
"t2",
"on",
"t1",
"... | [
"Show",
"names",
",",
"results",
"and",
"bulgarian",
"commanders",
"of",
"the",
"battles",
"with",
"no",
"ships",
"lost",
"in",
"the",
"'English",
"Channel",
"'",
"."
] | CREATE TABLE battle (
id NUMBER PRIMARY KEY,
name TEXT,
date TEXT,
bulgarian_commander TEXT,
latin_commander TEXT,
result TEXT
);
CREATE TABLE ship (
lost_in_battle NUMBER,
id NUMBER PRIMARY KEY,
name TEXT,
tonnage TEXT,
ship_type TEXT,
location TEXT,
disposition_of_ship TEXT,
FOREIGN KEY (... |
battle_death | SELECT note FROM death WHERE note LIKE '%East%' | What are the notes of the death events which has substring 'East'? | [
"SELECT",
"note",
"FROM",
"death",
"WHERE",
"note",
"LIKE",
"'",
"%",
"East",
"%",
"'"
] | [
"select",
"note",
"from",
"death",
"where",
"note",
"like",
"value"
] | [
"What",
"are",
"the",
"notes",
"of",
"the",
"death",
"events",
"which",
"has",
"substring",
"'East",
"'",
"?"
] | CREATE TABLE battle (
id NUMBER PRIMARY KEY,
name TEXT,
date TEXT,
bulgarian_commander TEXT,
latin_commander TEXT,
result TEXT
);
CREATE TABLE ship (
lost_in_battle NUMBER,
id NUMBER PRIMARY KEY,
name TEXT,
tonnage TEXT,
ship_type TEXT,
location TEXT,
disposition_of_ship TEXT,
FOREIGN KEY (... |
student_transcripts_tracking | SELECT line_1 , line_2 FROM addresses | what are all the addresses including line 1 and line 2? | [
"SELECT",
"line_1",
",",
"line_2",
"FROM",
"addresses"
] | [
"select",
"line_1",
",",
"line_2",
"from",
"addresses"
] | [
"what",
"are",
"all",
"the",
"addresses",
"including",
"line",
"1",
"and",
"line",
"2",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT line_1 , line_2 FROM addresses | What is the first and second line for all addresses? | [
"SELECT",
"line_1",
",",
"line_2",
"FROM",
"addresses"
] | [
"select",
"line_1",
",",
"line_2",
"from",
"addresses"
] | [
"What",
"is",
"the",
"first",
"and",
"second",
"line",
"for",
"all",
"addresses",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT count(*) FROM Courses | How many courses in total are listed? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"Courses"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"courses"
] | [
"How",
"many",
"courses",
"in",
"total",
"are",
"listed",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT count(*) FROM Courses | How many courses are there? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"Courses"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"courses"
] | [
"How",
"many",
"courses",
"are",
"there",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT course_description FROM Courses WHERE course_name = 'math' | How is the math course described? | [
"SELECT",
"course_description",
"FROM",
"Courses",
"WHERE",
"course_name",
"=",
"'math",
"'"
] | [
"select",
"course_description",
"from",
"courses",
"where",
"course_name",
"=",
"value"
] | [
"How",
"is",
"the",
"math",
"course",
"described",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT course_description FROM Courses WHERE course_name = 'math' | What are the descriptions for all the math courses? | [
"SELECT",
"course_description",
"FROM",
"Courses",
"WHERE",
"course_name",
"=",
"'math",
"'"
] | [
"select",
"course_description",
"from",
"courses",
"where",
"course_name",
"=",
"value"
] | [
"What",
"are",
"the",
"descriptions",
"for",
"all",
"the",
"math",
"courses",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT zip_postcode FROM Addresses WHERE city = 'Port Chelsea' | What is the zip code of the address in the city Port Chelsea? | [
"SELECT",
"zip_postcode",
"FROM",
"Addresses",
"WHERE",
"city",
"=",
"'Port",
"Chelsea",
"'"
] | [
"select",
"zip_postcode",
"from",
"addresses",
"where",
"city",
"=",
"value"
] | [
"What",
"is",
"the",
"zip",
"code",
"of",
"the",
"address",
"in",
"the",
"city",
"Port",
"Chelsea",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT zip_postcode FROM Addresses WHERE city = 'Port Chelsea' | What is the zip code for Port Chelsea? | [
"SELECT",
"zip_postcode",
"FROM",
"Addresses",
"WHERE",
"city",
"=",
"'Port",
"Chelsea",
"'"
] | [
"select",
"zip_postcode",
"from",
"addresses",
"where",
"city",
"=",
"value"
] | [
"What",
"is",
"the",
"zip",
"code",
"for",
"Port",
"Chelsea",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT T2.department_name , T1.department_id FROM Degree_Programs AS T1 JOIN Departments AS T2 ON T1.department_id = T2.department_id GROUP BY T1.department_id ORDER BY count(*) DESC LIMIT 1 | Which department offers the most number of degrees? List department name and id. | [
"SELECT",
"T2.department_name",
",",
"T1.department_id",
"FROM",
"Degree_Programs",
"AS",
"T1",
"JOIN",
"Departments",
"AS",
"T2",
"ON",
"T1.department_id",
"=",
"T2.department_id",
"GROUP",
"BY",
"T1.department_id",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
... | [
"select",
"t2",
".",
"department_name",
",",
"t1",
".",
"department_id",
"from",
"degree_programs",
"as",
"t1",
"join",
"departments",
"as",
"t2",
"on",
"t1",
".",
"department_id",
"=",
"t2",
".",
"department_id",
"group",
"by",
"t1",
".",
"department_id",
"... | [
"Which",
"department",
"offers",
"the",
"most",
"number",
"of",
"degrees",
"?",
"List",
"department",
"name",
"and",
"id",
"."
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | select t2.department_name , t1.department_id from degree_programs as t1 join departments as t2 on t1.department_id = t2.department_id group by t1.department_id order by count(*) desc limit 1 | What is the name and id of the department with the most number of degrees ? | [
"select",
"t2.department_name",
",",
"t1.department_id",
"from",
"degree_programs",
"as",
"t1",
"join",
"departments",
"as",
"t2",
"on",
"t1.department_id",
"=",
"t2.department_id",
"group",
"by",
"t1.department_id",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
... | [
"select",
"t2",
".",
"department_name",
",",
"t1",
".",
"department_id",
"from",
"degree_programs",
"as",
"t1",
"join",
"departments",
"as",
"t2",
"on",
"t1",
".",
"department_id",
"=",
"t2",
".",
"department_id",
"group",
"by",
"t1",
".",
"department_id",
"... | [
"What",
"is",
"the",
"name",
"and",
"id",
"of",
"the",
"department",
"with",
"the",
"most",
"number",
"of",
"degrees",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT count(DISTINCT department_id) FROM Degree_Programs | How many departments offer any degree? | [
"SELECT",
"count",
"(",
"DISTINCT",
"department_id",
")",
"FROM",
"Degree_Programs"
] | [
"select",
"count",
"(",
"distinct",
"department_id",
")",
"from",
"degree_programs"
] | [
"How",
"many",
"departments",
"offer",
"any",
"degree",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT count(DISTINCT department_id) FROM Degree_Programs | How many different departments offer degrees? | [
"SELECT",
"count",
"(",
"DISTINCT",
"department_id",
")",
"FROM",
"Degree_Programs"
] | [
"select",
"count",
"(",
"distinct",
"department_id",
")",
"from",
"degree_programs"
] | [
"How",
"many",
"different",
"departments",
"offer",
"degrees",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT count(DISTINCT degree_summary_name) FROM Degree_Programs | How many different degree names are offered? | [
"SELECT",
"count",
"(",
"DISTINCT",
"degree_summary_name",
")",
"FROM",
"Degree_Programs"
] | [
"select",
"count",
"(",
"distinct",
"degree_summary_name",
")",
"from",
"degree_programs"
] | [
"How",
"many",
"different",
"degree",
"names",
"are",
"offered",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT count(DISTINCT degree_summary_name) FROM Degree_Programs | How many different degrees are offered? | [
"SELECT",
"count",
"(",
"DISTINCT",
"degree_summary_name",
")",
"FROM",
"Degree_Programs"
] | [
"select",
"count",
"(",
"distinct",
"degree_summary_name",
")",
"from",
"degree_programs"
] | [
"How",
"many",
"different",
"degrees",
"are",
"offered",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT count(*) FROM Departments AS T1 JOIN Degree_Programs AS T2 ON T1.department_id = T2.department_id WHERE T1.department_name = 'engineer' | How many degrees does the engineering department offer? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"Departments",
"AS",
"T1",
"JOIN",
"Degree_Programs",
"AS",
"T2",
"ON",
"T1.department_id",
"=",
"T2.department_id",
"WHERE",
"T1.department_name",
"=",
"'engineer",
"'"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"departments",
"as",
"t1",
"join",
"degree_programs",
"as",
"t2",
"on",
"t1",
".",
"department_id",
"=",
"t2",
".",
"department_id",
"where",
"t1",
".",
"department_name",
"=",
"value"
] | [
"How",
"many",
"degrees",
"does",
"the",
"engineering",
"department",
"offer",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT count(*) FROM Departments AS T1 JOIN Degree_Programs AS T2 ON T1.department_id = T2.department_id WHERE T1.department_name = 'engineer' | How many degrees does the engineering department have? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"Departments",
"AS",
"T1",
"JOIN",
"Degree_Programs",
"AS",
"T2",
"ON",
"T1.department_id",
"=",
"T2.department_id",
"WHERE",
"T1.department_name",
"=",
"'engineer",
"'"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"departments",
"as",
"t1",
"join",
"degree_programs",
"as",
"t2",
"on",
"t1",
".",
"department_id",
"=",
"t2",
".",
"department_id",
"where",
"t1",
".",
"department_name",
"=",
"value"
] | [
"How",
"many",
"degrees",
"does",
"the",
"engineering",
"department",
"have",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT section_name , section_description FROM Sections | What are the names and descriptions of all the sections? | [
"SELECT",
"section_name",
",",
"section_description",
"FROM",
"Sections"
] | [
"select",
"section_name",
",",
"section_description",
"from",
"sections"
] | [
"What",
"are",
"the",
"names",
"and",
"descriptions",
"of",
"all",
"the",
"sections",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT section_name , section_description FROM Sections | What are the names and descriptions for all the sections? | [
"SELECT",
"section_name",
",",
"section_description",
"FROM",
"Sections"
] | [
"select",
"section_name",
",",
"section_description",
"from",
"sections"
] | [
"What",
"are",
"the",
"names",
"and",
"descriptions",
"for",
"all",
"the",
"sections",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT T1.course_name , T1.course_id FROM Courses AS T1 JOIN Sections AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_id HAVING count(*) <= 2 | What are the names and id of courses having at most 2 sections? | [
"SELECT",
"T1.course_name",
",",
"T1.course_id",
"FROM",
"Courses",
"AS",
"T1",
"JOIN",
"Sections",
"AS",
"T2",
"ON",
"T1.course_id",
"=",
"T2.course_id",
"GROUP",
"BY",
"T1.course_id",
"HAVING",
"count",
"(",
"*",
")",
"<",
"=",
"2"
] | [
"select",
"t1",
".",
"course_name",
",",
"t1",
".",
"course_id",
"from",
"courses",
"as",
"t1",
"join",
"sections",
"as",
"t2",
"on",
"t1",
".",
"course_id",
"=",
"t2",
".",
"course_id",
"group",
"by",
"t1",
".",
"course_id",
"having",
"count",
"(",
"*... | [
"What",
"are",
"the",
"names",
"and",
"id",
"of",
"courses",
"having",
"at",
"most",
"2",
"sections",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT T1.course_name , T1.course_id FROM Courses AS T1 JOIN Sections AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_id HAVING count(*) <= 2 | What are the names and ids of every course with less than 2 sections? | [
"SELECT",
"T1.course_name",
",",
"T1.course_id",
"FROM",
"Courses",
"AS",
"T1",
"JOIN",
"Sections",
"AS",
"T2",
"ON",
"T1.course_id",
"=",
"T2.course_id",
"GROUP",
"BY",
"T1.course_id",
"HAVING",
"count",
"(",
"*",
")",
"<",
"=",
"2"
] | [
"select",
"t1",
".",
"course_name",
",",
"t1",
".",
"course_id",
"from",
"courses",
"as",
"t1",
"join",
"sections",
"as",
"t2",
"on",
"t1",
".",
"course_id",
"=",
"t2",
".",
"course_id",
"group",
"by",
"t1",
".",
"course_id",
"having",
"count",
"(",
"*... | [
"What",
"are",
"the",
"names",
"and",
"ids",
"of",
"every",
"course",
"with",
"less",
"than",
"2",
"sections",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT section_name FROM Sections ORDER BY section_name DESC | List the section_name in reversed lexicographical order. | [
"SELECT",
"section_name",
"FROM",
"Sections",
"ORDER",
"BY",
"section_name",
"DESC"
] | [
"select",
"section_name",
"from",
"sections",
"order",
"by",
"section_name",
"desc"
] | [
"List",
"the",
"section_name",
"in",
"reversed",
"lexicographical",
"order",
"."
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT section_name FROM Sections ORDER BY section_name DESC | What are the names of the sections in reverse alphabetical order? | [
"SELECT",
"section_name",
"FROM",
"Sections",
"ORDER",
"BY",
"section_name",
"DESC"
] | [
"select",
"section_name",
"from",
"sections",
"order",
"by",
"section_name",
"desc"
] | [
"What",
"are",
"the",
"names",
"of",
"the",
"sections",
"in",
"reverse",
"alphabetical",
"order",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT T1.semester_name , T1.semester_id FROM Semesters AS T1 JOIN Student_Enrolment AS T2 ON T1.semester_id = T2.semester_id GROUP BY T1.semester_id ORDER BY count(*) DESC LIMIT 1 | What is the semester which most student registered in? Show both the name and the id. | [
"SELECT",
"T1.semester_name",
",",
"T1.semester_id",
"FROM",
"Semesters",
"AS",
"T1",
"JOIN",
"Student_Enrolment",
"AS",
"T2",
"ON",
"T1.semester_id",
"=",
"T2.semester_id",
"GROUP",
"BY",
"T1.semester_id",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
... | [
"select",
"t1",
".",
"semester_name",
",",
"t1",
".",
"semester_id",
"from",
"semesters",
"as",
"t1",
"join",
"student_enrolment",
"as",
"t2",
"on",
"t1",
".",
"semester_id",
"=",
"t2",
".",
"semester_id",
"group",
"by",
"t1",
".",
"semester_id",
"order",
... | [
"What",
"is",
"the",
"semester",
"which",
"most",
"student",
"registered",
"in",
"?",
"Show",
"both",
"the",
"name",
"and",
"the",
"id",
"."
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT T1.semester_name , T1.semester_id FROM Semesters AS T1 JOIN Student_Enrolment AS T2 ON T1.semester_id = T2.semester_id GROUP BY T1.semester_id ORDER BY count(*) DESC LIMIT 1 | For each semester, what is the name and id of the one with the most students registered? | [
"SELECT",
"T1.semester_name",
",",
"T1.semester_id",
"FROM",
"Semesters",
"AS",
"T1",
"JOIN",
"Student_Enrolment",
"AS",
"T2",
"ON",
"T1.semester_id",
"=",
"T2.semester_id",
"GROUP",
"BY",
"T1.semester_id",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
... | [
"select",
"t1",
".",
"semester_name",
",",
"t1",
".",
"semester_id",
"from",
"semesters",
"as",
"t1",
"join",
"student_enrolment",
"as",
"t2",
"on",
"t1",
".",
"semester_id",
"=",
"t2",
".",
"semester_id",
"group",
"by",
"t1",
".",
"semester_id",
"order",
... | [
"For",
"each",
"semester",
",",
"what",
"is",
"the",
"name",
"and",
"id",
"of",
"the",
"one",
"with",
"the",
"most",
"students",
"registered",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT department_description FROM Departments WHERE department_name LIKE '%computer%' | What is the description of the department whose name has the substring the computer? | [
"SELECT",
"department_description",
"FROM",
"Departments",
"WHERE",
"department_name",
"LIKE",
"'",
"%",
"computer",
"%",
"'"
] | [
"select",
"department_description",
"from",
"departments",
"where",
"department_name",
"like",
"value"
] | [
"What",
"is",
"the",
"description",
"of",
"the",
"department",
"whose",
"name",
"has",
"the",
"substring",
"the",
"computer",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT department_description FROM Departments WHERE department_name LIKE '%computer%' | What is the department description for the one whose name has the word computer? | [
"SELECT",
"department_description",
"FROM",
"Departments",
"WHERE",
"department_name",
"LIKE",
"'",
"%",
"computer",
"%",
"'"
] | [
"select",
"department_description",
"from",
"departments",
"where",
"department_name",
"like",
"value"
] | [
"What",
"is",
"the",
"department",
"description",
"for",
"the",
"one",
"whose",
"name",
"has",
"the",
"word",
"computer",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT T1.first_name , T1.middle_name , T1.last_name , T1.student_id FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id HAVING count(*) = 2 | Who are enrolled in 2 degree programs in one semester? List the first name, middle name and last name and the id. | [
"SELECT",
"T1.first_name",
",",
"T1.middle_name",
",",
"T1.last_name",
",",
"T1.student_id",
"FROM",
"Students",
"AS",
"T1",
"JOIN",
"Student_Enrolment",
"AS",
"T2",
"ON",
"T1.student_id",
"=",
"T2.student_id",
"GROUP",
"BY",
"T1.student_id",
"HAVING",
"count",
"(",... | [
"select",
"t1",
".",
"first_name",
",",
"t1",
".",
"middle_name",
",",
"t1",
".",
"last_name",
",",
"t1",
".",
"student_id",
"from",
"students",
"as",
"t1",
"join",
"student_enrolment",
"as",
"t2",
"on",
"t1",
".",
"student_id",
"=",
"t2",
".",
"student_... | [
"Who",
"are",
"enrolled",
"in",
"2",
"degree",
"programs",
"in",
"one",
"semester",
"?",
"List",
"the",
"first",
"name",
",",
"middle",
"name",
"and",
"last",
"name",
"and",
"the",
"id",
"."
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT T1.first_name , T1.middle_name , T1.last_name , T1.student_id FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id HAVING count(*) = 2 | What are the first, middle, and last names, along with the ids, of all students who enrolled in 2 degree programs in one semester? | [
"SELECT",
"T1.first_name",
",",
"T1.middle_name",
",",
"T1.last_name",
",",
"T1.student_id",
"FROM",
"Students",
"AS",
"T1",
"JOIN",
"Student_Enrolment",
"AS",
"T2",
"ON",
"T1.student_id",
"=",
"T2.student_id",
"GROUP",
"BY",
"T1.student_id",
"HAVING",
"count",
"(",... | [
"select",
"t1",
".",
"first_name",
",",
"t1",
".",
"middle_name",
",",
"t1",
".",
"last_name",
",",
"t1",
".",
"student_id",
"from",
"students",
"as",
"t1",
"join",
"student_enrolment",
"as",
"t2",
"on",
"t1",
".",
"student_id",
"=",
"t2",
".",
"student_... | [
"What",
"are",
"the",
"first",
",",
"middle",
",",
"and",
"last",
"names",
",",
"along",
"with",
"the",
"ids",
",",
"of",
"all",
"students",
"who",
"enrolled",
"in",
"2",
"degree",
"programs",
"in",
"one",
"semester",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT DISTINCT T1.first_name , T1.middle_name , T1.last_name FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id JOIN Degree_Programs AS T3 ON T2.degree_program_id = T3.degree_program_id WHERE T3.degree_summary_name = 'Bachelor' | Who is enrolled in a Bachelor degree program? List the first name, middle name, last name. | [
"SELECT",
"DISTINCT",
"T1.first_name",
",",
"T1.middle_name",
",",
"T1.last_name",
"FROM",
"Students",
"AS",
"T1",
"JOIN",
"Student_Enrolment",
"AS",
"T2",
"ON",
"T1.student_id",
"=",
"T2.student_id",
"JOIN",
"Degree_Programs",
"AS",
"T3",
"ON",
"T2.degree_program_id"... | [
"select",
"distinct",
"t1",
".",
"first_name",
",",
"t1",
".",
"middle_name",
",",
"t1",
".",
"last_name",
"from",
"students",
"as",
"t1",
"join",
"student_enrolment",
"as",
"t2",
"on",
"t1",
".",
"student_id",
"=",
"t2",
".",
"student_id",
"join",
"degree... | [
"Who",
"is",
"enrolled",
"in",
"a",
"Bachelor",
"degree",
"program",
"?",
"List",
"the",
"first",
"name",
",",
"middle",
"name",
",",
"last",
"name",
"."
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT DISTINCT T1.first_name , T1.middle_name , T1.last_name FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id JOIN Degree_Programs AS T3 ON T2.degree_program_id = T3.degree_program_id WHERE T3.degree_summary_name = 'Bachelor' | What are the first, middle, and last names for everybody enrolled in a Bachelors program? | [
"SELECT",
"DISTINCT",
"T1.first_name",
",",
"T1.middle_name",
",",
"T1.last_name",
"FROM",
"Students",
"AS",
"T1",
"JOIN",
"Student_Enrolment",
"AS",
"T2",
"ON",
"T1.student_id",
"=",
"T2.student_id",
"JOIN",
"Degree_Programs",
"AS",
"T3",
"ON",
"T2.degree_program_id"... | [
"select",
"distinct",
"t1",
".",
"first_name",
",",
"t1",
".",
"middle_name",
",",
"t1",
".",
"last_name",
"from",
"students",
"as",
"t1",
"join",
"student_enrolment",
"as",
"t2",
"on",
"t1",
".",
"student_id",
"=",
"t2",
".",
"student_id",
"join",
"degree... | [
"What",
"are",
"the",
"first",
",",
"middle",
",",
"and",
"last",
"names",
"for",
"everybody",
"enrolled",
"in",
"a",
"Bachelors",
"program",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT T1.degree_summary_name FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id GROUP BY T1.degree_summary_name ORDER BY count(*) DESC LIMIT 1 | Find the kind of program which most number of students are enrolled in? | [
"SELECT",
"T1.degree_summary_name",
"FROM",
"Degree_Programs",
"AS",
"T1",
"JOIN",
"Student_Enrolment",
"AS",
"T2",
"ON",
"T1.degree_program_id",
"=",
"T2.degree_program_id",
"GROUP",
"BY",
"T1.degree_summary_name",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMI... | [
"select",
"t1",
".",
"degree_summary_name",
"from",
"degree_programs",
"as",
"t1",
"join",
"student_enrolment",
"as",
"t2",
"on",
"t1",
".",
"degree_program_id",
"=",
"t2",
".",
"degree_program_id",
"group",
"by",
"t1",
".",
"degree_summary_name",
"order",
"by",
... | [
"Find",
"the",
"kind",
"of",
"program",
"which",
"most",
"number",
"of",
"students",
"are",
"enrolled",
"in",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT T1.degree_summary_name FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id GROUP BY T1.degree_summary_name ORDER BY count(*) DESC LIMIT 1 | What is the degree summary name that has the most number of students enrolled? | [
"SELECT",
"T1.degree_summary_name",
"FROM",
"Degree_Programs",
"AS",
"T1",
"JOIN",
"Student_Enrolment",
"AS",
"T2",
"ON",
"T1.degree_program_id",
"=",
"T2.degree_program_id",
"GROUP",
"BY",
"T1.degree_summary_name",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMI... | [
"select",
"t1",
".",
"degree_summary_name",
"from",
"degree_programs",
"as",
"t1",
"join",
"student_enrolment",
"as",
"t2",
"on",
"t1",
".",
"degree_program_id",
"=",
"t2",
".",
"degree_program_id",
"group",
"by",
"t1",
".",
"degree_summary_name",
"order",
"by",
... | [
"What",
"is",
"the",
"degree",
"summary",
"name",
"that",
"has",
"the",
"most",
"number",
"of",
"students",
"enrolled",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT T1.degree_program_id , T1.degree_summary_name FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id GROUP BY T1.degree_program_id ORDER BY count(*) DESC LIMIT 1 | Find the program which most number of students are enrolled in. List both the id and the summary. | [
"SELECT",
"T1.degree_program_id",
",",
"T1.degree_summary_name",
"FROM",
"Degree_Programs",
"AS",
"T1",
"JOIN",
"Student_Enrolment",
"AS",
"T2",
"ON",
"T1.degree_program_id",
"=",
"T2.degree_program_id",
"GROUP",
"BY",
"T1.degree_program_id",
"ORDER",
"BY",
"count",
"(",
... | [
"select",
"t1",
".",
"degree_program_id",
",",
"t1",
".",
"degree_summary_name",
"from",
"degree_programs",
"as",
"t1",
"join",
"student_enrolment",
"as",
"t2",
"on",
"t1",
".",
"degree_program_id",
"=",
"t2",
".",
"degree_program_id",
"group",
"by",
"t1",
".",
... | [
"Find",
"the",
"program",
"which",
"most",
"number",
"of",
"students",
"are",
"enrolled",
"in",
".",
"List",
"both",
"the",
"id",
"and",
"the",
"summary",
"."
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT T1.degree_program_id , T1.degree_summary_name FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id GROUP BY T1.degree_program_id ORDER BY count(*) DESC LIMIT 1 | What is the program id and the summary of the degree that has the most students enrolled? | [
"SELECT",
"T1.degree_program_id",
",",
"T1.degree_summary_name",
"FROM",
"Degree_Programs",
"AS",
"T1",
"JOIN",
"Student_Enrolment",
"AS",
"T2",
"ON",
"T1.degree_program_id",
"=",
"T2.degree_program_id",
"GROUP",
"BY",
"T1.degree_program_id",
"ORDER",
"BY",
"count",
"(",
... | [
"select",
"t1",
".",
"degree_program_id",
",",
"t1",
".",
"degree_summary_name",
"from",
"degree_programs",
"as",
"t1",
"join",
"student_enrolment",
"as",
"t2",
"on",
"t1",
".",
"degree_program_id",
"=",
"t2",
".",
"degree_program_id",
"group",
"by",
"t1",
".",
... | [
"What",
"is",
"the",
"program",
"id",
"and",
"the",
"summary",
"of",
"the",
"degree",
"that",
"has",
"the",
"most",
"students",
"enrolled",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT T1.student_id , T1.first_name , T1.middle_name , T1.last_name , count(*) , T1.student_id FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id ORDER BY count(*) DESC LIMIT 1 | Which student has enrolled for the most times in any program? List the id, first name, middle name, last name, the number of enrollments and student id. | [
"SELECT",
"T1.student_id",
",",
"T1.first_name",
",",
"T1.middle_name",
",",
"T1.last_name",
",",
"count",
"(",
"*",
")",
",",
"T1.student_id",
"FROM",
"Students",
"AS",
"T1",
"JOIN",
"Student_Enrolment",
"AS",
"T2",
"ON",
"T1.student_id",
"=",
"T2.student_id",
... | [
"select",
"t1",
".",
"student_id",
",",
"t1",
".",
"first_name",
",",
"t1",
".",
"middle_name",
",",
"t1",
".",
"last_name",
",",
"count",
"(",
"*",
")",
",",
"t1",
".",
"student_id",
"from",
"students",
"as",
"t1",
"join",
"student_enrolment",
"as",
"... | [
"Which",
"student",
"has",
"enrolled",
"for",
"the",
"most",
"times",
"in",
"any",
"program",
"?",
"List",
"the",
"id",
",",
"first",
"name",
",",
"middle",
"name",
",",
"last",
"name",
",",
"the",
"number",
"of",
"enrollments",
"and",
"student",
"id",
... | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT T1.student_id , T1.first_name , T1.middle_name , T1.last_name , count(*) , T1.student_id FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id ORDER BY count(*) DESC LIMIT 1 | What is the first, middle, and last name, along with the id and number of enrollments, for the student who enrolled the most in any program? | [
"SELECT",
"T1.student_id",
",",
"T1.first_name",
",",
"T1.middle_name",
",",
"T1.last_name",
",",
"count",
"(",
"*",
")",
",",
"T1.student_id",
"FROM",
"Students",
"AS",
"T1",
"JOIN",
"Student_Enrolment",
"AS",
"T2",
"ON",
"T1.student_id",
"=",
"T2.student_id",
... | [
"select",
"t1",
".",
"student_id",
",",
"t1",
".",
"first_name",
",",
"t1",
".",
"middle_name",
",",
"t1",
".",
"last_name",
",",
"count",
"(",
"*",
")",
",",
"t1",
".",
"student_id",
"from",
"students",
"as",
"t1",
"join",
"student_enrolment",
"as",
"... | [
"What",
"is",
"the",
"first",
",",
"middle",
",",
"and",
"last",
"name",
",",
"along",
"with",
"the",
"id",
"and",
"number",
"of",
"enrollments",
",",
"for",
"the",
"student",
"who",
"enrolled",
"the",
"most",
"in",
"any",
"program",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT semester_name FROM Semesters WHERE semester_id NOT IN( SELECT semester_id FROM Student_Enrolment ) | Which semesters do not have any student enrolled? List the semester name. | [
"SELECT",
"semester_name",
"FROM",
"Semesters",
"WHERE",
"semester_id",
"NOT",
"IN",
"(",
"SELECT",
"semester_id",
"FROM",
"Student_Enrolment",
")"
] | [
"select",
"semester_name",
"from",
"semesters",
"where",
"semester_id",
"not",
"in",
"(",
"select",
"semester_id",
"from",
"student_enrolment",
")"
] | [
"Which",
"semesters",
"do",
"not",
"have",
"any",
"student",
"enrolled",
"?",
"List",
"the",
"semester",
"name",
"."
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT semester_name FROM Semesters WHERE semester_id NOT IN( SELECT semester_id FROM Student_Enrolment ) | What is the name of the semester with no students enrolled? | [
"SELECT",
"semester_name",
"FROM",
"Semesters",
"WHERE",
"semester_id",
"NOT",
"IN",
"(",
"SELECT",
"semester_id",
"FROM",
"Student_Enrolment",
")"
] | [
"select",
"semester_name",
"from",
"semesters",
"where",
"semester_id",
"not",
"in",
"(",
"select",
"semester_id",
"from",
"student_enrolment",
")"
] | [
"What",
"is",
"the",
"name",
"of",
"the",
"semester",
"with",
"no",
"students",
"enrolled",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT DISTINCT T1.course_name FROM Courses AS T1 JOIN Student_Enrolment_Courses AS T2 ON T1.course_id = T2.course_id | What are all the course names of the courses which ever have students enrolled in? | [
"SELECT",
"DISTINCT",
"T1.course_name",
"FROM",
"Courses",
"AS",
"T1",
"JOIN",
"Student_Enrolment_Courses",
"AS",
"T2",
"ON",
"T1.course_id",
"=",
"T2.course_id"
] | [
"select",
"distinct",
"t1",
".",
"course_name",
"from",
"courses",
"as",
"t1",
"join",
"student_enrolment_courses",
"as",
"t2",
"on",
"t1",
".",
"course_id",
"=",
"t2",
".",
"course_id"
] | [
"What",
"are",
"all",
"the",
"course",
"names",
"of",
"the",
"courses",
"which",
"ever",
"have",
"students",
"enrolled",
"in",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT DISTINCT T1.course_name FROM Courses AS T1 JOIN Student_Enrolment_Courses AS T2 ON T1.course_id = T2.course_id | What are the names of all courses that have some students enrolled? | [
"SELECT",
"DISTINCT",
"T1.course_name",
"FROM",
"Courses",
"AS",
"T1",
"JOIN",
"Student_Enrolment_Courses",
"AS",
"T2",
"ON",
"T1.course_id",
"=",
"T2.course_id"
] | [
"select",
"distinct",
"t1",
".",
"course_name",
"from",
"courses",
"as",
"t1",
"join",
"student_enrolment_courses",
"as",
"t2",
"on",
"t1",
".",
"course_id",
"=",
"t2",
".",
"course_id"
] | [
"What",
"are",
"the",
"names",
"of",
"all",
"courses",
"that",
"have",
"some",
"students",
"enrolled",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT T1.course_name FROM Courses AS T1 JOIN Student_Enrolment_Courses AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name ORDER BY count(*) DESC LIMIT 1 | What's the name of the course with most number of enrollments? | [
"SELECT",
"T1.course_name",
"FROM",
"Courses",
"AS",
"T1",
"JOIN",
"Student_Enrolment_Courses",
"AS",
"T2",
"ON",
"T1.course_id",
"=",
"T2.course_id",
"GROUP",
"BY",
"T1.course_name",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
] | [
"select",
"t1",
".",
"course_name",
"from",
"courses",
"as",
"t1",
"join",
"student_enrolment_courses",
"as",
"t2",
"on",
"t1",
".",
"course_id",
"=",
"t2",
".",
"course_id",
"group",
"by",
"t1",
".",
"course_name",
"order",
"by",
"count",
"(",
"*",
")",
... | [
"What",
"'s",
"the",
"name",
"of",
"the",
"course",
"with",
"most",
"number",
"of",
"enrollments",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT T1.course_name FROM Courses AS T1 JOIN Student_Enrolment_Courses AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name ORDER BY count(*) DESC LIMIT 1 | What is the name of the course with the most students enrolled? | [
"SELECT",
"T1.course_name",
"FROM",
"Courses",
"AS",
"T1",
"JOIN",
"Student_Enrolment_Courses",
"AS",
"T2",
"ON",
"T1.course_id",
"=",
"T2.course_id",
"GROUP",
"BY",
"T1.course_name",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
] | [
"select",
"t1",
".",
"course_name",
"from",
"courses",
"as",
"t1",
"join",
"student_enrolment_courses",
"as",
"t2",
"on",
"t1",
".",
"course_id",
"=",
"t2",
".",
"course_id",
"group",
"by",
"t1",
".",
"course_name",
"order",
"by",
"count",
"(",
"*",
")",
... | [
"What",
"is",
"the",
"name",
"of",
"the",
"course",
"with",
"the",
"most",
"students",
"enrolled",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT T1.last_name FROM Students AS T1 JOIN Addresses AS T2 ON T1.current_address_id = T2.address_id WHERE T2.state_province_county = 'NorthCarolina' EXCEPT SELECT DISTINCT T3.last_name FROM Students AS T3 JOIN Student_Enrolment AS T4 ON T3.student_id = T4.student_id | Find the last name of the students who currently live in the state of North Carolina but have not registered in any degree program. | [
"SELECT",
"T1.last_name",
"FROM",
"Students",
"AS",
"T1",
"JOIN",
"Addresses",
"AS",
"T2",
"ON",
"T1.current_address_id",
"=",
"T2.address_id",
"WHERE",
"T2.state_province_county",
"=",
"'NorthCarolina",
"'",
"EXCEPT",
"SELECT",
"DISTINCT",
"T3.last_name",
"FROM",
"St... | [
"select",
"t1",
".",
"last_name",
"from",
"students",
"as",
"t1",
"join",
"addresses",
"as",
"t2",
"on",
"t1",
".",
"current_address_id",
"=",
"t2",
".",
"address_id",
"where",
"t2",
".",
"state_province_county",
"=",
"value",
"except",
"select",
"distinct",
... | [
"Find",
"the",
"last",
"name",
"of",
"the",
"students",
"who",
"currently",
"live",
"in",
"the",
"state",
"of",
"North",
"Carolina",
"but",
"have",
"not",
"registered",
"in",
"any",
"degree",
"program",
"."
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT T1.last_name FROM Students AS T1 JOIN Addresses AS T2 ON T1.current_address_id = T2.address_id WHERE T2.state_province_county = 'NorthCarolina' EXCEPT SELECT DISTINCT T3.last_name FROM Students AS T3 JOIN Student_Enrolment AS T4 ON T3.student_id = T4.student_id | What are the last name of the students who live in North Carolina but have not registered in any degree programs? | [
"SELECT",
"T1.last_name",
"FROM",
"Students",
"AS",
"T1",
"JOIN",
"Addresses",
"AS",
"T2",
"ON",
"T1.current_address_id",
"=",
"T2.address_id",
"WHERE",
"T2.state_province_county",
"=",
"'NorthCarolina",
"'",
"EXCEPT",
"SELECT",
"DISTINCT",
"T3.last_name",
"FROM",
"St... | [
"select",
"t1",
".",
"last_name",
"from",
"students",
"as",
"t1",
"join",
"addresses",
"as",
"t2",
"on",
"t1",
".",
"current_address_id",
"=",
"t2",
".",
"address_id",
"where",
"t2",
".",
"state_province_county",
"=",
"value",
"except",
"select",
"distinct",
... | [
"What",
"are",
"the",
"last",
"name",
"of",
"the",
"students",
"who",
"live",
"in",
"North",
"Carolina",
"but",
"have",
"not",
"registered",
"in",
"any",
"degree",
"programs",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT T2.transcript_date , T1.transcript_id FROM Transcript_Contents AS T1 JOIN Transcripts AS T2 ON T1.transcript_id = T2.transcript_id GROUP BY T1.transcript_id HAVING count(*) >= 2 | Show the date and id of the transcript with at least 2 course results. | [
"SELECT",
"T2.transcript_date",
",",
"T1.transcript_id",
"FROM",
"Transcript_Contents",
"AS",
"T1",
"JOIN",
"Transcripts",
"AS",
"T2",
"ON",
"T1.transcript_id",
"=",
"T2.transcript_id",
"GROUP",
"BY",
"T1.transcript_id",
"HAVING",
"count",
"(",
"*",
")",
">",
"=",
... | [
"select",
"t2",
".",
"transcript_date",
",",
"t1",
".",
"transcript_id",
"from",
"transcript_contents",
"as",
"t1",
"join",
"transcripts",
"as",
"t2",
"on",
"t1",
".",
"transcript_id",
"=",
"t2",
".",
"transcript_id",
"group",
"by",
"t1",
".",
"transcript_id",... | [
"Show",
"the",
"date",
"and",
"id",
"of",
"the",
"transcript",
"with",
"at",
"least",
"2",
"course",
"results",
"."
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT T2.transcript_date , T1.transcript_id FROM Transcript_Contents AS T1 JOIN Transcripts AS T2 ON T1.transcript_id = T2.transcript_id GROUP BY T1.transcript_id HAVING count(*) >= 2 | What is the date and id of the transcript with at least 2 courses listed? | [
"SELECT",
"T2.transcript_date",
",",
"T1.transcript_id",
"FROM",
"Transcript_Contents",
"AS",
"T1",
"JOIN",
"Transcripts",
"AS",
"T2",
"ON",
"T1.transcript_id",
"=",
"T2.transcript_id",
"GROUP",
"BY",
"T1.transcript_id",
"HAVING",
"count",
"(",
"*",
")",
">",
"=",
... | [
"select",
"t2",
".",
"transcript_date",
",",
"t1",
".",
"transcript_id",
"from",
"transcript_contents",
"as",
"t1",
"join",
"transcripts",
"as",
"t2",
"on",
"t1",
".",
"transcript_id",
"=",
"t2",
".",
"transcript_id",
"group",
"by",
"t1",
".",
"transcript_id",... | [
"What",
"is",
"the",
"date",
"and",
"id",
"of",
"the",
"transcript",
"with",
"at",
"least",
"2",
"courses",
"listed",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT cell_mobile_number FROM Students WHERE first_name = 'Timmothy' AND last_name = 'Ward' | What is the phone number of the man with the first name Timmothy and the last name Ward? | [
"SELECT",
"cell_mobile_number",
"FROM",
"Students",
"WHERE",
"first_name",
"=",
"'Timmothy",
"'",
"AND",
"last_name",
"=",
"'Ward",
"'"
] | [
"select",
"cell_mobile_number",
"from",
"students",
"where",
"first_name",
"=",
"value",
"and",
"last_name",
"=",
"value"
] | [
"What",
"is",
"the",
"phone",
"number",
"of",
"the",
"man",
"with",
"the",
"first",
"name",
"Timmothy",
"and",
"the",
"last",
"name",
"Ward",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | select cell_mobile_number from students where first_name = 'timmothy' and last_name = 'ward' | What is the mobile phone number of the student named Timmothy Ward ? | [
"select",
"cell_mobile_number",
"from",
"students",
"where",
"first_name",
"=",
"\"timmothy\"",
"and",
"last_name",
"=",
"\"ward\""
] | [
"select",
"cell_mobile_number",
"from",
"students",
"where",
"first_name",
"=",
"value",
"and",
"last_name",
"=",
"value"
] | [
"What",
"is",
"the",
"mobile",
"phone",
"number",
"of",
"the",
"student",
"named",
"Timmothy",
"Ward",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT first_name , middle_name , last_name FROM Students ORDER BY date_first_registered ASC LIMIT 1 | Who is the first student to register? List the first name, middle name and last name. | [
"SELECT",
"first_name",
",",
"middle_name",
",",
"last_name",
"FROM",
"Students",
"ORDER",
"BY",
"date_first_registered",
"ASC",
"LIMIT",
"1"
] | [
"select",
"first_name",
",",
"middle_name",
",",
"last_name",
"from",
"students",
"order",
"by",
"date_first_registered",
"asc",
"limit",
"value"
] | [
"Who",
"is",
"the",
"first",
"student",
"to",
"register",
"?",
"List",
"the",
"first",
"name",
",",
"middle",
"name",
"and",
"last",
"name",
"."
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT first_name , middle_name , last_name FROM Students ORDER BY date_first_registered ASC LIMIT 1 | What is the first, middle, and last name of the first student to register? | [
"SELECT",
"first_name",
",",
"middle_name",
",",
"last_name",
"FROM",
"Students",
"ORDER",
"BY",
"date_first_registered",
"ASC",
"LIMIT",
"1"
] | [
"select",
"first_name",
",",
"middle_name",
",",
"last_name",
"from",
"students",
"order",
"by",
"date_first_registered",
"asc",
"limit",
"value"
] | [
"What",
"is",
"the",
"first",
",",
"middle",
",",
"and",
"last",
"name",
"of",
"the",
"first",
"student",
"to",
"register",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT first_name , middle_name , last_name FROM Students ORDER BY date_left ASC LIMIT 1 | Who is the earliest graduate of the school? List the first name, middle name and last name. | [
"SELECT",
"first_name",
",",
"middle_name",
",",
"last_name",
"FROM",
"Students",
"ORDER",
"BY",
"date_left",
"ASC",
"LIMIT",
"1"
] | [
"select",
"first_name",
",",
"middle_name",
",",
"last_name",
"from",
"students",
"order",
"by",
"date_left",
"asc",
"limit",
"value"
] | [
"Who",
"is",
"the",
"earliest",
"graduate",
"of",
"the",
"school",
"?",
"List",
"the",
"first",
"name",
",",
"middle",
"name",
"and",
"last",
"name",
"."
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT first_name , middle_name , last_name FROM Students ORDER BY date_left ASC LIMIT 1 | What is the first, middle, and last name of the earliest school graduate? | [
"SELECT",
"first_name",
",",
"middle_name",
",",
"last_name",
"FROM",
"Students",
"ORDER",
"BY",
"date_left",
"ASC",
"LIMIT",
"1"
] | [
"select",
"first_name",
",",
"middle_name",
",",
"last_name",
"from",
"students",
"order",
"by",
"date_left",
"asc",
"limit",
"value"
] | [
"What",
"is",
"the",
"first",
",",
"middle",
",",
"and",
"last",
"name",
"of",
"the",
"earliest",
"school",
"graduate",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT first_name FROM Students WHERE current_address_id != permanent_address_id | Whose permanent address is different from his or her current address? List his or her first name. | [
"SELECT",
"first_name",
"FROM",
"Students",
"WHERE",
"current_address_id",
"!",
"=",
"permanent_address_id"
] | [
"select",
"first_name",
"from",
"students",
"where",
"current_address_id",
"!",
"=",
"permanent_address_id"
] | [
"Whose",
"permanent",
"address",
"is",
"different",
"from",
"his",
"or",
"her",
"current",
"address",
"?",
"List",
"his",
"or",
"her",
"first",
"name",
"."
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT first_name FROM Students WHERE current_address_id != permanent_address_id | What is the first name of the student whose permanent address is different from his or her current one? | [
"SELECT",
"first_name",
"FROM",
"Students",
"WHERE",
"current_address_id",
"!",
"=",
"permanent_address_id"
] | [
"select",
"first_name",
"from",
"students",
"where",
"current_address_id",
"!",
"=",
"permanent_address_id"
] | [
"What",
"is",
"the",
"first",
"name",
"of",
"the",
"student",
"whose",
"permanent",
"address",
"is",
"different",
"from",
"his",
"or",
"her",
"current",
"one",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT T1.address_id , T1.line_1 , T1.line_2 FROM Addresses AS T1 JOIN Students AS T2 ON T1.address_id = T2.current_address_id GROUP BY T1.address_id ORDER BY count(*) DESC LIMIT 1 | Which address holds the most number of students currently? List the address id and all lines. | [
"SELECT",
"T1.address_id",
",",
"T1.line_1",
",",
"T1.line_2",
"FROM",
"Addresses",
"AS",
"T1",
"JOIN",
"Students",
"AS",
"T2",
"ON",
"T1.address_id",
"=",
"T2.current_address_id",
"GROUP",
"BY",
"T1.address_id",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
... | [
"select",
"t1",
".",
"address_id",
",",
"t1",
".",
"line_1",
",",
"t1",
".",
"line_2",
"from",
"addresses",
"as",
"t1",
"join",
"students",
"as",
"t2",
"on",
"t1",
".",
"address_id",
"=",
"t2",
".",
"current_address_id",
"group",
"by",
"t1",
".",
"addr... | [
"Which",
"address",
"holds",
"the",
"most",
"number",
"of",
"students",
"currently",
"?",
"List",
"the",
"address",
"id",
"and",
"all",
"lines",
"."
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT T1.address_id , T1.line_1 , T1.line_2 FROM Addresses AS T1 JOIN Students AS T2 ON T1.address_id = T2.current_address_id GROUP BY T1.address_id ORDER BY count(*) DESC LIMIT 1 | What is the id, line 1, and line 2 of the address with the most students? | [
"SELECT",
"T1.address_id",
",",
"T1.line_1",
",",
"T1.line_2",
"FROM",
"Addresses",
"AS",
"T1",
"JOIN",
"Students",
"AS",
"T2",
"ON",
"T1.address_id",
"=",
"T2.current_address_id",
"GROUP",
"BY",
"T1.address_id",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
... | [
"select",
"t1",
".",
"address_id",
",",
"t1",
".",
"line_1",
",",
"t1",
".",
"line_2",
"from",
"addresses",
"as",
"t1",
"join",
"students",
"as",
"t2",
"on",
"t1",
".",
"address_id",
"=",
"t2",
".",
"current_address_id",
"group",
"by",
"t1",
".",
"addr... | [
"What",
"is",
"the",
"id",
",",
"line",
"1",
",",
"and",
"line",
"2",
"of",
"the",
"address",
"with",
"the",
"most",
"students",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT avg(transcript_date) FROM Transcripts | On average, when were the transcripts printed? | [
"SELECT",
"avg",
"(",
"transcript_date",
")",
"FROM",
"Transcripts"
] | [
"select",
"avg",
"(",
"transcript_date",
")",
"from",
"transcripts"
] | [
"On",
"average",
",",
"when",
"were",
"the",
"transcripts",
"printed",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT avg(transcript_date) FROM Transcripts | What is the average transcript date? | [
"SELECT",
"avg",
"(",
"transcript_date",
")",
"FROM",
"Transcripts"
] | [
"select",
"avg",
"(",
"transcript_date",
")",
"from",
"transcripts"
] | [
"What",
"is",
"the",
"average",
"transcript",
"date",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT transcript_date , other_details FROM Transcripts ORDER BY transcript_date ASC LIMIT 1 | When is the first transcript released? List the date and details. | [
"SELECT",
"transcript_date",
",",
"other_details",
"FROM",
"Transcripts",
"ORDER",
"BY",
"transcript_date",
"ASC",
"LIMIT",
"1"
] | [
"select",
"transcript_date",
",",
"other_details",
"from",
"transcripts",
"order",
"by",
"transcript_date",
"asc",
"limit",
"value"
] | [
"When",
"is",
"the",
"first",
"transcript",
"released",
"?",
"List",
"the",
"date",
"and",
"details",
"."
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT transcript_date , other_details FROM Transcripts ORDER BY transcript_date ASC LIMIT 1 | What is the earliest date of a transcript release, and what details can you tell me? | [
"SELECT",
"transcript_date",
",",
"other_details",
"FROM",
"Transcripts",
"ORDER",
"BY",
"transcript_date",
"ASC",
"LIMIT",
"1"
] | [
"select",
"transcript_date",
",",
"other_details",
"from",
"transcripts",
"order",
"by",
"transcript_date",
"asc",
"limit",
"value"
] | [
"What",
"is",
"the",
"earliest",
"date",
"of",
"a",
"transcript",
"release",
",",
"and",
"what",
"details",
"can",
"you",
"tell",
"me",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT count(*) FROM Transcripts | How many transcripts are released? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"Transcripts"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"transcripts"
] | [
"How",
"many",
"transcripts",
"are",
"released",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT count(*) FROM Transcripts | How many transcripts are listed? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"Transcripts"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"transcripts"
] | [
"How",
"many",
"transcripts",
"are",
"listed",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT transcript_date FROM Transcripts ORDER BY transcript_date DESC LIMIT 1 | What is the last transcript release date? | [
"SELECT",
"transcript_date",
"FROM",
"Transcripts",
"ORDER",
"BY",
"transcript_date",
"DESC",
"LIMIT",
"1"
] | [
"select",
"transcript_date",
"from",
"transcripts",
"order",
"by",
"transcript_date",
"desc",
"limit",
"value"
] | [
"What",
"is",
"the",
"last",
"transcript",
"release",
"date",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT transcript_date FROM Transcripts ORDER BY transcript_date DESC LIMIT 1 | When was the last transcript released? | [
"SELECT",
"transcript_date",
"FROM",
"Transcripts",
"ORDER",
"BY",
"transcript_date",
"DESC",
"LIMIT",
"1"
] | [
"select",
"transcript_date",
"from",
"transcripts",
"order",
"by",
"transcript_date",
"desc",
"limit",
"value"
] | [
"When",
"was",
"the",
"last",
"transcript",
"released",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT count(*) , student_course_id FROM Transcript_Contents GROUP BY student_course_id ORDER BY count(*) DESC LIMIT 1 | How many times at most can a course enrollment result show in different transcripts? Also show the course enrollment id. | [
"SELECT",
"count",
"(",
"*",
")",
",",
"student_course_id",
"FROM",
"Transcript_Contents",
"GROUP",
"BY",
"student_course_id",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
] | [
"select",
"count",
"(",
"*",
")",
",",
"student_course_id",
"from",
"transcript_contents",
"group",
"by",
"student_course_id",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
] | [
"How",
"many",
"times",
"at",
"most",
"can",
"a",
"course",
"enrollment",
"result",
"show",
"in",
"different",
"transcripts",
"?",
"Also",
"show",
"the",
"course",
"enrollment",
"id",
"."
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT count(*) , student_course_id FROM Transcript_Contents GROUP BY student_course_id ORDER BY count(*) DESC LIMIT 1 | What is the maximum number of times that a course shows up in different transcripts and what is that course's enrollment id? | [
"SELECT",
"count",
"(",
"*",
")",
",",
"student_course_id",
"FROM",
"Transcript_Contents",
"GROUP",
"BY",
"student_course_id",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
] | [
"select",
"count",
"(",
"*",
")",
",",
"student_course_id",
"from",
"transcript_contents",
"group",
"by",
"student_course_id",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
] | [
"What",
"is",
"the",
"maximum",
"number",
"of",
"times",
"that",
"a",
"course",
"shows",
"up",
"in",
"different",
"transcripts",
"and",
"what",
"is",
"that",
"course",
"'s",
"enrollment",
"id",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT T2.transcript_date , T1.transcript_id FROM Transcript_Contents AS T1 JOIN Transcripts AS T2 ON T1.transcript_id = T2.transcript_id GROUP BY T1.transcript_id ORDER BY count(*) ASC LIMIT 1 | Show the date of the transcript which shows the least number of results, also list the id. | [
"SELECT",
"T2.transcript_date",
",",
"T1.transcript_id",
"FROM",
"Transcript_Contents",
"AS",
"T1",
"JOIN",
"Transcripts",
"AS",
"T2",
"ON",
"T1.transcript_id",
"=",
"T2.transcript_id",
"GROUP",
"BY",
"T1.transcript_id",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"ASC",... | [
"select",
"t2",
".",
"transcript_date",
",",
"t1",
".",
"transcript_id",
"from",
"transcript_contents",
"as",
"t1",
"join",
"transcripts",
"as",
"t2",
"on",
"t1",
".",
"transcript_id",
"=",
"t2",
".",
"transcript_id",
"group",
"by",
"t1",
".",
"transcript_id",... | [
"Show",
"the",
"date",
"of",
"the",
"transcript",
"which",
"shows",
"the",
"least",
"number",
"of",
"results",
",",
"also",
"list",
"the",
"id",
"."
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT T2.transcript_date , T1.transcript_id FROM Transcript_Contents AS T1 JOIN Transcripts AS T2 ON T1.transcript_id = T2.transcript_id GROUP BY T1.transcript_id ORDER BY count(*) ASC LIMIT 1 | What is the date and id of the transcript with the least number of results? | [
"SELECT",
"T2.transcript_date",
",",
"T1.transcript_id",
"FROM",
"Transcript_Contents",
"AS",
"T1",
"JOIN",
"Transcripts",
"AS",
"T2",
"ON",
"T1.transcript_id",
"=",
"T2.transcript_id",
"GROUP",
"BY",
"T1.transcript_id",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"ASC",... | [
"select",
"t2",
".",
"transcript_date",
",",
"t1",
".",
"transcript_id",
"from",
"transcript_contents",
"as",
"t1",
"join",
"transcripts",
"as",
"t2",
"on",
"t1",
".",
"transcript_id",
"=",
"t2",
".",
"transcript_id",
"group",
"by",
"t1",
".",
"transcript_id",... | [
"What",
"is",
"the",
"date",
"and",
"id",
"of",
"the",
"transcript",
"with",
"the",
"least",
"number",
"of",
"results",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT DISTINCT T2.semester_id FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id WHERE degree_summary_name = 'Master' INTERSECT SELECT DISTINCT T2.semester_id FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id... | Find the semester when both Master students and Bachelor students got enrolled in. | [
"SELECT",
"DISTINCT",
"T2.semester_id",
"FROM",
"Degree_Programs",
"AS",
"T1",
"JOIN",
"Student_Enrolment",
"AS",
"T2",
"ON",
"T1.degree_program_id",
"=",
"T2.degree_program_id",
"WHERE",
"degree_summary_name",
"=",
"'Master",
"'",
"INTERSECT",
"SELECT",
"DISTINCT",
"T2... | [
"select",
"distinct",
"t2",
".",
"semester_id",
"from",
"degree_programs",
"as",
"t1",
"join",
"student_enrolment",
"as",
"t2",
"on",
"t1",
".",
"degree_program_id",
"=",
"t2",
".",
"degree_program_id",
"where",
"degree_summary_name",
"=",
"value",
"intersect",
"s... | [
"Find",
"the",
"semester",
"when",
"both",
"Master",
"students",
"and",
"Bachelor",
"students",
"got",
"enrolled",
"in",
"."
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT DISTINCT T2.semester_id FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id WHERE degree_summary_name = 'Master' INTERSECT SELECT DISTINCT T2.semester_id FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id... | What is the id of the semester that had both Masters and Bachelors students enrolled? | [
"SELECT",
"DISTINCT",
"T2.semester_id",
"FROM",
"Degree_Programs",
"AS",
"T1",
"JOIN",
"Student_Enrolment",
"AS",
"T2",
"ON",
"T1.degree_program_id",
"=",
"T2.degree_program_id",
"WHERE",
"degree_summary_name",
"=",
"'Master",
"'",
"INTERSECT",
"SELECT",
"DISTINCT",
"T2... | [
"select",
"distinct",
"t2",
".",
"semester_id",
"from",
"degree_programs",
"as",
"t1",
"join",
"student_enrolment",
"as",
"t2",
"on",
"t1",
".",
"degree_program_id",
"=",
"t2",
".",
"degree_program_id",
"where",
"degree_summary_name",
"=",
"value",
"intersect",
"s... | [
"What",
"is",
"the",
"id",
"of",
"the",
"semester",
"that",
"had",
"both",
"Masters",
"and",
"Bachelors",
"students",
"enrolled",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT count(DISTINCT current_address_id) FROM Students | How many different addresses do the students currently live? | [
"SELECT",
"count",
"(",
"DISTINCT",
"current_address_id",
")",
"FROM",
"Students"
] | [
"select",
"count",
"(",
"distinct",
"current_address_id",
")",
"from",
"students"
] | [
"How",
"many",
"different",
"addresses",
"do",
"the",
"students",
"currently",
"live",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT count(DISTINCT current_address_id) FROM Students | What are the different addresses that have students living there? | [
"SELECT",
"count",
"(",
"DISTINCT",
"current_address_id",
")",
"FROM",
"Students"
] | [
"select",
"count",
"(",
"distinct",
"current_address_id",
")",
"from",
"students"
] | [
"What",
"are",
"the",
"different",
"addresses",
"that",
"have",
"students",
"living",
"there",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT other_student_details FROM Students ORDER BY other_student_details DESC | List all the student details in reversed lexicographical order. | [
"SELECT",
"other_student_details",
"FROM",
"Students",
"ORDER",
"BY",
"other_student_details",
"DESC"
] | [
"select",
"other_student_details",
"from",
"students",
"order",
"by",
"other_student_details",
"desc"
] | [
"List",
"all",
"the",
"student",
"details",
"in",
"reversed",
"lexicographical",
"order",
"."
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT other_student_details FROM Students ORDER BY other_student_details DESC | What other details can you tell me about students in reverse alphabetical order? | [
"SELECT",
"other_student_details",
"FROM",
"Students",
"ORDER",
"BY",
"other_student_details",
"DESC"
] | [
"select",
"other_student_details",
"from",
"students",
"order",
"by",
"other_student_details",
"desc"
] | [
"What",
"other",
"details",
"can",
"you",
"tell",
"me",
"about",
"students",
"in",
"reverse",
"alphabetical",
"order",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT section_description FROM Sections WHERE section_name = 'h' | Describe the section h. | [
"SELECT",
"section_description",
"FROM",
"Sections",
"WHERE",
"section_name",
"=",
"'h",
"'"
] | [
"select",
"section_description",
"from",
"sections",
"where",
"section_name",
"=",
"value"
] | [
"Describe",
"the",
"section",
"h",
"."
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | SELECT section_description FROM Sections WHERE section_name = 'h' | What is the description for the section named h? | [
"SELECT",
"section_description",
"FROM",
"Sections",
"WHERE",
"section_name",
"=",
"'h",
"'"
] | [
"select",
"section_description",
"from",
"sections",
"where",
"section_name",
"=",
"value"
] | [
"What",
"is",
"the",
"description",
"for",
"the",
"section",
"named",
"h",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | select t1.first_name from students as t1 join addresses as t2 on t1.permanent_address_id = t2.address_id where t2.country = 'haiti' or t1.cell_mobile_number = '09700166582' | Find the first name of the students who permanently live in the country Haiti or have the cell phone number 09700166582 . | [
"select",
"t1.first_name",
"from",
"students",
"as",
"t1",
"join",
"addresses",
"as",
"t2",
"on",
"t1.permanent_address_id",
"=",
"t2.address_id",
"where",
"t2.country",
"=",
"\"haiti\"",
"or",
"t1.cell_mobile_number",
"=",
"\"09700166582\""
] | [
"select",
"t1",
".",
"first_name",
"from",
"students",
"as",
"t1",
"join",
"addresses",
"as",
"t2",
"on",
"t1",
".",
"permanent_address_id",
"=",
"t2",
".",
"address_id",
"where",
"t2",
".",
"country",
"=",
"value",
"or",
"t1",
".",
"cell_mobile_number",
"... | [
"Find",
"the",
"first",
"name",
"of",
"the",
"students",
"who",
"permanently",
"live",
"in",
"the",
"country",
"Haiti",
"or",
"have",
"the",
"cell",
"phone",
"number",
"09700166582",
"."
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
student_transcripts_tracking | select t1.first_name from students as t1 join addresses as t2 on t1.permanent_address_id = t2.address_id where t2.country = 'haiti' or t1.cell_mobile_number = '09700166582' | What are the first names of the students who live in Haiti permanently or have the cell phone number 09700166582 ? | [
"select",
"t1.first_name",
"from",
"students",
"as",
"t1",
"join",
"addresses",
"as",
"t2",
"on",
"t1.permanent_address_id",
"=",
"t2.address_id",
"where",
"t2.country",
"=",
"\"haiti\"",
"or",
"t1.cell_mobile_number",
"=",
"\"09700166582\""
] | [
"select",
"t1",
".",
"first_name",
"from",
"students",
"as",
"t1",
"join",
"addresses",
"as",
"t2",
"on",
"t1",
".",
"permanent_address_id",
"=",
"t2",
".",
"address_id",
"where",
"t2",
".",
"country",
"=",
"value",
"or",
"t1",
".",
"cell_mobile_number",
"... | [
"What",
"are",
"the",
"first",
"names",
"of",
"the",
"students",
"who",
"live",
"in",
"Haiti",
"permanently",
"or",
"have",
"the",
"cell",
"phone",
"number",
"09700166582",
"?"
] | CREATE TABLE Addresses (
address_id NUMBER PRIMARY KEY,
line_1 TEXT,
line_2 TEXT,
line_3 TEXT,
city TEXT,
zip_postcode TEXT,
state_province_county TEXT,
country TEXT,
other_address_details TEXT
);
CREATE TABLE Courses (
course_id NUMBER PRIMARY KEY,
course_name TEXT,
course_description TEXT,
... |
tvshow | SELECT Title FROM Cartoon ORDER BY title | List the title of all cartoons in alphabetical order. | [
"SELECT",
"Title",
"FROM",
"Cartoon",
"ORDER",
"BY",
"title"
] | [
"select",
"title",
"from",
"cartoon",
"order",
"by",
"title"
] | [
"List",
"the",
"title",
"of",
"all",
"cartoons",
"in",
"alphabetical",
"order",
"."
] | CREATE TABLE TV_Channel (
id TEXT PRIMARY KEY,
series_name TEXT,
Country TEXT,
Language TEXT,
Content TEXT,
Pixel_aspect_ratio_PAR TEXT,
Hight_definition_TV TEXT,
Pay_per_view_PPV TEXT,
Package_Option TEXT
);
CREATE TABLE TV_series (
id NUMBER PRIMARY KEY,
Episode TEXT,
Air_Date TEXT,
Rating ... |
tvshow | SELECT Title FROM Cartoon ORDER BY title | What are the titles of the cartoons sorted alphabetically? | [
"SELECT",
"Title",
"FROM",
"Cartoon",
"ORDER",
"BY",
"title"
] | [
"select",
"title",
"from",
"cartoon",
"order",
"by",
"title"
] | [
"What",
"are",
"the",
"titles",
"of",
"the",
"cartoons",
"sorted",
"alphabetically",
"?"
] | CREATE TABLE TV_Channel (
id TEXT PRIMARY KEY,
series_name TEXT,
Country TEXT,
Language TEXT,
Content TEXT,
Pixel_aspect_ratio_PAR TEXT,
Hight_definition_TV TEXT,
Pay_per_view_PPV TEXT,
Package_Option TEXT
);
CREATE TABLE TV_series (
id NUMBER PRIMARY KEY,
Episode TEXT,
Air_Date TEXT,
Rating ... |
tvshow | SELECT Title FROM Cartoon WHERE Directed_by = "Ben Jones"; | List all cartoon directed by "Ben Jones". | [
"SELECT",
"Title",
"FROM",
"Cartoon",
"WHERE",
"Directed_by",
"=",
"``",
"Ben",
"Jones",
"''",
";"
] | [
"select",
"title",
"from",
"cartoon",
"where",
"directed_by",
"=",
"value"
] | [
"List",
"all",
"cartoon",
"directed",
"by",
"``",
"Ben",
"Jones",
"''",
"."
] | CREATE TABLE TV_Channel (
id TEXT PRIMARY KEY,
series_name TEXT,
Country TEXT,
Language TEXT,
Content TEXT,
Pixel_aspect_ratio_PAR TEXT,
Hight_definition_TV TEXT,
Pay_per_view_PPV TEXT,
Package_Option TEXT
);
CREATE TABLE TV_series (
id NUMBER PRIMARY KEY,
Episode TEXT,
Air_Date TEXT,
Rating ... |
tvshow | SELECT Title FROM Cartoon WHERE Directed_by = "Ben Jones"; | What are the names of all cartoons directed by Ben Jones? | [
"SELECT",
"Title",
"FROM",
"Cartoon",
"WHERE",
"Directed_by",
"=",
"``",
"Ben",
"Jones",
"''",
";"
] | [
"select",
"title",
"from",
"cartoon",
"where",
"directed_by",
"=",
"value"
] | [
"What",
"are",
"the",
"names",
"of",
"all",
"cartoons",
"directed",
"by",
"Ben",
"Jones",
"?"
] | CREATE TABLE TV_Channel (
id TEXT PRIMARY KEY,
series_name TEXT,
Country TEXT,
Language TEXT,
Content TEXT,
Pixel_aspect_ratio_PAR TEXT,
Hight_definition_TV TEXT,
Pay_per_view_PPV TEXT,
Package_Option TEXT
);
CREATE TABLE TV_series (
id NUMBER PRIMARY KEY,
Episode TEXT,
Air_Date TEXT,
Rating ... |
tvshow | SELECT count(*) FROM Cartoon WHERE Written_by = "Joseph Kuhr"; | How many cartoons were written by "Joseph Kuhr"? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"Cartoon",
"WHERE",
"Written_by",
"=",
"``",
"Joseph",
"Kuhr",
"''",
";"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"cartoon",
"where",
"written_by",
"=",
"value"
] | [
"How",
"many",
"cartoons",
"were",
"written",
"by",
"``",
"Joseph",
"Kuhr",
"''",
"?"
] | CREATE TABLE TV_Channel (
id TEXT PRIMARY KEY,
series_name TEXT,
Country TEXT,
Language TEXT,
Content TEXT,
Pixel_aspect_ratio_PAR TEXT,
Hight_definition_TV TEXT,
Pay_per_view_PPV TEXT,
Package_Option TEXT
);
CREATE TABLE TV_series (
id NUMBER PRIMARY KEY,
Episode TEXT,
Air_Date TEXT,
Rating ... |
tvshow | SELECT count(*) FROM Cartoon WHERE Written_by = "Joseph Kuhr"; | What is the number of cartoones written by Joseph Kuhr? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"Cartoon",
"WHERE",
"Written_by",
"=",
"``",
"Joseph",
"Kuhr",
"''",
";"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"cartoon",
"where",
"written_by",
"=",
"value"
] | [
"What",
"is",
"the",
"number",
"of",
"cartoones",
"written",
"by",
"Joseph",
"Kuhr",
"?"
] | CREATE TABLE TV_Channel (
id TEXT PRIMARY KEY,
series_name TEXT,
Country TEXT,
Language TEXT,
Content TEXT,
Pixel_aspect_ratio_PAR TEXT,
Hight_definition_TV TEXT,
Pay_per_view_PPV TEXT,
Package_Option TEXT
);
CREATE TABLE TV_series (
id NUMBER PRIMARY KEY,
Episode TEXT,
Air_Date TEXT,
Rating ... |
tvshow | SELECT title , Directed_by FROM Cartoon ORDER BY Original_air_date | list all cartoon titles and their directors ordered by their air date | [
"SELECT",
"title",
",",
"Directed_by",
"FROM",
"Cartoon",
"ORDER",
"BY",
"Original_air_date"
] | [
"select",
"title",
",",
"directed_by",
"from",
"cartoon",
"order",
"by",
"original_air_date"
] | [
"list",
"all",
"cartoon",
"titles",
"and",
"their",
"directors",
"ordered",
"by",
"their",
"air",
"date"
] | CREATE TABLE TV_Channel (
id TEXT PRIMARY KEY,
series_name TEXT,
Country TEXT,
Language TEXT,
Content TEXT,
Pixel_aspect_ratio_PAR TEXT,
Hight_definition_TV TEXT,
Pay_per_view_PPV TEXT,
Package_Option TEXT
);
CREATE TABLE TV_series (
id NUMBER PRIMARY KEY,
Episode TEXT,
Air_Date TEXT,
Rating ... |
tvshow | SELECT title , Directed_by FROM Cartoon ORDER BY Original_air_date | What is the name and directors of all the cartoons that are ordered by air date? | [
"SELECT",
"title",
",",
"Directed_by",
"FROM",
"Cartoon",
"ORDER",
"BY",
"Original_air_date"
] | [
"select",
"title",
",",
"directed_by",
"from",
"cartoon",
"order",
"by",
"original_air_date"
] | [
"What",
"is",
"the",
"name",
"and",
"directors",
"of",
"all",
"the",
"cartoons",
"that",
"are",
"ordered",
"by",
"air",
"date",
"?"
] | CREATE TABLE TV_Channel (
id TEXT PRIMARY KEY,
series_name TEXT,
Country TEXT,
Language TEXT,
Content TEXT,
Pixel_aspect_ratio_PAR TEXT,
Hight_definition_TV TEXT,
Pay_per_view_PPV TEXT,
Package_Option TEXT
);
CREATE TABLE TV_series (
id NUMBER PRIMARY KEY,
Episode TEXT,
Air_Date TEXT,
Rating ... |
tvshow | SELECT Title FROM Cartoon WHERE Directed_by = "Ben Jones" OR Directed_by = "Brandon Vietti"; | List the title of all cartoon directed by "Ben Jones" or "Brandon Vietti". | [
"SELECT",
"Title",
"FROM",
"Cartoon",
"WHERE",
"Directed_by",
"=",
"``",
"Ben",
"Jones",
"''",
"OR",
"Directed_by",
"=",
"``",
"Brandon",
"Vietti",
"''",
";"
] | [
"select",
"title",
"from",
"cartoon",
"where",
"directed_by",
"=",
"value",
"or",
"directed_by",
"=",
"value"
] | [
"List",
"the",
"title",
"of",
"all",
"cartoon",
"directed",
"by",
"``",
"Ben",
"Jones",
"''",
"or",
"``",
"Brandon",
"Vietti",
"''",
"."
] | CREATE TABLE TV_Channel (
id TEXT PRIMARY KEY,
series_name TEXT,
Country TEXT,
Language TEXT,
Content TEXT,
Pixel_aspect_ratio_PAR TEXT,
Hight_definition_TV TEXT,
Pay_per_view_PPV TEXT,
Package_Option TEXT
);
CREATE TABLE TV_series (
id NUMBER PRIMARY KEY,
Episode TEXT,
Air_Date TEXT,
Rating ... |
tvshow | SELECT Title FROM Cartoon WHERE Directed_by = "Ben Jones" OR Directed_by = "Brandon Vietti"; | What are the titles of all cartoons directed by Ben Jones or Brandon Vietti? | [
"SELECT",
"Title",
"FROM",
"Cartoon",
"WHERE",
"Directed_by",
"=",
"``",
"Ben",
"Jones",
"''",
"OR",
"Directed_by",
"=",
"``",
"Brandon",
"Vietti",
"''",
";"
] | [
"select",
"title",
"from",
"cartoon",
"where",
"directed_by",
"=",
"value",
"or",
"directed_by",
"=",
"value"
] | [
"What",
"are",
"the",
"titles",
"of",
"all",
"cartoons",
"directed",
"by",
"Ben",
"Jones",
"or",
"Brandon",
"Vietti",
"?"
] | CREATE TABLE TV_Channel (
id TEXT PRIMARY KEY,
series_name TEXT,
Country TEXT,
Language TEXT,
Content TEXT,
Pixel_aspect_ratio_PAR TEXT,
Hight_definition_TV TEXT,
Pay_per_view_PPV TEXT,
Package_Option TEXT
);
CREATE TABLE TV_series (
id NUMBER PRIMARY KEY,
Episode TEXT,
Air_Date TEXT,
Rating ... |
tvshow | SELECT Country , count(*) FROM TV_Channel GROUP BY Country ORDER BY count(*) DESC LIMIT 1; | Which country has the most of TV Channels? List the country and number of TV Channels it has. | [
"SELECT",
"Country",
",",
"count",
"(",
"*",
")",
"FROM",
"TV_Channel",
"GROUP",
"BY",
"Country",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1",
";"
] | [
"select",
"country",
",",
"count",
"(",
"*",
")",
"from",
"tv_channel",
"group",
"by",
"country",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
] | [
"Which",
"country",
"has",
"the",
"most",
"of",
"TV",
"Channels",
"?",
"List",
"the",
"country",
"and",
"number",
"of",
"TV",
"Channels",
"it",
"has",
"."
] | CREATE TABLE TV_Channel (
id TEXT PRIMARY KEY,
series_name TEXT,
Country TEXT,
Language TEXT,
Content TEXT,
Pixel_aspect_ratio_PAR TEXT,
Hight_definition_TV TEXT,
Pay_per_view_PPV TEXT,
Package_Option TEXT
);
CREATE TABLE TV_series (
id NUMBER PRIMARY KEY,
Episode TEXT,
Air_Date TEXT,
Rating ... |
tvshow | SELECT Country , count(*) FROM TV_Channel GROUP BY Country ORDER BY count(*) DESC LIMIT 1; | What is the country with the most number of TV Channels and how many does it have? | [
"SELECT",
"Country",
",",
"count",
"(",
"*",
")",
"FROM",
"TV_Channel",
"GROUP",
"BY",
"Country",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1",
";"
] | [
"select",
"country",
",",
"count",
"(",
"*",
")",
"from",
"tv_channel",
"group",
"by",
"country",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
] | [
"What",
"is",
"the",
"country",
"with",
"the",
"most",
"number",
"of",
"TV",
"Channels",
"and",
"how",
"many",
"does",
"it",
"have",
"?"
] | CREATE TABLE TV_Channel (
id TEXT PRIMARY KEY,
series_name TEXT,
Country TEXT,
Language TEXT,
Content TEXT,
Pixel_aspect_ratio_PAR TEXT,
Hight_definition_TV TEXT,
Pay_per_view_PPV TEXT,
Package_Option TEXT
);
CREATE TABLE TV_series (
id NUMBER PRIMARY KEY,
Episode TEXT,
Air_Date TEXT,
Rating ... |
tvshow | SELECT count(DISTINCT series_name) , count(DISTINCT content) FROM TV_Channel; | List the number of different series names and contents in the TV Channel table. | [
"SELECT",
"count",
"(",
"DISTINCT",
"series_name",
")",
",",
"count",
"(",
"DISTINCT",
"content",
")",
"FROM",
"TV_Channel",
";"
] | [
"select",
"count",
"(",
"distinct",
"series_name",
")",
",",
"count",
"(",
"distinct",
"content",
")",
"from",
"tv_channel"
] | [
"List",
"the",
"number",
"of",
"different",
"series",
"names",
"and",
"contents",
"in",
"the",
"TV",
"Channel",
"table",
"."
] | CREATE TABLE TV_Channel (
id TEXT PRIMARY KEY,
series_name TEXT,
Country TEXT,
Language TEXT,
Content TEXT,
Pixel_aspect_ratio_PAR TEXT,
Hight_definition_TV TEXT,
Pay_per_view_PPV TEXT,
Package_Option TEXT
);
CREATE TABLE TV_series (
id NUMBER PRIMARY KEY,
Episode TEXT,
Air_Date TEXT,
Rating ... |
tvshow | SELECT count(DISTINCT series_name) , count(DISTINCT content) FROM TV_Channel; | How many different series and contents are listed in the TV Channel table? | [
"SELECT",
"count",
"(",
"DISTINCT",
"series_name",
")",
",",
"count",
"(",
"DISTINCT",
"content",
")",
"FROM",
"TV_Channel",
";"
] | [
"select",
"count",
"(",
"distinct",
"series_name",
")",
",",
"count",
"(",
"distinct",
"content",
")",
"from",
"tv_channel"
] | [
"How",
"many",
"different",
"series",
"and",
"contents",
"are",
"listed",
"in",
"the",
"TV",
"Channel",
"table",
"?"
] | CREATE TABLE TV_Channel (
id TEXT PRIMARY KEY,
series_name TEXT,
Country TEXT,
Language TEXT,
Content TEXT,
Pixel_aspect_ratio_PAR TEXT,
Hight_definition_TV TEXT,
Pay_per_view_PPV TEXT,
Package_Option TEXT
);
CREATE TABLE TV_series (
id NUMBER PRIMARY KEY,
Episode TEXT,
Air_Date TEXT,
Rating ... |
tvshow | SELECT Content FROM TV_Channel WHERE series_name = "Sky Radio"; | What is the content of TV Channel with serial name "Sky Radio"? | [
"SELECT",
"Content",
"FROM",
"TV_Channel",
"WHERE",
"series_name",
"=",
"``",
"Sky",
"Radio",
"''",
";"
] | [
"select",
"content",
"from",
"tv_channel",
"where",
"series_name",
"=",
"value"
] | [
"What",
"is",
"the",
"content",
"of",
"TV",
"Channel",
"with",
"serial",
"name",
"``",
"Sky",
"Radio",
"''",
"?"
] | CREATE TABLE TV_Channel (
id TEXT PRIMARY KEY,
series_name TEXT,
Country TEXT,
Language TEXT,
Content TEXT,
Pixel_aspect_ratio_PAR TEXT,
Hight_definition_TV TEXT,
Pay_per_view_PPV TEXT,
Package_Option TEXT
);
CREATE TABLE TV_series (
id NUMBER PRIMARY KEY,
Episode TEXT,
Air_Date TEXT,
Rating ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.