Dataset Viewer
Auto-converted to Parquet Duplicate
inputs
stringlengths
2.31k
4.19k
targets
stringlengths
20
640
_template_idx
int64
0
9
_task_source
stringclasses
1 value
_task_name
stringclasses
1 value
_template_type
stringclasses
2 values
In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A ...
SELECT staff_id FROM Staff_Department_Assignments WHERE date_assigned_to > ( SELECT Min ( date_assigned_to ) FROM Staff_Department_Assignments ) ****
4
NIv2
task077_splash_explanation_to_sql
fs_opt
In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A ...
SELECT Carrier FROM phone WHERE Memory_in_G > 32 INTERSECT SELECT Carrier FROM phone WHERE Memory_in_G < 64
8
NIv2
task077_splash_explanation_to_sql
fs_opt
instruction: In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain conditi...
SELECT * FROM jobs WHERE MAX_SALARY > 40000 INTERSECT SELECT JOB_TITLE FROM jobs WHERE MAX_SALARY > 12000
9
NIv2
task077_splash_explanation_to_sql
fs_opt
In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A ...
SELECT title FROM course WHERE dept_name = "Mobile Computing"
8
NIv2
task077_splash_explanation_to_sql
fs_opt
In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A ...
SELECT Name FROM wine WHERE Year > 2008
6
NIv2
task077_splash_explanation_to_sql
fs_opt
Given the task definition, example input & output, solve the new input case. In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL ...
SELECT first_name , last_name , customer_id FROM customer GROUP BY customer_id HAVING Count ( * ) > = 1
1
NIv2
task077_splash_explanation_to_sql
fs_opt
In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A ...
SELECT Hight_definition_TV , Country FROM TV_Channel WHERE Language ! = "English"
3
NIv2
task077_splash_explanation_to_sql
fs_opt
Teacher: In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain conditions ...
SELECT T2.Character FROM musical AS T1 JOIN actor AS T2 WHERE T1.Award = "Tony Award" OR T2.Name = "Cleavant Derricks"
2
NIv2
task077_splash_explanation_to_sql
fs_opt
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task. In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL sta...
SELECT email , phone FROM customers WHERE last_name = "Astrid"
0
NIv2
task077_splash_explanation_to_sql
fs_opt
In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A ...
SELECT Hight_definition_TV , Country FROM TV_Channel WHERE Language ! = "English"
3
NIv2
task077_splash_explanation_to_sql
fs_opt
In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A ...
SELECT Name FROM actor WHERE Name NOT IN ( SELECT Actor_ID FROM actor )
6
NIv2
task077_splash_explanation_to_sql
fs_opt
In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A ...
SELECT Count ( * ) FROM weather WHERE min_humidity > 8 INTERSECT SELECT mean_sea_level_pressure_inches FROM weather WHERE max_temperature_f < 50
8
NIv2
task077_splash_explanation_to_sql
fs_opt
In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A ...
SELECT Venue FROM debate ORDER BY Venue Asc
9
NIv2
task077_splash_explanation_to_sql
fs_opt
Teacher: In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain conditions ...
SELECT Appelation FROM wine GROUP BY Appelation HAVING Count ( * ) < = 3
2
NIv2
task077_splash_explanation_to_sql
fs_opt
instruction: In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain conditi...
SELECT DISTINCT LName FROM Student WHERE Advisor ! = 2192
9
NIv2
task077_splash_explanation_to_sql
fs_opt
Part 1. Definition In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain c...
SELECT Sum ( T1.enr ) FROM College AS T1 WHERE T1.state NOT IN ( SELECT T2.yCard FROM Player AS T2 )
7
NIv2
task077_splash_explanation_to_sql
fs_opt
TASK DEFINITION: In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain con...
SELECT name FROM student
8
NIv2
task077_splash_explanation_to_sql
fs_opt
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task. In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL sta...
SELECT T2.song_name FROM genre AS T1 JOIN song AS T2 ON T1.g_name = T2.genre_is WHERE T2.languages = "modern" OR T1.g_name = "english"
0
NIv2
task077_splash_explanation_to_sql
fs_opt
In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A ...
Solution: SELECT T1.FirstName , T2.LastName FROM list AS T1 JOIN teachers AS T2 GROUP BY T1.Classroom ORDER BY Count ( * ) Desc LIMIT 1
5
NIv2
task077_splash_explanation_to_sql
fs_opt
In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A ...
SELECT cust_name FROM customer EXCEPT SELECT cust_name FROM customer WHERE acc_type = "Mortgages"
6
NIv2
task077_splash_explanation_to_sql
fs_opt
Given the task definition, example input & output, solve the new input case. In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL ...
SELECT name FROM aircraft GROUP BY name HAVING Count ( * ) > = 2
1
NIv2
task077_splash_explanation_to_sql
fs_opt
In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A ...
SELECT name FROM Highschooler WHERE grade = 9 INTERSECT SELECT name FROM Highschooler WHERE grade = 9
7
NIv2
task077_splash_explanation_to_sql
fs_opt
In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A ...
SELECT FIRST_NAME , LAST_NAME , SALARY , DEPARTMENT_ID FROM employees WHERE FIRST_NAME = "M" OR LAST_NAME = "King"
3
NIv2
task077_splash_explanation_to_sql
fs_opt
In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A ...
SELECT Count ( * ) FROM sqlite_sequence WHERE seq = "Billy Cobham"
8
NIv2
task077_splash_explanation_to_sql
fs_opt
TASK DEFINITION: In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain con...
SELECT employee_id , Count ( * ) FROM Circulation_History GROUP BY employee_id
8
NIv2
task077_splash_explanation_to_sql
fs_opt
Detailed Instructions: In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certa...
SELECT T2.FIRST_NAME , T2.HIRE_DATE , T2.SALARY FROM jobs AS T1 JOIN employees AS T2 ON T1.JOB_ID = T2.JOB_ID WHERE T1.JOB_TITLE ! = "M"
4
NIv2
task077_splash_explanation_to_sql
fs_opt
Teacher: In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain conditions ...
SELECT * FROM employees AS T1 WHERE T1.SALARY > 24000 INTERSECT SELECT T2.JOB_TITLE FROM jobs AS T2 WHERE T2.MIN_SALARY > 12000
2
NIv2
task077_splash_explanation_to_sql
fs_opt
TASK DEFINITION: In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain con...
SELECT T2.FIRST_NAME , T2.HIRE_DATE , T2.SALARY FROM jobs AS T1 JOIN employees AS T2 ON T1.JOB_ID = T2.JOB_ID WHERE T1.JOB_TITLE ! = "M"
8
NIv2
task077_splash_explanation_to_sql
fs_opt
Given the task definition, example input & output, solve the new input case. In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL ...
SELECT Avg ( T1.Age ) FROM Student AS T1 WHERE T1.Sex IN ( SELECT T2.AllergyType FROM Allergy_Type AS T2 )
1
NIv2
task077_splash_explanation_to_sql
fs_opt
In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A ...
SELECT Department FROM Affiliated_With GROUP BY Department ORDER BY Count ( * ) Desc LIMIT 1
1
NIv2
task077_splash_explanation_to_sql
fs_opt
In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A ...
SELECT first_name FROM Staff EXCEPT SELECT first_name FROM Staff
3
NIv2
task077_splash_explanation_to_sql
fs_opt
In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A ...
SELECT T1.roomName FROM Rooms AS T1 JOIN Reservations AS T2 ON T1.RoomId = T2.Room WHERE T2.Rate = 60 ****
4
NIv2
task077_splash_explanation_to_sql
fs_opt
Part 1. Definition In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain c...
SELECT T2.date_of_enrolment , T1.date_of_latest_logon FROM Students AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.student_id = T2.student_id WHERE T1.family_name = "Zieme" AND T1.personal_name = "Bernie"
7
NIv2
task077_splash_explanation_to_sql
fs_opt
In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A ...
SELECT T1.apt_number FROM Apartments AS T1 JOIN Apartment_Bookings AS T2 ON T1.apt_id = T2.apt_id WHERE T2.booking_status_code = 0 INTERSECT SELECT T3.building_manager FROM Apartment_Buildings AS T3 JOIN Apartments AS T1 ON T3.building_id = T1.building_id JOIN Apartment_Bookings AS T2 ON T1.apt_id = T2.apt_id WHERE T2....
3
NIv2
task077_splash_explanation_to_sql
fs_opt
In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A ...
SELECT skill_id , skill_description FROM Skills GROUP BY skill_id ORDER BY Count ( * ) Desc LIMIT 1
9
NIv2
task077_splash_explanation_to_sql
fs_opt
TASK DEFINITION: In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain con...
SELECT skill_id , skill_description FROM Skills GROUP BY skill_id ORDER BY Count ( * ) Desc LIMIT 1
8
NIv2
task077_splash_explanation_to_sql
fs_opt
In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A ...
SELECT DISTINCT individual_last_name FROM Individuals
3
NIv2
task077_splash_explanation_to_sql
fs_opt
Given the task definition, example input & output, solve the new input case. In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL ...
SELECT Headquarters FROM company GROUP BY Headquarters HAVING Count ( * ) > = 2
1
NIv2
task077_splash_explanation_to_sql
fs_opt
Given the task definition, example input & output, solve the new input case. In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL ...
SELECT T2.Location , T2.Representative_Name FROM company AS T1 JOIN gas_station AS T2 JOIN station_company AS T3 ON T1.Company_ID = T3.Company_ID AND T3.Station_ID = T2.Station_ID ORDER BY T1.Sales_billion Desc LIMIT 3
1
NIv2
task077_splash_explanation_to_sql
fs_opt
In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A ...
SELECT Max ( Degrees ) FROM degrees
6
NIv2
task077_splash_explanation_to_sql
fs_opt
Detailed Instructions: In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certa...
SELECT Address FROM Locations WHERE Location_Name = "UK Gallery"
4
NIv2
task077_splash_explanation_to_sql
fs_opt
In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A ...
SELECT * FROM employees ORDER BY SALARY Asc LIMIT 2500
3
NIv2
task077_splash_explanation_to_sql
fs_opt
Part 1. Definition In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain c...
SELECT * FROM employees ORDER BY SALARY Asc LIMIT 2500
7
NIv2
task077_splash_explanation_to_sql
fs_opt
Given the task definition, example input & output, solve the new input case. In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL ...
SELECT Name , Score FROM wine WHERE Grape = "White"
1
NIv2
task077_splash_explanation_to_sql
fs_opt
Given the task definition, example input & output, solve the new input case. In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL ...
SELECT T1.district , T2.city , T1.city_id FROM address AS T1 JOIN city AS T2 ON T1.city_id = T2.city_id GROUP BY T1.city_id ORDER BY Count ( * ) Desc LIMIT 1
1
NIv2
task077_splash_explanation_to_sql
fs_opt
In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A ...
Solution: SELECT Count ( * ) FROM weather WHERE min_humidity > 8 INTERSECT SELECT max_sea_level_pressure_inches FROM weather WHERE max_sea_level_pressure_inches < 50
5
NIv2
task077_splash_explanation_to_sql
fs_opt
In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A ...
SELECT Avg ( price_in_euros ) , Min ( price_in_dollars ) FROM Catalog_Contents ****
4
NIv2
task077_splash_explanation_to_sql
fs_opt
Given the task definition, example input & output, solve the new input case. In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL ...
SELECT name , job , city FROM Person ORDER BY name Asc
1
NIv2
task077_splash_explanation_to_sql
fs_opt
In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A ...
SELECT LifeExpectancy , Name , LocalName FROM country ORDER BY SurfaceArea Desc LIMIT 1
7
NIv2
task077_splash_explanation_to_sql
fs_opt
In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A ...
Solution: SELECT T1.EMPLOYEE_ID FROM employees AS T1 WHERE T1.SALARY > ( SELECT Avg ( T2.MIN_SALARY ) FROM jobs AS T2 )
5
NIv2
task077_splash_explanation_to_sql
fs_opt
In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A ...
Output: SELECT staff_id FROM Staff_Department_Assignments WHERE date_assigned_to < ( SELECT Min ( department_id ) FROM Staff_Department_Assignments )
2
NIv2
task077_splash_explanation_to_sql
fs_opt
In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A ...
Output: SELECT T1.Issue_Date , T2.Date_of_ceremony FROM volume AS T1 JOIN music_festival AS T2 ON T1.Volume_ID = T2.Volume
2
NIv2
task077_splash_explanation_to_sql
fs_opt
In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A ...
SELECT Code FROM country WHERE LocalName = "Spanish"
0
NIv2
task077_splash_explanation_to_sql
fs_opt
In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A ...
SELECT name , age , weight FROM Dogs WHERE weight IN ( SELECT weight FROM Dogs )
3
NIv2
task077_splash_explanation_to_sql
fs_opt
In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A ...
SELECT T1.Location_Code , Count ( * ) FROM Ref_Locations AS T1 JOIN Document_Locations AS T2 ON T1.Location_Code = T2.Location_Code GROUP BY T2.Location_Code
9
NIv2
task077_splash_explanation_to_sql
fs_opt
In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A ...
SELECT Player FROM player WHERE Player LIKE "English" ****
4
NIv2
task077_splash_explanation_to_sql
fs_opt
In this task you are expected to provide an SQL statement from an english description of what that SQL statement does. The description may include multiple steps but you should only ouput one SQL statement that accomplishes every step. An SQL query works by selecting data from a table where certain conditions apply. A ...
SELECT Name , Seating FROM track WHERE Year_Opened > 2000 ORDER BY Name Asc
0
NIv2
task077_splash_explanation_to_sql
fs_opt
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
3