aherntech/spider-syn huggingface dataset:
Database: wta_1
Question: How many players are there for each hand type?
Paraphrased question: How many participants are there for each hand type?
SQL: SELECT count(*) ,  hand FROM players GROUP BY hand
Database: battle_death
Question: How many ships ended up being 'Captured'?
Paraphrased question: How many vessels ended up being 'Captured'?
SQL: SELECT count(*) FROM ship WHERE disposition_of_ship  =  'Captured'
Database: battle_death
Question: List the name and tonnage ordered by in descending alphaetical order for the names.
Paraphrased question: List the name and tonnage ordered by in descending alphaetical order for the names.
SQL: SELECT name ,  tonnage FROM ship ORDER BY name DESC
Database: battle_death
Question: List the name, date and result of each battle.
Paraphrased question: List the name, date and result of each battle.
SQL: SELECT name ,  date FROM battle
Database: battle_death
Question: What is maximum and minimum death toll caused each time?
Paraphrased question: What is maximum and minimum death toll caused each time?
SQL: SELECT max(killed) ,  min(killed) FROM death
Database: battle_death
Question: What is the average number of injuries caused each time?
Paraphrased question: What is the average number of injuries caused each time?
SQL: SELECT avg(injured) FROM death
Database: battle_death
Question: What are the death and injury situations caused by the ship with tonnage 't'?
Paraphrased question: What are the death and hurt situations caused by the vessel with tonnage 't'?
SQL: SELECT T1.killed ,  T1.injured FROM death AS T1 JOIN ship AS t2 ON T1.caused_by_ship_id  =  T2.id WHERE T2.tonnage  =  't'
Database: battle_death
Question: What are the name and results of the battles when the bulgarian commander is not 'Boril'
Paraphrased question: What are the name and results of the battles when the bulgarian commander is not 'Boril'
SQL: SELECT name ,  RESULT FROM battle WHERE bulgarian_commander != 'Boril'
Database: battle_death
Question: What are the different ids and names of the battles that lost any 'Brig' type shipes?
Paraphrased question: What are the different ids and names of the combat that lost any 'Brig' type vessels?
SQL: SELECT DISTINCT T1.id ,  T1.name FROM battle AS T1 JOIN ship AS T2 ON T1.id  =  T2.lost_in_battle WHERE T2.ship_type  =  'Brig'
Database: battle_death
Question: What are the ids and names of the battles that led to more than 10 people killed in total.
Paraphrased question: What are the ids and names of the combat that led to more than 10 people dead in total.
SQL: SELECT T1.id ,  T1.name FROM battle AS T1 JOIN ship AS T2 ON T1.id  =  T2.lost_in_battle JOIN death AS T3 ON T2.id  =  T3.caused_by_ship_id GROUP BY T1.id HAVING sum(T3.killed)  >  10
Database: battle_death
Question: What is the ship id and name that caused most total injuries?
Paraphrased question: What is the vessel id and name that caused most total injuries?
SQL: 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
Database: battle_death
Question: What are the distinct battle names which are between bulgarian commander 'Kaloyan' and latin commander 'Baldwin I'?
Paraphrased question: What are the distinct combat names which are between bulgarian commander 'Kaloyan' and latin commander 'Baldwin I'?
SQL: SELECT name FROM battle WHERE bulgarian_commander  =  'Kaloyan' AND latin_commander  =  'Baldwin I'
Database: battle_death
Question: How many different results are there for the battles?
Paraphrased question: How many different results are there for the combats?
SQL: SELECT count(DISTINCT RESULT) FROM battle
Database: battle_death
Question: How many battles did not lose any ship with tonnage '225'?
Paraphrased question: How many combats did not lose any vessel with tonnage '225'?
SQL: SELECT count(*) FROM battle WHERE id NOT IN ( SELECT lost_in_battle FROM ship WHERE tonnage  =  '225' );
Database: battle_death
Question: List the name and date the battle that has lost the ship named 'Lettice' and the ship named 'HMS Atalanta'
Paraphrased question: List the name and date the combat that has lost the vessel named 'Lettice' and the vessel named 'HMS Atalanta'
SQL: 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'
Database: battle_death
Question: Show names, results and bulgarian commanders of the battles with no ships lost in the 'English Channel'.
Paraphrased question: Show names, results and bulgarian commanders of the combats with no vessels lost in the 'English Channel'.
SQL: 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'
Database: battle_death
Question: What are the notes of the death events which has substring 'East'?
Paraphrased question: What are the remark of the death events which has substring 'East'?
SQL: SELECT note FROM death WHERE note LIKE '%East%'
Database: student_transcripts_tracking
Question: what are all the addresses including line 1 and line 2?
Paraphrased question: what are all the addresses including line 1 and line 2?
SQL: SELECT line_1 ,  line_2 FROM addresses
Database: student_transcripts_tracking
Question: What is the first and second line for all addresses?
Paraphrased question: What is the first and second line for all addresses?
SQL: SELECT line_1 ,  line_2 FROM addresses
Database: student_transcripts_tracking
Question: How many courses in total are listed?
Paraphrased question: How many curriculums in total are listed?
SQL: SELECT count(*) FROM Courses
Database: student_transcripts_tracking
Question: How many courses are there?
Paraphrased question: How many curriculums are there?
SQL: SELECT count(*) FROM Courses
Database: student_transcripts_tracking
Question: How is the math course described?
Paraphrased question: How is the math curriculum described?
SQL: SELECT course_description FROM Courses WHERE course_name  =  'math'
Database: student_transcripts_tracking
Question: What are the descriptions for all the math courses?
Paraphrased question: What are the describing content for all the math curriculums?
SQL: SELECT course_description FROM Courses WHERE course_name  =  'math'
Database: student_transcripts_tracking
Question: What is the zip code of the address in the city Port Chelsea?
Paraphrased question: What is the zip code of the position in the city Port Chelsea?
SQL: SELECT zip_postcode FROM Addresses WHERE city  =  'Port Chelsea'
Database: student_transcripts_tracking
Question: What is the zip code for Port Chelsea?
Paraphrased question: What is the zip code for Port Chelsea?
SQL: SELECT zip_postcode FROM Addresses WHERE city  =  'Port Chelsea'
Database: student_transcripts_tracking
Question: Which department offers the most number of degrees? List department name and id.
Paraphrased question: Which division offers the most number of degrees? List division name and id.
SQL: 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
Database: student_transcripts_tracking
Question: For each department id, what is the name of the department with the most number of degrees?
Paraphrased question: For each division id, what is the name of the division with the most number of degrees?
SQL: 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
Database: student_transcripts_tracking
Question: How many departments offer any degree?
Paraphrased question: How many departments offer any degree?
SQL: SELECT count(DISTINCT department_id) FROM Degree_Programs
Database: student_transcripts_tracking
Question: How many different departments offer degrees?
Paraphrased question: How many different departments offer degrees?
SQL: SELECT count(DISTINCT department_id) FROM Degree_Programs
Database: student_transcripts_tracking
Question: How many different degree names are offered?
Paraphrased question: How many different degree names are offered?
SQL: SELECT count(DISTINCT degree_summary_name) FROM Degree_Programs
Database: student_transcripts_tracking
Question: How many different degrees are offered?
Paraphrased question: How many different degrees are offered?
SQL: SELECT count(DISTINCT degree_summary_name) FROM Degree_Programs
Database: student_transcripts_tracking
Question: How many degrees does the engineering department offer?
Paraphrased question: How many degrees does the engineering division offer?
SQL: SELECT count(*) FROM Departments AS T1 JOIN Degree_Programs AS T2 ON T1.department_id  =  T2.department_id WHERE T1.department_name  =  'engineer'
Database: student_transcripts_tracking
Question: How many degrees does the engineering department have?
Paraphrased question: How many degrees does the engineering department have?
SQL: SELECT count(*) FROM Departments AS T1 JOIN Degree_Programs AS T2 ON T1.department_id  =  T2.department_id WHERE T1.department_name  =  'engineer'
Database: student_transcripts_tracking
Question: What are the names and descriptions of all the sections?
Paraphrased question: What are the names and describing contents of all the sections?
SQL: SELECT section_name ,  section_description FROM Sections
Database: student_transcripts_tracking
Question: What are the names and descriptions for all the sections?
Paraphrased question: What are the names and describing details for all the sections?
SQL: SELECT section_name ,  section_description FROM Sections
Database: student_transcripts_tracking
Question: What are the names and id of courses having at most 2 sections?
Paraphrased question: What are the names and id of curriculums having at most 2 sections?
SQL: 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
Database: student_transcripts_tracking
Question: What are the names and ids of every course with less than 2 sections?
Paraphrased question: What are the names and ids of every curriculum with less than 2 sections?
SQL: 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
Database: student_transcripts_tracking
Question: List the section_name in reversed lexicographical order.
Paraphrased question: List the section_name in reversed lexicographical order.
SQL: SELECT section_name FROM Sections ORDER BY section_name DESC
Database: student_transcripts_tracking
Question: What are the names of the sections in reverse alphabetical order?
Paraphrased question: What are the names of the sections in reverse alphabetical order?
SQL: SELECT section_name FROM Sections ORDER BY section_name DESC
Database: student_transcripts_tracking
Question: What is the semester which most student registered in? Show both the name and the id.
Paraphrased question: What is the academic session which most undergraduate registered in? Show both the name and the id.
SQL: 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
Database: student_transcripts_tracking
Question: For each semester, what is the name and id of the one with the most students registered?
Paraphrased question: For each semester, what is the name and id of the one with the most undergraduate registered?
SQL: 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
Database: student_transcripts_tracking
Question: What is the description of the department whose name has the substring the computer?
Paraphrased question: What is the describing details of the division whose name has the substring the computer?
SQL: SELECT department_description FROM Departments WHERE department_name LIKE '%computer%'
Database: student_transcripts_tracking
Question: What is the department description for the one whose name has the word computer?
Paraphrased question: What is the division describing details for the one whose name has the word computer?
SQL: SELECT department_description FROM Departments WHERE department_name LIKE '%computer%'
Database: student_transcripts_tracking
Question: Who are enrolled in 2 degree programs in one semester? List the first name, middle name and last name and the id.
Paraphrased question: Who are enrolled in 2 degree programs in one term? List the given name, middle name and family name and the id.
SQL: 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
Database: student_transcripts_tracking
Question: What are the first, middle, and last names, along with the ids, of all students who enrolled in 2 degree programs in one semester?
Paraphrased question: What are the given, middle, and family names, along with the ids, of all undergraduates who enrolled in 2 degree programs in one term?
SQL: 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
Database: student_transcripts_tracking
Question: Who is enrolled in a Bachelor degree program? List the first name, middle name, last name.
Paraphrased question: Who is enrolled in a Bachelor degree program? List the given name, middle name, family name.
SQL: 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'
Database: student_transcripts_tracking
Question: What are the first, middle, and last names for everybody enrolled in a Bachelors program?
Paraphrased question: What are the given, middle, and family names for everybody enrolled in a Bachelors program?
SQL: 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'
Database: student_transcripts_tracking
Question: Find the kind of program which most number of students are enrolled in?
Paraphrased question: Find the kind of program which most number of students are enrolled in?
SQL: 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
Database: student_transcripts_tracking
Question: What is the degree summary name that has the most number of students enrolled?
Paraphrased question: What is the degree summary name that has the most number of students enrolled?
SQL: 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
Database: student_transcripts_tracking
Question: Find the program which most number of students are enrolled in. List both the id and the summary.
Paraphrased question: Find the program which most number of students are enrolled in. List both the id and the summary.
SQL: 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
Database: student_transcripts_tracking
Question: What is the program id and the summary of the degree that has the most students enrolled?
Paraphrased question: What is the program id and the summary of the degree that has the most students enrolled?
SQL: 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
Database: student_transcripts_tracking
Question: 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.
Paraphrased question: Which student has enrolled for the most times in any program? List the id, given name, middle name, family name, the number of enrollments and undergraduate id.
SQL: SELECT 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
Database: student_transcripts_tracking
Question: 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?
Paraphrased question: What is the given, middle, and family name, along with the id and number of enrollments, for the undergraduate who enrolled the most in any program?
SQL: SELECT  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
Database: student_transcripts_tracking
Question: Which semesters do not have any student enrolled? List the semester name.
Paraphrased question: Which academic sessions do not have any student enrolled? List the academic session name.
SQL: SELECT semester_name FROM Semesters WHERE semester_id NOT IN( SELECT semester_id FROM Student_Enrolment )
Database: student_transcripts_tracking
Question: What is the name of the semester with no students enrolled?
Paraphrased question: What is the name of the academic session with no students enrolled?
SQL: SELECT semester_name FROM Semesters WHERE semester_id NOT IN( SELECT semester_id FROM Student_Enrolment )
Database: student_transcripts_tracking
Question: What are all the course names of the courses which ever have students enrolled in?
Paraphrased question: What are all the course names of the curriculums which ever have students enrolled in?
SQL: SELECT DISTINCT T1.course_name FROM Courses AS T1 JOIN Student_Enrolment_Courses AS T2 ON T1.course_id  =  T2.course_id
Database: student_transcripts_tracking
Question: What are the names of all courses that have some students enrolled?
Paraphrased question: What are the names of all curriculums that have some students enrolled?
SQL: SELECT DISTINCT T1.course_name FROM Courses AS T1 JOIN Student_Enrolment_Courses AS T2 ON T1.course_id  =  T2.course_id
Database: student_transcripts_tracking
Question: What's the name of the course with most number of enrollments?
Paraphrased question: What's the name of the curriculum with most number of enrollments?
SQL: 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
Database: student_transcripts_tracking
Question: What is the name of the course with the most students enrolled?
Paraphrased question: What is the name of the curriculum with the most students enrolled?
SQL: 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
Database: student_transcripts_tracking
Question: Find the last name of the students who currently live in the state of North Carolina but have not registered in any degree program.
Paraphrased question: Find the family name of the students who currently live in the state of North Carolina but have not registered in any degree program.
SQL: 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
Database: student_transcripts_tracking
Question: What are the last name of the students who live in North Carolina but have not registered in any degree programs?
Paraphrased question: What are the family name of the students who live in North Carolina but have not registered in any degree programs?
SQL: 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
Database: student_transcripts_tracking
Question: Show the date and id of the transcript with at least 2 course results.
Paraphrased question: Show the date and id of the student record with at least 2 curriculum results.
SQL: 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
Database: student_transcripts_tracking
Question: What is the date and id of the transcript with at least 2 courses listed?
Paraphrased question: What is the date and id of the student record with at least 2 curriculums listed?
SQL: 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
Database: student_transcripts_tracking
Question: What is the phone number of the man with the first name Timmothy and the last name Ward?
Paraphrased question: What is the phone number of the man with the given name Timmothy and the family name Ward?
SQL: SELECT cell_mobile_number FROM Students WHERE first_name  =  'Timmothy' AND last_name  =  'Ward'
Database: student_transcripts_tracking
Question: What is the mobile phone number of the student named Timothy Ward?
Paraphrased question: What is the phone number of the student named Timothy Ward?
SQL: SELECT cell_mobile_number FROM Students WHERE first_name  =  'Timmothy' AND last_name  =  'Ward'
Database: student_transcripts_tracking
Question: Who is the first student to register? List the first name, middle name and last name.
Paraphrased question: Who is the first student to register? List the given name, middle name and family name.
SQL: SELECT first_name ,  middle_name ,  last_name FROM Students ORDER BY date_first_registered ASC LIMIT 1
Database: student_transcripts_tracking
Question: What is the first, middle, and last name of the first student to register?
Paraphrased question: What is the given, middle, and family name of the first student to register?
SQL: SELECT first_name ,  middle_name ,  last_name FROM Students ORDER BY date_first_registered ASC LIMIT 1
Database: student_transcripts_tracking
Question: Who is the earliest graduate of the school? List the first name, middle name and last name.
Paraphrased question: Who is the earliest graduate of the school? List the given name, middle name and family name.
SQL: SELECT first_name ,  middle_name ,  last_name FROM Students ORDER BY date_left ASC LIMIT 1
Database: student_transcripts_tracking
Question: What is the first, middle, and last name of the earliest school graduate?
Paraphrased question: What is the given, middle, and family name of the earliest school graduate?
SQL: SELECT first_name ,  middle_name ,  last_name FROM Students ORDER BY date_left ASC LIMIT 1
Database: student_transcripts_tracking
Question: Whose permanent address is different from his or her current address? List his or her first name.
Paraphrased question: Whose permanent address is different from his or her current address? List his or her given name.
SQL: SELECT first_name FROM Students WHERE current_address_id != permanent_address_id
Database: student_transcripts_tracking
Question: What is the first name of the student whose permanent address is different from his or her current one?
Paraphrased question: What is the given name of the student whose permanent address is different from his or her current one?
SQL: SELECT first_name FROM Students WHERE current_address_id != permanent_address_id
Database: student_transcripts_tracking
Question: Which address holds the most number of students currently? List the address id and all lines.
Paraphrased question: Which place holds the most number of students currently? List the place id and all lines.
SQL: 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
Database: student_transcripts_tracking
Question: What is the id, line 1, and line 2 of the address with the most students?
Paraphrased question: What is the id, line 1, and line 2 of the address with the most students?
SQL: 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
Database: student_transcripts_tracking
Question: On average, when were the transcripts printed?
Paraphrased question: On average, when were the student record printed?
SQL: SELECT avg(transcript_date) FROM Transcripts
Database: student_transcripts_tracking
Question: What is the average transcript date?
Paraphrased question: What is the average student record date?
SQL: SELECT avg(transcript_date) FROM Transcripts
Database: student_transcripts_tracking
Question: When is the first transcript released? List the date and details.
Paraphrased question: When is the first student record released? List the date and details.
SQL: SELECT transcript_date ,  other_details FROM Transcripts ORDER BY transcript_date ASC LIMIT 1
Database: student_transcripts_tracking
Question: What is the earliest date of a transcript release, and what details can you tell me?
Paraphrased question: What is the earliest date of a transcript release, and what particulars can you tell me?
SQL: SELECT transcript_date ,  other_details FROM Transcripts ORDER BY transcript_date ASC LIMIT 1
Database: student_transcripts_tracking
Question: How many transcripts are released?
Paraphrased question: How many student record are released?
SQL: SELECT count(*) FROM Transcripts
Database: student_transcripts_tracking
Question: How many transcripts are listed?
Paraphrased question: How many student records are listed?
SQL: SELECT count(*) FROM Transcripts
Database: student_transcripts_tracking
Question: What is the last transcript release date?
Paraphrased question: What is the last student record release date?
SQL: SELECT transcript_date FROM Transcripts ORDER BY transcript_date DESC LIMIT 1
Database: student_transcripts_tracking
Question: When was the last transcript released?
Paraphrased question: When was the last student record released?
SQL: SELECT transcript_date FROM Transcripts ORDER BY transcript_date DESC LIMIT 1
Database: student_transcripts_tracking
Question: How many times at most can a course enrollment result show in different transcripts? Also show the course enrollment id.
Paraphrased question: How many times at most can a curriculum enrollment result show in different student records? Also show the curriculum enrollment id.
SQL: SELECT count(*) ,  student_course_id FROM Transcript_Contents GROUP BY student_course_id ORDER BY count(*) DESC LIMIT 1
Database: student_transcripts_tracking
Question: What is the maximum number of times that a course shows up in different transcripts and what is that course's enrollment id?
Paraphrased question: What is the maximum number of times that a curriculum shows up in different student records and what is that curriculum's enrollment id?
SQL: SELECT count(*) ,  student_course_id FROM Transcript_Contents GROUP BY student_course_id ORDER BY count(*) DESC LIMIT 1
Database: student_transcripts_tracking
Question: Show the date of the transcript which shows the least number of results, also list the id.
Paraphrased question: Show the date of the student record which shows the least number of results, also list the id.
SQL: 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
Database: student_transcripts_tracking
Question: What is the date and id of the transcript with the least number of results?
Paraphrased question: What is the date and id of the student record with the least number of results?
SQL: 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
Database: student_transcripts_tracking
Question: Find the semester when both Master students and Bachelor students got enrolled in.
Paraphrased question: Find the academic session when both Master students and Bachelor students got enrolled in.
SQL: 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 WHERE degree_summary_name  =  'Bachelor'
Database: student_transcripts_tracking
Question: What is the id of the semester that had both Masters and Bachelors students enrolled?
Paraphrased question: What is the id of the academic session that had both Masters and Bachelors students enrolled?
SQL: 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 WHERE degree_summary_name  =  'Bachelor'
Database: student_transcripts_tracking
Question: How many different addresses do the students currently live?
Paraphrased question: How many different places do the students currently live?
SQL: SELECT count(DISTINCT current_address_id) FROM Students
Database: student_transcripts_tracking
Question: What are the different addresses that have students living there?
Paraphrased question: What are the different places that have students living there?
SQL: SELECT count(DISTINCT current_address_id) FROM Students
Database: student_transcripts_tracking
Question: List all the student details in reversed lexicographical order.
Paraphrased question: List all the student particulars in reversed lexicographical order.
SQL: SELECT other_student_details FROM Students ORDER BY other_student_details DESC
Database: student_transcripts_tracking
Question: What other details can you tell me about students in reverse alphabetical order?
Paraphrased question: What other particulars can you tell me about students in reverse alphabetical order?
SQL: SELECT other_student_details FROM Students ORDER BY other_student_details DESC
Database: student_transcripts_tracking
Question: Describe the section h.
Paraphrased question: Describe the section h.
SQL: SELECT section_description FROM Sections WHERE section_name  =  'h'
Database: student_transcripts_tracking
Question: What is the description for the section named h?
Paraphrased question: What is the description for the section named h?
SQL: SELECT section_description FROM Sections WHERE section_name  =  'h'
Database: student_transcripts_tracking
Question: Find the first name of the students who permanently live in the country Haiti or have the cell phone number 09700166582.
Paraphrased question: Find the given name of the students who permanently live in the country Haiti or have the phone number 09700166582.
SQL: SELECT T1.first_name FROM Students AS T1 JOIN Addresses AS T2 ON T1.permanent_address_id  =  T2.address_id WHERE T2.country  =  'Haiti' UNION SELECT first_name FROM Students WHERE cell_mobile_number  =  '09700166582'
Database: student_transcripts_tracking
Question: What are the first names of the students who live in Haiti permanently or have the cell phone number 09700166582?
Paraphrased question: What are the given names of the students who live in Haiti permanently or have the phone number 09700166582?
SQL: SELECT T1.first_name FROM Students AS T1 JOIN Addresses AS T2 ON T1.permanent_address_id  =  T2.address_id WHERE T2.country  =  'Haiti' UNION SELECT first_name FROM Students WHERE cell_mobile_number  =  '09700166582'
Database: tvshow
Question: List the title of all cartoons in alphabetical order.
Paraphrased question: List the name of all animations in alphabetical order.
SQL: SELECT Title FROM Cartoon ORDER BY title
Database: tvshow
Question: What are the titles of the cartoons sorted alphabetically?
Paraphrased question: What are the names of the animations sorted alphabetically?
SQL: SELECT Title FROM Cartoon ORDER BY title
Database: tvshow
Question: List all cartoon directed by "Ben Jones".
Paraphrased question: List all animation directed by "Ben Jones".
SQL: SELECT Title FROM Cartoon WHERE Directed_by = "Ben Jones";
Database: tvshow
Question: What are the names of all cartoons directed by Ben Jones?
Paraphrased question: What are the names of all animations directed by Ben Jones?
SQL: SELECT Title FROM Cartoon WHERE Directed_by = "Ben Jones";
Database: tvshow
Question: How many cartoons were written by "Joseph Kuhr"?
Paraphrased question: How many animations were written by "Joseph Kuhr"?
SQL: SELECT count(*) FROM Cartoon WHERE Written_by = "Joseph Kuhr";
Database: tvshow
Question: What is the number of cartoones written by Joseph Kuhr?
Paraphrased question: What is the number of animations written by Joseph Kuhr?
SQL: SELECT count(*) FROM Cartoon WHERE Written_by = "Joseph Kuhr";
Database: tvshow
Question: list all cartoon titles and their directors ordered by their air date
Paraphrased question: list all animation and their directors ordered by their airdate
SQL: SELECT title ,  Directed_by FROM Cartoon ORDER BY Original_air_date
Database: tvshow
Question: What is the name and directors of all the cartoons that are ordered by air date?
Paraphrased question: What is the name and directors of all the animation that are ordered by released date?
SQL: SELECT title ,  Directed_by FROM Cartoon ORDER BY Original_air_date
Database: tvshow
Question: List the title of all cartoon directed by "Ben Jones" or "Brandon Vietti".
Paraphrased question: List the name of all animation directed by "Ben Jones" or "Brandon Vietti".
SQL: SELECT Title FROM Cartoon WHERE Directed_by = "Ben Jones" OR Directed_by = "Brandon Vietti";
Database: tvshow
Question: What are the titles of all cartoons directed by Ben Jones or Brandon Vietti?
Paraphrased question: What are the names of all animation directed by Ben Jones or Brandon Vietti?
SQL: SELECT Title FROM Cartoon WHERE Directed_by = "Ben Jones" OR Directed_by = "Brandon Vietti";
Database: tvshow
Question: Which country has the most of TV Channels? List the country and number of TV Channels it has.
Paraphrased question: Which country has the most of TV Channels? List the country name and number of TV Channels it has.
SQL: SELECT Country ,  count(*) FROM TV_Channel GROUP BY Country ORDER BY count(*) DESC LIMIT 1;
Database: tvshow
Question: What is the country with the most number of TV Channels and how many does it have?
Paraphrased question: What is the State with the most number of TV Channels and how many does it have?
SQL: SELECT Country ,  count(*) FROM TV_Channel GROUP BY Country ORDER BY count(*) DESC LIMIT 1;
Database: tvshow
Question: List the number of different series names and contents in the TV Channel table.
Paraphrased question: List the number of different serial names and contents in the TV Channel table.
SQL: SELECT count(DISTINCT series_name) ,  count(DISTINCT content) FROM TV_Channel;
Database: tvshow
Question: How many different series and contents are listed in the TV Channel table?
Paraphrased question: How many different serial and contents are listed in the TV Channel table?
SQL: SELECT count(DISTINCT series_name) ,  count(DISTINCT content) FROM TV_Channel;
Database: tvshow
Question: What is the content of TV Channel with serial name "Sky Radio"?
Paraphrased question: What is the content of TV Channel with serial name "Sky Radio"?
SQL: SELECT Content FROM TV_Channel WHERE series_name = "Sky Radio";
Database: tvshow
Question: What is the content of the series Sky Radio?
Paraphrased question: What is the content of the series Sky Radio?
SQL: SELECT Content FROM TV_Channel WHERE series_name = "Sky Radio";
Database: tvshow
Question: What is the Package Option of TV Channel with serial name "Sky Radio"?
Paraphrased question: What is the Package Option of TV Channel with serial name "Sky Radio"?
SQL: SELECT Package_Option FROM TV_Channel WHERE series_name = "Sky Radio";
Database: tvshow
Question: What are the Package Options of the TV Channels whose series names are Sky Radio?
Paraphrased question: What are the Package Options of the TV Channels whose series names are Sky Radio?
SQL: SELECT Package_Option FROM TV_Channel WHERE series_name = "Sky Radio";
Database: tvshow
Question: How many TV Channel using language English?
Paraphrased question: How many TV Channel using language English?
SQL: SELECT count(*) FROM TV_Channel WHERE LANGUAGE = "English";
Database: tvshow
Question: How many TV Channels use the English language?
Paraphrased question: How many TV Channels use the English language?
SQL: SELECT count(*) FROM TV_Channel WHERE LANGUAGE = "English";
Database: tvshow
Question: List the language used least number of TV Channel. List language and number of TV Channel.
Paraphrased question: List the language used least number of TV Channel. List language and number of TV Channel.
SQL: SELECT LANGUAGE ,  count(*) FROM TV_Channel GROUP BY LANGUAGE ORDER BY count(*) ASC LIMIT 1;
Database: tvshow
Question: What are the languages used by the least number of TV Channels and how many channels use it?
Paraphrased question: What are the languages used by the least number of TV Channels and how many channels use it?
SQL: SELECT LANGUAGE ,  count(*) FROM TV_Channel GROUP BY LANGUAGE ORDER BY count(*) ASC LIMIT 1;
Database: tvshow
Question: List each language and the number of TV Channels using it.
Paraphrased question: List each language and the number of TV Channels using it.
SQL: SELECT LANGUAGE ,  count(*) FROM TV_Channel GROUP BY LANGUAGE
Database: tvshow
Question: For each language, list the number of TV Channels that use it.
Paraphrased question: For each language, list the number of TV Channels that use it.
SQL: SELECT LANGUAGE ,  count(*) FROM TV_Channel GROUP BY LANGUAGE
Database: tvshow
Question: What is the TV Channel that shows the cartoon "The Rise of the Blue Beetle!"? List the TV Channel's series name.
Paraphrased question: What is the TV Channel that shows the cartoon "The Rise of the Blue Beetle!"? List the TV Channel's series name.
SQL: SELECT T1.series_name FROM TV_Channel AS T1 JOIN Cartoon AS T2 ON T1.id = T2.Channel WHERE T2.Title = "The Rise of the Blue Beetle!";
Database: tvshow
Question: What is the series name of the TV Channel that shows the cartoon "The Rise of the Blue Beetle"?
Paraphrased question: What is the serial name of the TV Channel that shows the cartoon "The Rise of the Blue Beetle"?
SQL: SELECT T1.series_name FROM TV_Channel AS T1 JOIN Cartoon AS T2 ON T1.id = T2.Channel WHERE T2.Title = "The Rise of the Blue Beetle!";
Database: tvshow
Question: List the title of all  Cartoons showed on TV Channel with series name "Sky Radio".
Paraphrased question: List the name of all  animations showed on TV Channel with series name "Sky Radio".
SQL: SELECT T2.Title FROM TV_Channel AS T1 JOIN Cartoon AS T2 ON T1.id = T2.Channel WHERE T1.series_name = "Sky Radio";
Database: tvshow
Question: What is the title of all the cartools that are on the TV Channel with the series name "Sky Radio"?
Paraphrased question: What is the name of all the animations that are on the TV Channel with the series name "Sky Radio"?
SQL: SELECT T2.Title FROM TV_Channel AS T1 JOIN Cartoon AS T2 ON T1.id = T2.Channel WHERE T1.series_name = "Sky Radio";
Database: tvshow
Question: List the  Episode of all TV series sorted by rating.
Paraphrased question: List the Episode of all TV series sorted by rating.
SQL: SELECT Episode FROM TV_series ORDER BY rating
Database: tvshow
Question: What are all of the episodes ordered by ratings?
Paraphrased question: What are all of the episodes ordered by ratings?
SQL: SELECT Episode FROM TV_series ORDER BY rating
Database: tvshow
Question: List top 3 highest Rating  TV series. List the TV series's Episode and Rating.
Paraphrased question: List top 3 highest score  TV series. List the TV series's Episode and score.
SQL: SELECT Episode ,  Rating FROM TV_series ORDER BY Rating DESC LIMIT 3;
Database: tvshow
Question: What are 3 most highly rated episodes in the TV series table and what were those ratings?
Paraphrased question: What are 3 most highly rated episodes in the TV series table and what were those scores?
SQL: SELECT Episode ,  Rating FROM TV_series ORDER BY Rating DESC LIMIT 3;
Database: tvshow
Question: What is minimum and maximum share of TV series?
Paraphrased question: What is minimum and maximum share of TV series?
SQL: SELECT max(SHARE) , min(SHARE) FROM TV_series;
Database: tvshow
Question: What is the maximum and minimum share for the TV series?
Paraphrased question: What is the maximum and minimum share for the TV series?
SQL: SELECT max(SHARE) , min(SHARE) FROM TV_series;
Database: tvshow
Question: What is the air date of TV series with Episode "A Love of a Lifetime"?
Paraphrased question: What is the airdate of TV series with Episode "A Love of a Lifetime"?
SQL: SELECT Air_Date FROM TV_series WHERE Episode = "A Love of a Lifetime";
Database: tvshow
Question: When did the episode "A Love of a Lifetime" air?
Paraphrased question: When did the episode "A Love of a Lifetime" released?
SQL: SELECT Air_Date FROM TV_series WHERE Episode = "A Love of a Lifetime";
Database: tvshow
Question: What is Weekly Rank of TV series with Episode "A Love of a Lifetime"?
Paraphrased question: What is Weekly Rank of TV series with Episode "A Love of a Lifetime"?
SQL: SELECT Weekly_Rank FROM TV_series WHERE Episode = "A Love of a Lifetime";
Database: tvshow
Question: What is the weekly rank for the episode "A Love of a Lifetime"?
Paraphrased question: What is the score per week for the episode "A Love of a Lifetime"?
SQL: SELECT Weekly_Rank FROM TV_series WHERE Episode = "A Love of a Lifetime";
Database: tvshow
Question: What is the TV Channel of TV series with Episode "A Love of a Lifetime"? List the TV Channel's series name.
Paraphrased question: What is the TV Channel of TV serial with Episode "A Love of a Lifetime"? List the TV Channel's serial name.
SQL: SELECT T1.series_name FROM TV_Channel AS T1 JOIN TV_series AS T2 ON T1.id = T2.Channel WHERE T2.Episode = "A Love of a Lifetime";
Database: tvshow
Question: What is the name of the series that has the episode "A Love of a Lifetime"?
Paraphrased question: What is the serial name that has the episode "A Love of a Lifetime"?
SQL: SELECT T1.series_name FROM TV_Channel AS T1 JOIN TV_series AS T2 ON T1.id = T2.Channel WHERE T2.Episode = "A Love of a Lifetime";
Database: tvshow
Question: List the Episode of all  TV series showed on TV Channel with series name "Sky Radio".
Paraphrased question: List the Episode of all  TV series showed on TV Channel with series name "Sky Radio".
SQL: SELECT T2.Episode FROM TV_Channel AS T1 JOIN TV_series AS T2 ON T1.id = T2.Channel WHERE T1.series_name = "Sky Radio";
Database: tvshow
Question: What is the episode for the TV series named "Sky Radio"?
Paraphrased question: What is the episode for the TV series named "Sky Radio"?
SQL: SELECT T2.Episode FROM TV_Channel AS T1 JOIN TV_series AS T2 ON T1.id = T2.Channel WHERE T1.series_name = "Sky Radio";
Database: tvshow
Question: Find the number of cartoons directed by each of the listed directors.
Paraphrased question: Find the number of animations directed by each of the listed directors.
SQL: SELECT count(*) ,  Directed_by FROM cartoon GROUP BY Directed_by
Database: tvshow
Question: How many cartoons did each director create?
Paraphrased question: How many animations did each director create?
SQL: SELECT count(*) ,  Directed_by FROM cartoon GROUP BY Directed_by
Database: tvshow
Question: Find the production code and channel of the most recently aired cartoon.
Paraphrased question: Find the production number and channel of the most recently released cartoon.
SQL: SELECT production_code ,  channel FROM cartoon ORDER BY original_air_date LIMIT 1
Database: tvshow
Question: What is the produdction code and channel of the most recent cartoon?
Paraphrased question: What is the produdction number and channel of the most recent cartoon?
SQL: SELECT production_code ,  channel FROM cartoon ORDER BY original_air_date LIMIT 1
Database: tvshow
Question: Find the package choice and series name of the TV channel that has high definition TV.
Paraphrased question: Find the package choice and serial name of the TV channel that has HD TV.
SQL: SELECT package_option ,  series_name FROM TV_Channel WHERE hight_definition_TV  =  "yes"
Database: tvshow
Question: What are the package options and the name of the series for the TV Channel that supports high definition TV?
Paraphrased question: What are the package options and the name of the serial for the TV Channel that supports HD TV?
SQL: SELECT package_option ,  series_name FROM TV_Channel WHERE hight_definition_TV  =  "yes"
Database: tvshow
Question: which countries' tv channels are playing some cartoon written by Todd Casey?
Paraphrased question: which countries' tv channels are playing some animation written by Todd Casey?
SQL: SELECT T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.written_by  =  'Todd Casey'
Database: tvshow
Question: What are the countries that have cartoons on TV that were written by Todd Casey?
Paraphrased question: What are the State that have animations on TV that were written by Todd Casey?
SQL: SELECT T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.written_by  =  'Todd Casey'
Database: tvshow
Question: which countries' tv channels are not playing any cartoon written by Todd Casey?
Paraphrased question: which countries' tv channels are not playing any animation written by Todd Casey?
SQL: SELECT country FROM TV_Channel EXCEPT SELECT T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.written_by  =  'Todd Casey'
Database: tvshow
Question: What are the countries that are not playing cartoons written by Todd Casey?
Paraphrased question: What are the States that are not playing animations written by Todd Casey?
SQL: SELECT country FROM TV_Channel EXCEPT SELECT T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.written_by  =  'Todd Casey'
Database: tvshow
Question: Find the series name and country of the tv channel that is playing some cartoons directed by Ben Jones and Michael Chang?
Paraphrased question: Find the serial name and State of the tv channel that is playing some animation directed by Ben Jones and Michael Chang?
SQL: SELECT T1.series_name ,  T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.directed_by  =  'Michael Chang' INTERSECT SELECT T1.series_name ,  T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.directed_by  =  'Ben Jones'
Database: tvshow
Question: What is the series name and country of all TV channels that are playing cartoons directed by Ben Jones and cartoons directed by Michael Chang?
Paraphrased question: What is the serial name and nation of all TV channels that are playing animations directed by Ben Jones and animations directed by Michael Chang?
SQL: SELECT T1.series_name ,  T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.directed_by  =  'Michael Chang' INTERSECT SELECT T1.series_name ,  T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.directed_by  =  'Ben Jones'