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 |
|---|---|---|---|---|---|
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 Nominee FROM musical GROUP BY Award 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 T2.staff_first_name , T2.staff_last_name FROM Product AS T1 JOIN Staff AS T2 JOIN Problems AS T3 ON T1.product_id = T3.product_id AND T3.closure_authorised_by_staff_id = T2.staff_id WHERE T1.product_name ! = "aut" | 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 ... | Solution: SELECT T1.Name , T2.Visit_Date FROM Tourist_Attractions AS T1 JOIN Visits AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID WHERE T1.Name = "Vivian" OR T1.Name = "Vincent" | 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 address_type_code FROM Ref_Address_Types
| 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 order_id , Count ( * ) FROM Orders GROUP BY order_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 Avg ( T2.CampusFee ) FROM Campuses AS T1 JOIN csu_fees AS T2 ON T2.Campus = T1.Id JOIN faculty AS T3 ON T1.Id = T3.Campus WHERE T2.Year = 1996 AND T3.Faculty = 357.1 | 4 | 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.Hardware_Model_name FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE T2.screen_mode = "Graphics" AND T1.Type = "Nokia Corporation" | 4 | 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.Hardware_Model_name FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE T2.screen_mode = "Graphics" AND T1.Type = "Nokia Corporation"
| 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 Avg ( T2.CampusFee ) FROM Campuses AS T1 JOIN csu_fees AS T2 ON T2.Campus = T1.Id JOIN faculty AS T3 ON T1.Id = T3.Campus WHERE T2.Year = 1996 AND T3.Faculty = 357.1
| 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 T1.City FROM city AS T1 JOIN hosting_city AS T2 ON T1.City_ID = T2.Host_City WHERE T2.Year = 2008 AND T1.Regional_Population < 23019148 | 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 course_name FROM Courses | 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 ... | Output: SELECT id , Trade_Name FROM medicine GROUP BY id HAVING Count ( * ) > = 3
| 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 ... | Solution: SELECT Order_ID FROM Invoices GROUP BY Product_ID ORDER BY Count ( * ) Desc LIMIT 1 | 5 | 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.Season , T1.Country_name , T1.Country_name FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country
| 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 T3.Statement_ID , T2.Statement_Details FROM Documents AS T1 JOIN Statements AS T2 ON T1.Document_ID = T2.Statement_ID AND T1.Document_ID = T2.Statement_ID JOIN Accounts AS T3 ON T2.Statement_ID = T3.Statement_ID GROUP BY T1.Document_ID ORDER BY Count ( * ) 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 ... | SELECT T1.title FROM course AS T1 JOIN prereq AS T2 ON T1.course_id = T2.course_id GROUP BY T2.course_id HAVING Count ( * ) > 1
| 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 DISTINCT T2.positionText FROM races AS T1 JOIN constructorStandings AS T2 ON T2.raceId = T1.raceId JOIN constructorResults AS T3 ON T1.raceId = T3.raceId WHERE T3.raceId = 1
| 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 Avg ( T1.credit_score ) FROM customer AS T1 WHERE T1.cust_name NOT IN ( SELECT T2.cust_ID FROM loan AS T2 WHERE T2.loan_type = "Mortgages" ) | 0 | 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 Code2 FROM country ORDER BY Continent Desc LIMIT 1 | 0 | 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 Code2 FROM country ORDER BY Continent Desc LIMIT 1
| 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 T1.name FROM Highschooler AS T1 JOIN Friend AS T2 ON T1.ID = T2.student_id GROUP BY T2.student_id HAVING Count ( * ) > = 2 | 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 T1.name FROM Highschooler AS T1 JOIN Friend AS T2 ON T1.ID = T2.student_id GROUP BY T2.student_id HAVING Count ( * ) > = 2
| 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 ... | Solution: SELECT Count ( * ) FROM weather WHERE min_humidity > 8 INTERSECT SELECT max_temperature_f FROM weather WHERE max_temperature_f < 50 | 5 | 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 cust_name FROM customer WHERE cust_ID NOT IN ( SELECT cust_name FROM customer )
| 8 | 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 T3.positionText , T1.country FROM circuits AS T1 JOIN races AS T2 ON T1.circuitId = T2.circuitId AND T1.circuitId = T2.circuitId JOIN constructorStandings AS T3 ON T2.raceId = T3.raceId WHERE T2.time = "Chinese Grand Prix" AND T1.country ! = "Australian Grand Prix" | 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 T1.City_Town FROM Addresses AS T1 JOIN Clients AS T2 ON T1.Address_ID = T2.Address_ID GROUP BY T2.Address_ID HAVING Count ( * ) > = 1 EXCEPT SELECT T1.City_Town FROM Addresses AS T1
| 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 Count ( * ) FROM Product WHERE product_name = "voluptatem" | 1 | 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 Name FROM Nurse ORDER BY Registered Desc LIMIT 1 | 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 T2.Date_of_Birth FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Company = "Peter Jones" OR T1.Company = "Simon Woodroffe"
| 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 ( monthly_rental ) , Avg ( monthly_rental ) FROM Student_Addresses | 2 | 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 Max ( Cylinders ) , Accelerate FROM cars_data GROUP BY Cylinders | 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 Host_City FROM hosting_city ORDER BY Year Desc | 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.positionText FROM constructorStandings AS T1 JOIN results AS T2 WHERE T2.fastestLap = 1 AND T2.milliseconds > 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 Max ( Cylinders ) , Accelerate FROM cars_data GROUP BY Cylinders
| 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 T1.characteristic_name FROM Characteristics AS T1 JOIN Product_Characteristics AS T2 ON T1.characteristic_id = T2.characteristic_id GROUP BY T2.characteristic_id ORDER BY Count ( * ) Desc LIMIT 1
| 3 | 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 flno FROM flight ORDER BY price Asc 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 T3.Campus FROM Campuses AS T1 JOIN degrees AS T2 ON T2.Campus = T1.Id JOIN faculty AS T3 ON T1.Id = T3.Campus GROUP BY T2.Campus ORDER BY Avg ( T2.Degrees ) Desc LIMIT 1 | 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 Min ( Support_rate ) , Max ( Consider_rate ) , Avg ( Oppose_rate ) FROM candidate | 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 T3.Campus FROM Campuses AS T1 JOIN degrees AS T2 ON T2.Campus = T1.Id JOIN faculty AS T3 ON T1.Id = T3.Campus GROUP BY T2.Campus ORDER BY Avg ( T2.Degrees ) Desc LIMIT 1
| 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 Max ( Consider_rate ) , Min ( Oppose_rate ) , Max ( Oppose_rate ) FROM candidate
| 6 | 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 country , Avg ( y ) FROM airports GROUP BY country | 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 T1.phone_number FROM Customers AS T1 INTERSECT SELECT T2.phone_number FROM Staff AS T2 | 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 FirstName , LastName FROM teachers WHERE FirstName = "EVELINA" | 7 | 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 Count ( * ) FROM weather WHERE min_humidity > 8 INTERSECT SELECT min_temperature_f FROM weather WHERE max_temperature_f < 50
| 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 T1.phone_number FROM Customers AS T1 INTERSECT SELECT T2.phone_number FROM Staff 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 order_id , order_details FROM Orders GROUP BY order_id HAVING Count ( * ) > = 2
| 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 enzyme WHERE id NOT IN ( SELECT Porphyria FROM enzyme ) | 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 end_date , start_date FROM trip | 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 ... | Output: SELECT cust_name FROM customer EXCEPT SELECT cust_name FROM customer
| 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 T1.start_station_id FROM trip AS T1 JOIN weather AS T2 WHERE T1.duration > 60 AND T2.events = "A" | 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 DISTINCT country FROM circuits WHERE circuitRef BETWEEN 2017 AND 2014 | 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 T1.start_station_id FROM trip AS T1 JOIN weather AS T2 WHERE T1.duration > 60 AND T2.events = "A"
| 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 ... | Output: SELECT Service_ID , Service_Type_Code FROM Services GROUP BY Service_ID ORDER BY Count ( * ) Asc LIMIT 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 Attorney_General , Party FROM party | 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 T2.course_name , T2.course_description FROM Course_Authors_and_Tutors AS T1 JOIN Courses AS T2 ON T1.author_id = T2.author_id WHERE T1.login_name = "Computer Science"
| 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 Count ( * ) FROM building WHERE Floors < 20 | 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 tourney_name , loser_rank FROM matches ORDER BY loser_age Asc LIMIT 3
| 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 T1.Name FROM Physician AS T1 JOIN Medication AS T2 JOIN Prescribes AS T3 ON T1.EmployeeID = T3.Physician AND T3.Medication = T2.Code WHERE T2.Name = "Procrastin-X"
| 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 T2.Name , T1.Address FROM Locations AS T1 JOIN Tourist_Attractions AS T2 ON T1.Location_ID = T2.Location_ID GROUP BY T2.Location_ID ORDER BY Count ( * ) Desc LIMIT 1
| 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 T1.Customer_Details FROM Customers AS T1 JOIN Policies AS T2 ON T1.Customer_ID = T2.Customer_ID ORDER BY T2.Start_Date 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 T2.Year , T2.Title , T1.Publisher FROM book_club AS T1 JOIN movie AS T2 JOIN culture_company AS T3 ON T1.book_club_id = T3.book_club_id AND T3.movie_id = T2.movie_id ORDER BY T2.Year Desc
| 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 T3.invoice_number , T1.date_order_placed FROM Orders AS T1 JOIN Invoices AS T2 ON T1.order_id = T2.order_id JOIN Financial_Transactions AS T3 ON T2.invoice_number = T3.invoice_number GROUP BY T3.invoice_number 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 T1.customer_name , T1.payment_method FROM Customers AS T1 JOIN Customer_Orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status_code = "Order" INTERSECT SELECT T1.customer_name , T1.payment_method FROM Customers AS T1 JOIN Customer_Orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_stat... | 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 ( * ) FROM Apartments WHERE apt_number LIKE "Columbus Square"
****
| 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 employee_name , Count ( * ) FROM Employees GROUP BY employee_name ORDER BY Count ( * ) Desc LIMIT 1
| 0 | 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.address_details FROM Addresses AS T1 JOIN Documents_Mailed AS T2 ON T1.address_id = T2.mailed_to_address_id WHERE T2.document_id = 7 | 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 T1.title , T2.inventory_id FROM film AS T1 JOIN inventory AS T2 ON T1.film_id = T2.film_id GROUP BY T2.inventory_id ORDER BY Count ( * ) Desc LIMIT 1
| 6 | 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.Time FROM wrestler AS T1 JOIN Elimination AS T2 ON T1.Wrestler_ID = T2.Wrestler_ID WHERE T1.Name = "Orton" OR T1.Name = "Punk" | 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 T2.CampusFee FROM Campuses AS T1 JOIN csu_fees AS T2 ON T1.Id = T2.Campus WHERE T1.County = "San Jose State University" AND T2.Year = 1996
| 0 | 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 T1.bname FROM bank AS T1 JOIN customer AS T2 ON T1.branch_ID = T2.branch_ID WHERE T2.credit_score < 100
| 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.Time FROM wrestler AS T1 JOIN Elimination AS T2 ON T1.Wrestler_ID = T2.Wrestler_ID WHERE T1.Name = "Orton" OR T1.Name = "Punk"
| 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 Sum ( T2.bathroom_count ) FROM Apartment_Buildings AS T1 JOIN Apartments AS T2 ON T1.building_id = T2.building_id WHERE T1.building_short_name = "Normandie Court" AND T1.building_short_name LIKE "Columbus Square" | 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 date , mean_temperature_f , max_dew_point_f FROM weather ORDER BY max_wind_Speed_mph Desc LIMIT 3
| 0 | 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 T1.first_name , T1.last_name FROM customers AS T1 JOIN invoices AS T2 ON T1.id = T2.customer_id GROUP BY T1.first_name ORDER BY Sum ( T2.total ) Desc LIMIT 10 | 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 problem_log_id , problem_id FROM Problem_Log
| 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 Avg ( LifeExpectancy ) FROM country WHERE Continent = "Central Africa" | 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 Count ( * ) FROM Patient AS T1 WHERE T1.SSN NOT IN ( SELECT T2.Medication FROM Prescribes AS T2 ) | 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 Min ( Height ) FROM people
| 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 T2.pName FROM College AS T1 JOIN Player AS T2 JOIN Tryout AS T3 ON T1.cName = T3.cName AND T3.pID = T2.pID ORDER BY T1.enr 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 ... | Solution: SELECT T1.date_of_latest_logon FROM Students AS T1 JOIN Courses AS T2 JOIN Student_Course_Enrolment AS T3 ON T1.student_id = T3.student_id AND T3.course_id = T2.course_id WHERE T2.course_name = "Fail" | 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 T2.date_of_completion , T2.date_of_completion 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" | 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.Name , T2.Owner , T1.Owner FROM program AS T1 JOIN channel AS T2 JOIN broadcast AS T3 ON T1.Program_ID = T3.Program_ID AND T3.Channel_ID = T2.Channel_ID
| 6 | 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 dorm_name , dorm_name FROM Dorm WHERE student_capacity > 100 OR student_capacity < 300 | 2 | 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 customer_id , card_id , card_number , other_card_details FROM Customers_Cards | 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 ... | Solution: SELECT Oppose_rate FROM candidate ORDER BY Consider_rate Desc LIMIT 3 | 5 | 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 winner_name , loser_rank FROM matches GROUP BY winner_name ORDER BY Count ( * ) Desc LIMIT 1
| 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 Count ( * ) FROM faculty WHERE Campus = 2004 AND Year = "San Francisco State University" | 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 HIRE_DATE FROM employees WHERE FIRST_NAME ! = "M"
| 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 Products WHERE product_id NOT IN ( SELECT product_id FROM Products ) | 8 | 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.stars , T1.title FROM Movie AS T1 JOIN Rating AS T2 ON T1.mID = T2.mID | 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 customer_id , card_id , card_number , other_card_details FROM Customers_Cards
| 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 Avg ( T2.price_range ) FROM Ref_Hotel_Star_Ratings AS T1 JOIN Hotels AS T2 ON T1.star_rating_code = T2.star_rating_code WHERE T1.star_rating_description = 5
****
| 4 | 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 FROM Faculty UNION SELECT Fname FROM Faculty | 4 | 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 T1.Name , Count ( * ) FROM Projects AS T1 JOIN AssignedTo AS T2 ON T1.Code = T2.Project GROUP BY T2.Project | 0 | 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 gradepoint , gradepoint FROM Gradeconversion WHERE lettergrade LIKE "A"
| 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 T1.Name , Count ( * ) FROM Projects AS T1 JOIN AssignedTo AS T2 ON T1.Code = T2.Project GROUP BY T2.Project
****
| 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 jobs AS T1 JOIN employees AS T2 ON T1.JOB_ID = T2.JOB_ID WHERE T2.SALARY > 8000 OR T1.MAX_SALARY = 12000 | 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 College FROM match_season WHERE Position = "Defender" | 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 year FROM Movie ORDER BY year Desc LIMIT 4
| 2 | 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 Name FROM city ORDER BY Population Desc LIMIT 3 | 2 | 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.