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 |
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.name , T1.date FROM battle AS T1 JOIN ship AS T2 ON T1.id = T2.lost_in_battle WHERE T2.name = "Lettice" AND T2.name = "HMS Atalanta" | 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 Name FROM channel
| 2 | 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 address_content FROM Addresses WHERE address_content = "Gleasonmouth" AND state_province_county = "Arizona" | 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 Denomination FROM school GROUP BY Denomination ORDER BY Count ( * ) Desc LIMIT 1 | 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 T2.FIRST_NAME , T1.DEPARTMENT_NAME FROM departments AS T1 JOIN employees AS T2 ON T1.DEPARTMENT_ID = T2.DEPARTMENT_ID WHERE T2.LAST_NAME = "McEwen"
| 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 staff_id FROM Staff_Department_Assignments WHERE date_assigned_to > = "Clerical Staff"
| 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 ... | Output: SELECT name FROM buildings GROUP BY name HAVING Count ( * ) > 1
| 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 state_province_county FROM Addresses WHERE town_city = "6862 Kaitlyn Knolls" | 3 | 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 Avg ( price_in_pounds ) , Min ( price_in_euros ) FROM Catalog_Contents
| 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 Company , Count ( * ) FROM company GROUP BY Company_ID
| 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 Count ( * ) FROM Activity | 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 T1.Template_Type_Code FROM Ref_Template_Types AS T1 EXCEPT SELECT T2.Template_Type_Code FROM Templates AS T2
| 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 ... | Output: SELECT Count ( * ) FROM Activity
| 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 * FROM Discount_Coupons WHERE coupon_amount > 500 OR coupon_amount < 500
| 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 Count ( * ) , Founder FROM Manufacturers GROUP BY Founder | 9 | 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 Count ( * ) , budget FROM department GROUP BY building | 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 T2.song_name FROM genre AS T1 JOIN song AS T2 ON T1.g_name = T2.genre_is WHERE T1.g_name = "modern" OR T2.languages = "english" | 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 ... | Solution: SELECT DISTINCT DEPARTMENT_ID FROM job_history GROUP BY DEPARTMENT_ID HAVING Count ( DISTINCT EMPLOYEE_ID ) > = 4 | 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 DISTINCT DEPARTMENT_ID FROM job_history GROUP BY DEPARTMENT_ID HAVING Count ( DISTINCT EMPLOYEE_ID ) > = 4
| 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 Avg ( Age ) FROM Student WHERE Sex = "F" | 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 town_city , state_province_county FROM Addresses
| 6 | 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 Unsure_rate FROM candidate ORDER BY Consider_rate Desc LIMIT 3
| 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 name FROM bridge ORDER BY length_feet Desc
| 1 | 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 Count ( * ) FROM Student
| 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 ... | Output: SELECT Major FROM Student WHERE Sex = "M"
| 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 Avg ( Age ) FROM Student WHERE Sex = "F"
| 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 , last_name FROM Customers GROUP BY customer_id HAVING Count ( * ) > 2
| 0 | 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 Avg ( T2.Order_Quantity ) FROM Invoices AS T1 JOIN Invoice_Items AS T2 ON T1.Invoice_ID = T2.Invoice_ID WHERE T1.payment_method_code = "MasterCard" | 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 T1.Name FROM Physician AS T1 JOIN Nurse AS T2 JOIN Appointment AS T3 ON T1.EmployeeID = T3.Physician AND T3.PrepNurse = T2.EmployeeID GROUP BY T2.Position ORDER BY Count ( * ) Desc LIMIT 1
| 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 date FROM weather WHERE precipitation_inches > 85
| 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 course_name , course_id FROM Courses GROUP BY course_id HAVING Count ( * ) < = 2
****
| 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 Nationality FROM host WHERE Age < 45 INTERSECT SELECT Nationality FROM host WHERE Age > 35 | 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 Fname , LName FROM Student WHERE Major = 140 | 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 ... | Solution: SELECT * FROM regions | 5 | 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 document_name FROM Documents GROUP BY document_name ORDER BY Count ( * ) Desc LIMIT 3 | 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 apt_type_code FROM Apartments GROUP BY apt_type_code ORDER BY Avg ( bathroom_count ) Desc
| 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 cName FROM College WHERE enr > 13000 AND state = "AZ" UNION SELECT cName FROM College WHERE enr > 15000 AND state = "LA"
| 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 City , Hanyu_Pinyin FROM city ORDER BY GDP Asc LIMIT 1
| 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 Count ( * ) FROM Student WHERE Sex = "HKG" OR city_code = "CHI" | 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 Count ( * ) FROM Student WHERE Sex = "HKG" OR city_code = "CHI"
| 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 T2.zip_code FROM station AS T1 JOIN weather AS T2 WHERE T1.long > 80 OR T2.min_sea_level_pressure_inches > 29.97
****
| 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 product_description FROM Products_for_Hire WHERE product_name = 102.76 | 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 T2.zip_code FROM station AS T1 JOIN weather AS T2 WHERE T1.long > 80 OR T2.min_sea_level_pressure_inches > 29.97 | 8 | NIv2 | task077_splash_explanation_to_sql | fs_opt |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.