richardr1126/spider-skeleton-context-instruct huggingface dataset:
### Instruction:

Convert text to sql: Which course is enrolled in by the most students? Give me the course name. | course_authors_and_tutors : author_id , author_tutor_atb , login_name , password , personal_name , middle_name , family_name , gender_mf , address_line_1 | students : student_id , date_of_registration , date_of_latest_logon , login_name , password , personal_name , middle_name , family_name | subjects : subject_id , subject_name | courses : course_id , author_id , subject_id , course_name , course_description | student_course_enrolment : registration_id , student_id , course_id , date_of_enrolment , date_of_completion | student_tests_taken : registration_id , date_test_taken , test_result | courses.subject_id = subjects.subject_id | courses.author_id = course_authors_and_tutors.author_id | student_course_enrolment.student_id = students.student_id | student_course_enrolment.course_id = courses.course_id | student_tests_taken.registration_id = student_course_enrolment.registration_id | 

### Response:

select _ from _ group by _ order by count ( _ ) desc limit _ | select courses.course_name from courses join student_course_enrolment on courses.course_id = student_course_enrolment.course_id group by courses.course_name order by count ( * ) desc limit 1
### Instruction:

Convert text to sql: What are the names of the courses that have exactly 1 student enrollment? | course_authors_and_tutors : author_id , author_tutor_atb , login_name , password , personal_name , middle_name , family_name , gender_mf , address_line_1 | students : student_id , date_of_registration , date_of_latest_logon , login_name , password , personal_name , middle_name , family_name | subjects : subject_id , subject_name | courses : course_id , author_id , subject_id , course_name , course_description | student_course_enrolment : registration_id , student_id , course_id , date_of_enrolment , date_of_completion | student_tests_taken : registration_id , date_test_taken , test_result | courses.subject_id = subjects.subject_id | courses.author_id = course_authors_and_tutors.author_id | student_course_enrolment.student_id = students.student_id | student_course_enrolment.course_id = courses.course_id | student_tests_taken.registration_id = student_course_enrolment.registration_id | 

### Response:

select _ from _ group by _ having count ( _ ) = _ | select courses.course_name from courses join student_course_enrolment on courses.course_id = student_course_enrolment.course_id group by courses.course_name having count ( * ) = 1
### Instruction:

Convert text to sql: Find the names of the courses that have just one student enrollment. | course_authors_and_tutors : author_id , author_tutor_atb , login_name , password , personal_name , middle_name , family_name , gender_mf , address_line_1 | students : student_id , date_of_registration , date_of_latest_logon , login_name , password , personal_name , middle_name , family_name | subjects : subject_id , subject_name | courses : course_id , author_id , subject_id , course_name , course_description | student_course_enrolment : registration_id , student_id , course_id , date_of_enrolment , date_of_completion | student_tests_taken : registration_id , date_test_taken , test_result | courses.subject_id = subjects.subject_id | courses.author_id = course_authors_and_tutors.author_id | student_course_enrolment.student_id = students.student_id | student_course_enrolment.course_id = courses.course_id | student_tests_taken.registration_id = student_course_enrolment.registration_id | 

### Response:

select _ from _ group by _ having count ( _ ) = _ | select courses.course_name from courses join student_course_enrolment on courses.course_id = student_course_enrolment.course_id group by courses.course_name having count ( * ) = 1
### Instruction:

Convert text to sql: What are the descriptions and names of the courses that have student enrollment bigger than 2? | course_authors_and_tutors : author_id , author_tutor_atb , login_name , password , personal_name , middle_name , family_name , gender_mf , address_line_1 | students : student_id , date_of_registration , date_of_latest_logon , login_name , password , personal_name , middle_name , family_name | subjects : subject_id , subject_name | courses : course_id , author_id , subject_id , course_name , course_description | student_course_enrolment : registration_id , student_id , course_id , date_of_enrolment , date_of_completion | student_tests_taken : registration_id , date_test_taken , test_result | courses.subject_id = subjects.subject_id | courses.author_id = course_authors_and_tutors.author_id | student_course_enrolment.student_id = students.student_id | student_course_enrolment.course_id = courses.course_id | student_tests_taken.registration_id = student_course_enrolment.registration_id | 

### Response:

select _ from _ group by _ having count ( _ ) > _ | select courses.course_description , courses.course_name from courses join student_course_enrolment on courses.course_id = student_course_enrolment.course_id group by courses.course_name having count ( * ) > 2
### Instruction:

Convert text to sql: Return the descriptions and names of the courses that have more than two students enrolled in. | course_authors_and_tutors : author_id , author_tutor_atb , login_name , password , personal_name , middle_name , family_name , gender_mf , address_line_1 | students : student_id , date_of_registration , date_of_latest_logon , login_name , password , personal_name , middle_name , family_name | subjects : subject_id , subject_name | courses : course_id , author_id , subject_id , course_name , course_description | student_course_enrolment : registration_id , student_id , course_id , date_of_enrolment , date_of_completion | student_tests_taken : registration_id , date_test_taken , test_result | courses.subject_id = subjects.subject_id | courses.author_id = course_authors_and_tutors.author_id | student_course_enrolment.student_id = students.student_id | student_course_enrolment.course_id = courses.course_id | student_tests_taken.registration_id = student_course_enrolment.registration_id | 

### Response:

select _ from _ group by _ having count ( _ ) > _ | select courses.course_description , courses.course_name from courses join student_course_enrolment on courses.course_id = student_course_enrolment.course_id group by courses.course_name having count ( * ) > 2
### Instruction:

Convert text to sql: What is the name of each course and the corresponding number of student enrollment? | course_authors_and_tutors : author_id , author_tutor_atb , login_name , password , personal_name , middle_name , family_name , gender_mf , address_line_1 | students : student_id , date_of_registration , date_of_latest_logon , login_name , password , personal_name , middle_name , family_name | subjects : subject_id , subject_name | courses : course_id , author_id , subject_id , course_name , course_description | student_course_enrolment : registration_id , student_id , course_id , date_of_enrolment , date_of_completion | student_tests_taken : registration_id , date_test_taken , test_result | courses.subject_id = subjects.subject_id | courses.author_id = course_authors_and_tutors.author_id | student_course_enrolment.student_id = students.student_id | student_course_enrolment.course_id = courses.course_id | student_tests_taken.registration_id = student_course_enrolment.registration_id | 

### Response:

select _ , count ( _ ) from _ group by _ | select courses.course_name , count ( * ) from courses join student_course_enrolment on courses.course_id = student_course_enrolment.course_id group by courses.course_name
### Instruction:

Convert text to sql: List the name and the number of enrolled student for each course. | course_authors_and_tutors : author_id , author_tutor_atb , login_name , password , personal_name , middle_name , family_name , gender_mf , address_line_1 | students : student_id , date_of_registration , date_of_latest_logon , login_name , password , personal_name , middle_name , family_name | subjects : subject_id , subject_name | courses : course_id , author_id , subject_id , course_name , course_description | student_course_enrolment : registration_id , student_id , course_id , date_of_enrolment , date_of_completion | student_tests_taken : registration_id , date_test_taken , test_result | courses.subject_id = subjects.subject_id | courses.author_id = course_authors_and_tutors.author_id | student_course_enrolment.student_id = students.student_id | student_course_enrolment.course_id = courses.course_id | student_tests_taken.registration_id = student_course_enrolment.registration_id | 

### Response:

select _ , count ( _ ) from _ group by _ | select courses.course_name , count ( * ) from courses join student_course_enrolment on courses.course_id = student_course_enrolment.course_id group by courses.course_name
### Instruction:

Convert text to sql: What are the enrollment dates of all the tests that have result "Pass"? | course_authors_and_tutors : author_id , author_tutor_atb , login_name , password , personal_name , middle_name , family_name , gender_mf , address_line_1 | students : student_id , date_of_registration , date_of_latest_logon , login_name , password , personal_name , middle_name , family_name | subjects : subject_id , subject_name | courses : course_id , author_id , subject_id , course_name , course_description | student_course_enrolment : registration_id , student_id , course_id , date_of_enrolment , date_of_completion | student_tests_taken : registration_id , date_test_taken , test_result | courses.subject_id = subjects.subject_id | courses.author_id = course_authors_and_tutors.author_id | student_course_enrolment.student_id = students.student_id | student_course_enrolment.course_id = courses.course_id | student_tests_taken.registration_id = student_course_enrolment.registration_id | 

### Response:

select _ from _ where _ | select student_course_enrolment.date_of_enrolment from student_course_enrolment join student_tests_taken on student_course_enrolment.registration_id = student_tests_taken.registration_id where student_tests_taken.test_result = 'Pass'
### Instruction:

Convert text to sql: Find the enrollment date for all the tests that have "Pass" result. | course_authors_and_tutors : author_id , author_tutor_atb , login_name , password , personal_name , middle_name , family_name , gender_mf , address_line_1 | students : student_id , date_of_registration , date_of_latest_logon , login_name , password , personal_name , middle_name , family_name | subjects : subject_id , subject_name | courses : course_id , author_id , subject_id , course_name , course_description | student_course_enrolment : registration_id , student_id , course_id , date_of_enrolment , date_of_completion | student_tests_taken : registration_id , date_test_taken , test_result | courses.subject_id = subjects.subject_id | courses.author_id = course_authors_and_tutors.author_id | student_course_enrolment.student_id = students.student_id | student_course_enrolment.course_id = courses.course_id | student_tests_taken.registration_id = student_course_enrolment.registration_id | 

### Response:

select _ from _ where _ | select student_course_enrolment.date_of_enrolment from student_course_enrolment join student_tests_taken on student_course_enrolment.registration_id = student_tests_taken.registration_id where student_tests_taken.test_result = 'Pass'
### Instruction:

Convert text to sql: What are the completion dates of all the tests that have result "Fail"? | course_authors_and_tutors : author_id , author_tutor_atb , login_name , password , personal_name , middle_name , family_name , gender_mf , address_line_1 | students : student_id , date_of_registration , date_of_latest_logon , login_name , password , personal_name , middle_name , family_name | subjects : subject_id , subject_name | courses : course_id , author_id , subject_id , course_name , course_description | student_course_enrolment : registration_id , student_id , course_id , date_of_enrolment , date_of_completion | student_tests_taken : registration_id , date_test_taken , test_result | courses.subject_id = subjects.subject_id | courses.author_id = course_authors_and_tutors.author_id | student_course_enrolment.student_id = students.student_id | student_course_enrolment.course_id = courses.course_id | student_tests_taken.registration_id = student_course_enrolment.registration_id | 

### Response:

select _ from _ where _ | select student_course_enrolment.date_of_completion from student_course_enrolment join student_tests_taken on student_course_enrolment.registration_id = student_tests_taken.registration_id where student_tests_taken.test_result = 'Fail'
### Instruction:

Convert text to sql: Return the completion date for all the tests that have "Fail" result. | course_authors_and_tutors : author_id , author_tutor_atb , login_name , password , personal_name , middle_name , family_name , gender_mf , address_line_1 | students : student_id , date_of_registration , date_of_latest_logon , login_name , password , personal_name , middle_name , family_name | subjects : subject_id , subject_name | courses : course_id , author_id , subject_id , course_name , course_description | student_course_enrolment : registration_id , student_id , course_id , date_of_enrolment , date_of_completion | student_tests_taken : registration_id , date_test_taken , test_result | courses.subject_id = subjects.subject_id | courses.author_id = course_authors_and_tutors.author_id | student_course_enrolment.student_id = students.student_id | student_course_enrolment.course_id = courses.course_id | student_tests_taken.registration_id = student_course_enrolment.registration_id | 

### Response:

select _ from _ where _ | select student_course_enrolment.date_of_completion from student_course_enrolment join student_tests_taken on student_course_enrolment.registration_id = student_tests_taken.registration_id where student_tests_taken.test_result = 'Fail'
### Instruction:

Convert text to sql: List the dates of enrollment and completion of the student with personal name "Karson". | course_authors_and_tutors : author_id , author_tutor_atb , login_name , password , personal_name , middle_name , family_name , gender_mf , address_line_1 | students : student_id , date_of_registration , date_of_latest_logon , login_name , password , personal_name , middle_name , family_name | subjects : subject_id , subject_name | courses : course_id , author_id , subject_id , course_name , course_description | student_course_enrolment : registration_id , student_id , course_id , date_of_enrolment , date_of_completion | student_tests_taken : registration_id , date_test_taken , test_result | courses.subject_id = subjects.subject_id | courses.author_id = course_authors_and_tutors.author_id | student_course_enrolment.student_id = students.student_id | student_course_enrolment.course_id = courses.course_id | student_tests_taken.registration_id = student_course_enrolment.registration_id | 

### Response:

select _ from _ where _ | select student_course_enrolment.date_of_enrolment , student_course_enrolment.date_of_completion from student_course_enrolment join students on student_course_enrolment.student_id = students.student_id where students.personal_name = 'Karson'
### Instruction:

Convert text to sql: On what dates did the student whose personal name is "Karson" enroll in and complete the courses? | course_authors_and_tutors : author_id , author_tutor_atb , login_name , password , personal_name , middle_name , family_name , gender_mf , address_line_1 | students : student_id , date_of_registration , date_of_latest_logon , login_name , password , personal_name , middle_name , family_name | subjects : subject_id , subject_name | courses : course_id , author_id , subject_id , course_name , course_description | student_course_enrolment : registration_id , student_id , course_id , date_of_enrolment , date_of_completion | student_tests_taken : registration_id , date_test_taken , test_result | courses.subject_id = subjects.subject_id | courses.author_id = course_authors_and_tutors.author_id | student_course_enrolment.student_id = students.student_id | student_course_enrolment.course_id = courses.course_id | student_tests_taken.registration_id = student_course_enrolment.registration_id | 

### Response:

select _ from _ where _ | select student_course_enrolment.date_of_enrolment , student_course_enrolment.date_of_completion from student_course_enrolment join students on student_course_enrolment.student_id = students.student_id where students.personal_name = 'Karson'
### Instruction:

Convert text to sql: List the dates of enrollment and completion of the student with family name "Zieme" and personal name "Bernie". | course_authors_and_tutors : author_id , author_tutor_atb , login_name , password , personal_name , middle_name , family_name , gender_mf , address_line_1 | students : student_id , date_of_registration , date_of_latest_logon , login_name , password , personal_name , middle_name , family_name | subjects : subject_id , subject_name | courses : course_id , author_id , subject_id , course_name , course_description | student_course_enrolment : registration_id , student_id , course_id , date_of_enrolment , date_of_completion | student_tests_taken : registration_id , date_test_taken , test_result | courses.subject_id = subjects.subject_id | courses.author_id = course_authors_and_tutors.author_id | student_course_enrolment.student_id = students.student_id | student_course_enrolment.course_id = courses.course_id | student_tests_taken.registration_id = student_course_enrolment.registration_id | 

### Response:

select _ from _ where _ | select student_course_enrolment.date_of_enrolment , student_course_enrolment.date_of_completion from student_course_enrolment join students on student_course_enrolment.student_id = students.student_id where students.family_name = 'Zieme' and students.personal_name = 'Bernie'
### Instruction:

Convert text to sql: On what dates did the student with family name "Zieme" and personal name "Bernie" enroll in and complete the courses? | course_authors_and_tutors : author_id , author_tutor_atb , login_name , password , personal_name , middle_name , family_name , gender_mf , address_line_1 | students : student_id , date_of_registration , date_of_latest_logon , login_name , password , personal_name , middle_name , family_name | subjects : subject_id , subject_name | courses : course_id , author_id , subject_id , course_name , course_description | student_course_enrolment : registration_id , student_id , course_id , date_of_enrolment , date_of_completion | student_tests_taken : registration_id , date_test_taken , test_result | courses.subject_id = subjects.subject_id | courses.author_id = course_authors_and_tutors.author_id | student_course_enrolment.student_id = students.student_id | student_course_enrolment.course_id = courses.course_id | student_tests_taken.registration_id = student_course_enrolment.registration_id | 

### Response:

select _ from _ where _ | select student_course_enrolment.date_of_enrolment , student_course_enrolment.date_of_completion from student_course_enrolment join students on student_course_enrolment.student_id = students.student_id where students.family_name = 'Zieme' and students.personal_name = 'Bernie'
### Instruction:

Convert text to sql: Find the student ID and login name of the student with the most course enrollments | course_authors_and_tutors : author_id , author_tutor_atb , login_name , password , personal_name , middle_name , family_name , gender_mf , address_line_1 | students : student_id , date_of_registration , date_of_latest_logon , login_name , password , personal_name , middle_name , family_name | subjects : subject_id , subject_name | courses : course_id , author_id , subject_id , course_name , course_description | student_course_enrolment : registration_id , student_id , course_id , date_of_enrolment , date_of_completion | student_tests_taken : registration_id , date_test_taken , test_result | courses.subject_id = subjects.subject_id | courses.author_id = course_authors_and_tutors.author_id | student_course_enrolment.student_id = students.student_id | student_course_enrolment.course_id = courses.course_id | student_tests_taken.registration_id = student_course_enrolment.registration_id | 

### Response:

select _ from _ group by _ order by count ( _ ) desc limit _ | select student_course_enrolment.student_id , students.login_name from student_course_enrolment join students on student_course_enrolment.student_id = students.student_id group by student_course_enrolment.student_id order by count ( * ) desc limit 1
### Instruction:

Convert text to sql: What are the student ID and login name of the student who are enrolled in the most courses? | course_authors_and_tutors : author_id , author_tutor_atb , login_name , password , personal_name , middle_name , family_name , gender_mf , address_line_1 | students : student_id , date_of_registration , date_of_latest_logon , login_name , password , personal_name , middle_name , family_name | subjects : subject_id , subject_name | courses : course_id , author_id , subject_id , course_name , course_description | student_course_enrolment : registration_id , student_id , course_id , date_of_enrolment , date_of_completion | student_tests_taken : registration_id , date_test_taken , test_result | courses.subject_id = subjects.subject_id | courses.author_id = course_authors_and_tutors.author_id | student_course_enrolment.student_id = students.student_id | student_course_enrolment.course_id = courses.course_id | student_tests_taken.registration_id = student_course_enrolment.registration_id | 

### Response:

select _ from _ group by _ order by count ( _ ) desc limit _ | select student_course_enrolment.student_id , students.login_name from student_course_enrolment join students on student_course_enrolment.student_id = students.student_id group by student_course_enrolment.student_id order by count ( * ) desc limit 1
### Instruction:

Convert text to sql: Find the student ID and personal name of the student with at least two enrollments. | course_authors_and_tutors : author_id , author_tutor_atb , login_name , password , personal_name , middle_name , family_name , gender_mf , address_line_1 | students : student_id , date_of_registration , date_of_latest_logon , login_name , password , personal_name , middle_name , family_name | subjects : subject_id , subject_name | courses : course_id , author_id , subject_id , course_name , course_description | student_course_enrolment : registration_id , student_id , course_id , date_of_enrolment , date_of_completion | student_tests_taken : registration_id , date_test_taken , test_result | courses.subject_id = subjects.subject_id | courses.author_id = course_authors_and_tutors.author_id | student_course_enrolment.student_id = students.student_id | student_course_enrolment.course_id = courses.course_id | student_tests_taken.registration_id = student_course_enrolment.registration_id | 

### Response:

select _ from _ group by _ having count ( _ ) >= _ | select student_course_enrolment.student_id , students.personal_name from student_course_enrolment join students on student_course_enrolment.student_id = students.student_id group by student_course_enrolment.student_id having count ( * ) >= 2