spiderology / testsets /like_in_sql /markup_like_in_sql.csv
k8-dmi3eva's picture
[NEW]: Upload test-sets
cdc1cad verified
db_id,question,query,simple_question,simple_query,source
concert_singer,what is the name and nation of the singer who have a song having 'Hey' in its name?,"SELECT name , country FROM singer WHERE song_name LIKE '%Hey%'",what is the name and nation of the singer?,"SELECT name , country FROM singer",spider-dev
concert_singer,What is the name and country of origin of every singer who has a song with the word 'Hey' in its title?,"SELECT name , country FROM singer WHERE song_name LIKE '%Hey%'",What is the name and country of origin of every singer?,"SELECT name , country FROM singer",spider-dev
cre_Doc_Template_Mgt,What is the document name and template id for document with description with the letter 'w' in it?,"SELECT document_name , template_id FROM Documents WHERE Document_Description LIKE ""%w%""",What is the document name and template id for document?,"SELECT document_name , template_id FROM Documents",spider-dev
cre_Doc_Template_Mgt,Return the names and template ids for documents that contain the letter w in their description.,"SELECT document_name , template_id FROM Documents WHERE Document_Description LIKE ""%w%""",Return the names and template ids for documents.,"SELECT document_name , template_id FROM Documents",spider-dev
cre_Doc_Template_Mgt,Show paragraph details for paragraph with text 'Korea ' .,select other_details from paragraphs where paragraph_text like 'korea',Show paragraph details for paragraph.,select other_details from paragraphs,spider-dev
cre_Doc_Template_Mgt,What are the details for the paragraph that includes the text 'Korea ' ?,select other_details from paragraphs where paragraph_text like 'korea',What are the details for the paragraph?,select other_details from paragraphs,spider-dev
battle_death,What are the notes of the death events which has substring 'East'?,SELECT note FROM death WHERE note LIKE '%East%',What are the notes of the death events?,SELECT note FROM death,spider-dev
student_transcripts_tracking,What is the description of the department whose name has the substring the computer?,SELECT department_description FROM Departments WHERE department_name LIKE '%computer%',What is the description of the department?,SELECT department_description FROM Departments,spider-dev
student_transcripts_tracking,What is the department description for the one whose name has the word computer?,SELECT department_description FROM Departments WHERE department_name LIKE '%computer%',What is the department descriptions ?,SELECT department_description FROM Departments,spider-dev
voter_1,Return the names of the contestants whose names contain the substring 'Al' .,"select contestant_name from contestants where contestant_name like ""%al%""",Return the names of the contestants.,select contestant_name from contestants,spider-dev
dog_kennels,"Which professionals live in a city containing the substring 'West'? List his or her role, street, city and state.","SELECT role_code , street , city , state FROM professionals WHERE city LIKE '%West%'","Which professionals live in a city? List his or her role, street, city and state.","SELECT role_code , street , city , state FROM professionals",spider-dev
dog_kennels,"Find the role, street, city and state of the professionals living in a city that contains the substring 'West'.","SELECT role_code , street , city , state FROM professionals WHERE city LIKE '%West%'","Find the role, street, city and state of the professionals living in a city","SELECT role_code , street , city , state FROM professionals",spider-dev
dog_kennels,"Return the first name, last name and email of the owners living in a state whose name contains the substring 'North'.","SELECT first_name , last_name , email_address FROM Owners WHERE state LIKE '%North%'","Return the first name, last name and email of the owners.","SELECT first_name , last_name , email_address FROM Owners",spider-dev
bike_1,"For each zip code, return the average mean temperature of August there.","SELECT zip_code , avg(mean_temperature_f) FROM weather WHERE date LIKE ""8/%"" GROUP BY zip_code","For each zip code, return the average mean temperature there.","SELECT zip_code , avg(mean_temperature_f) FROM weather GROUP BY zip_code",spider-train
bike_1,"For each zip code, what is the average mean temperature for all dates that start with '8'?","SELECT zip_code , avg(mean_temperature_f) FROM weather WHERE date LIKE ""8/%"" GROUP BY zip_code","For each zip code, what is the average mean temperature for all dates?","SELECT zip_code , avg(mean_temperature_f) FROM weather GROUP BY zip_code",spider-train
bike_1,Which start station had the most trips starting from August? Give me the name and id of the station.,"SELECT start_station_name , start_station_id FROM trip WHERE start_date LIKE ""8/%"" GROUP BY start_station_name ORDER BY COUNT(*) DESC LIMIT 1",Which start station had the most trips ? Give me the name and id of the station.,"SELECT start_station_name , start_station_id FROM trip GROUP BY start_station_name ORDER BY COUNT(*) DESC LIMIT 1",spider-train
bike_1,What are the start station's name and id for the one that had the most start trips in August?,"SELECT start_station_name , start_station_id FROM trip WHERE start_date LIKE ""8/%"" GROUP BY start_station_name ORDER BY COUNT(*) DESC LIMIT 1",What are the start station's name and id for the one that had the most start trips?,"SELECT start_station_name , start_station_id FROM trip GROUP BY start_station_name ORDER BY COUNT(*) DESC LIMIT 1",spider-train
bike_1,What are the names and ids of stations that had more than 14 bikes available on average or were installed in December?,"SELECT T1.name , T1.id FROM station AS T1 JOIN status AS T2 ON T1.id = T2.station_id GROUP BY T2.station_id HAVING avg(T2.bikes_available) > 14 UNION SELECT name , id FROM station WHERE installation_date LIKE ""12/%""",What are the names and ids of stations that had more than 14 bikes available on average?,"SELECT T1.name , T1.id FROM station AS T1 JOIN status AS T2 ON T1.id = T2.station_id GROUP BY T2.station_id HAVING avg(T2.bikes_available) > 14",spider-train
bike_1,What are the names and ids of all stations that have more than 14 bikes available on average or had bikes installed in December?,"SELECT T1.name , T1.id FROM station AS T1 JOIN status AS T2 ON T1.id = T2.station_id GROUP BY T2.station_id HAVING avg(T2.bikes_available) > 14 UNION SELECT name , id FROM station WHERE installation_date LIKE ""12/%""",What are the names and ids of all stations that have more than 14 bikes available on average?,"SELECT T1.name , T1.id FROM station AS T1 JOIN status AS T2 ON T1.id = T2.station_id GROUP BY T2.station_id HAVING avg(T2.bikes_available) > 14",spider-train
twitter_1,Find the name and email of the user whose name contains the word ‘Swift’.,"SELECT name , email FROM user_profiles WHERE name LIKE '%Swift%'",Find the name and email of the user,"SELECT name , email FROM user_profiles",spider-train
twitter_1,Find the names of users whose emails contain ‘superstar’ or ‘edu’.,SELECT name FROM user_profiles WHERE email LIKE '%superstar%' OR email LIKE '%edu%',Find the names of users,SELECT name FROM user_profiles,spider-train
twitter_1,Return the text of tweets about the topic 'intern'.,SELECT text FROM tweets WHERE text LIKE '%intern%',Return the text of tweets,SELECT text FROM tweets ,spider-train
product_catalog,"Find all the catalog publishers whose name contains ""Murray""","SELECT distinct(catalog_publisher) FROM catalogs WHERE catalog_publisher LIKE ""%Murray%""",Find all the catalog publishers,SELECT distinct(catalog_publisher) FROM catalogs,spider-train
product_catalog,"Find the names of all the products whose stock number starts with ""2"".","SELECT catalog_entry_name FROM catalog_contents WHERE product_stock_number LIKE ""2%""",Find the names of all the products.,SELECT catalog_entry_name FROM catalog_contents,spider-train
product_catalog,"Which catalog contents have a product stock number that starts from ""2""? Show the catalog entry names.","SELECT catalog_entry_name FROM catalog_contents WHERE product_stock_number LIKE ""2%""",Which catalog contents have a product stock number? Show the catalog entry names.,SELECT catalog_entry_name FROM catalog_contents,spider-train
store_1,List every album whose title starts with A in alphabetical order.,SELECT title FROM albums WHERE title LIKE 'A%' ORDER BY title;,List every album title in alphabetical order.,SELECT title FROM albums ORDER BY title;,spider-train
store_1,What are the titles of all albums that start with A in alphabetical order?,SELECT title FROM albums WHERE title LIKE 'A%' ORDER BY title;,What are the titles of all albums in alphabetical order?,SELECT title FROM albums ORDER BY title;,spider-train
store_1,List the name of albums that are released by aritist whose name has 'Led',SELECT T2.title FROM artists AS T1 JOIN albums AS T2 ON T1.id = T2.artist_id WHERE T1.name LIKE '%Led%',List the name of albums ,SELECT title FROM albums,spider-train
chinook_1,"Find the names of all artists that have ""a"" in their names.","SELECT Name FROM ARTIST WHERE Name LIKE ""%a%""",Find the names of all artists,SELECT Name FROM ARTIST,spider-train
chinook_1,What are the names of artist who have the letter 'a' in their names?,"SELECT Name FROM ARTIST WHERE Name LIKE ""%a%""",What are the names of artists?,SELECT Name FROM ARTIST ,spider-train
chinook_1,"Find the names of all the tracks that contain the word ""you"".",SELECT Name FROM TRACK WHERE Name LIKE '%you%',Find the names of all the tracks,SELECT Name FROM TRACK,spider-train
chinook_1,What are the names of tracks that contain the the word you in them?,SELECT Name FROM TRACK WHERE Name LIKE '%you%',What are the names of tracks?,SELECT Name FROM TRACK,spider-train
chinook_1,"How many customers have email that contains ""gmail.com""?","SELECT COUNT(*) FROM CUSTOMER WHERE Email LIKE ""%gmail.com%""",How many customers are?,SELECT COUNT(*) FROM CUSTOMER,spider-train
chinook_1,"Count the number of customers that have an email containing ""gmail.com"".","SELECT COUNT(*) FROM CUSTOMER WHERE Email LIKE ""%gmail.com%""",Count the number of customers,SELECT COUNT(*) FROM CUSTOMER,spider-train
insurance_fnol,"Find the IDs of customers whose name contains ""Diana"".","SELECT customer_id FROM customers WHERE customer_name LIKE ""%Diana%""",Find the IDs of customers,SELECT customer_id FROM customers,spider-train
insurance_fnol,"What are the IDs of customers who have ""Diana"" in part of their names?","SELECT customer_id FROM customers WHERE customer_name LIKE ""%Diana%""",What are the IDs of customers ?,SELECT customer_id FROM customers ,spider-train
insurance_fnol,"Retrieve the open and close dates of all the policies associated with the customer whose name contains ""Diana""","SELECT t2.date_opened , t2.date_closed FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id = t2.customer_id WHERE t1.customer_name LIKE ""%Diana%""",Retrieve the open and close dates of all the policies,"SELECT date_opened , date_closed FROM customers_policies",spider-train
insurance_fnol,"What are the open and close dates of all the policies used by the customer who have ""Diana"" in part of their names?","SELECT t2.date_opened , t2.date_closed FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id = t2.customer_id WHERE t1.customer_name LIKE ""%Diana%""",What are the open and close dates of all the policies?,"SELECT date_opened , date_closed FROM customers_policies",spider-train
medicine_enzyme_interaction,"Which enzyme names have the substring ""ALA""?","SELECT name FROM enzyme WHERE name LIKE ""%ALA%""","Which enzyme names have the substring ""ALA""?",SELECT name FROM enzyme ,spider-train
medicine_enzyme_interaction,What are the names of enzymes that include the string 'ALA'?,"SELECT name FROM enzyme WHERE name LIKE ""%ALA%""",What are the names of enzymes that include the string 'ALA'?,SELECT name FROM enzyme ,spider-train
university_basketball,Find how many school locations have the word 'NY'.,"SELECT count(*) FROM university WHERE LOCATION LIKE ""%NY%""",Find how many school locations are.,SELECT count(*) FROM university,spider-train
university_basketball,How many universities have a location that contains NY?,"SELECT count(*) FROM university WHERE LOCATION LIKE ""%NY%""",How many universities are?,SELECT count(*) FROM university ,spider-train
phone_1,Find all phones that have word 'Full' in their accreditation types. List the Hardware Model name and Company name.,"SELECT Hardware_Model_name , Company_name FROM phone WHERE Accreditation_type LIKE 'Full';",Find all phones. List the Hardware Model name and Company name.,"SELECT Hardware_Model_name , Company_name FROM phone ",spider-train
match_season,"Show all official native languages that contain the word ""English"".","SELECT Official_native_language FROM country WHERE Official_native_language LIKE ""%English%""",Show all official native languages .,SELECT Official_native_language FROM country ,spider-train
match_season,"What are the official native languages that contain the string ""English"".","SELECT Official_native_language FROM country WHERE Official_native_language LIKE ""%English%""",What are the official native languages.,SELECT Official_native_language FROM country ,spider-train
body_builder,"What are the total scores of the body builders whose birthday contains the string ""January"" ?","SELECT T1.total FROM body_builder AS T1 JOIN people AS T2 ON T1.people_id = T2.people_id WHERE T2.Birth_Date LIKE ""%January%"";",What are the total scores of the body builders?,SELECT total FROM body_builder,spider-train
apartment_rentals,"What are the building full names that contain the word ""court""?","SELECT building_full_name FROM Apartment_Buildings WHERE building_full_name LIKE ""%court%""",What are the building full names?,SELECT building_full_name FROM Apartment_Buildings,spider-train
apartment_rentals,"Find all the building full names containing the word ""court"".","SELECT building_full_name FROM Apartment_Buildings WHERE building_full_name LIKE ""%court%""",Find all the building full names.,SELECT building_full_name FROM Apartment_Buildings,spider-train
college_2,Find the department name of the instructor whose name contains 'Soisalon'.,SELECT dept_name FROM instructor WHERE name LIKE '%Soisalon%',Find the department name of the instructors,SELECT dept_name FROM instructor,spider-train
college_2,What is the name of the department with an instructure who has a name like 'Soisalon'?,SELECT dept_name FROM instructor WHERE name LIKE '%Soisalon%',What is the names of the departments?,SELECT dept_name FROM instructor ,spider-train
college_2,Find the names of all instructors whose name includes the substring “dar”.,SELECT name FROM instructor WHERE name LIKE '%dar%',Find the names of all instructors .,SELECT name FROM instructor,spider-train
college_2,"What are the names of all instructors with names that include ""dar""?",SELECT name FROM instructor WHERE name LIKE '%dar%',What are the names of all instructors ?,SELECT name FROM instructor ,spider-train
insurance_and_eClaims,"Find the names of customers whose name contains ""Diana"".","SELECT customer_details FROM customers WHERE customer_details LIKE ""%Diana%""",Find the names of customers.,SELECT customer_details FROM customers,spider-train
small_bank_1,What is the checking balance of the account whose owner’s name contains the substring ‘ee’?,SELECT T2.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid WHERE T1.name LIKE '%ee%',What is the checking balance of the account?,SELECT balance FROM checking,spider-train
cinema,How many films have the word 'Dummy' in their titles?,"SELECT count(*) FROM film WHERE title LIKE ""%Dummy%""",How many films are?,SELECT count(*) FROM film,spider-train
cinema,Count the number of films whose title contains the word 'Dummy'.,"SELECT count(*) FROM film WHERE title LIKE ""%Dummy%""",Count the number of films.,SELECT count(*) FROM film,spider-train
music_1,What are the maximum and minimum resolution of songs whose duration is 3 minutes?,"SELECT max(T2.resolution) , min(T2.resolution) FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id WHERE T1.duration LIKE ""3:%""",What are the maximum and minimum resolution of songs?,"SELECT max(resolution) , min(resolution) FROM song ",spider-train
music_1,What is the maximum and minimum resolution of all songs that are approximately 3 minutes long?,"SELECT max(T2.resolution) , min(T2.resolution) FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id WHERE T1.duration LIKE ""3:%""",What is the maximum and minimum resolution of all songs ?,"SELECT max(resolution) , min(resolution) FROM song ",spider-train
mountain_photos,"List the camera lens names containing substring ""Digital"".","SELECT name FROM camera_lens WHERE name LIKE ""%Digital%""",List the camera lens names.,SELECT name FROM camera_lens,spider-train
e_learning,"Find the number of students who have the word ""son"" in their personal names.","SELECT COUNT(*) FROM Students WHERE personal_name LIKE ""%son%""",Find the number of students,SELECT COUNT(*) FROM Students,spider-train
hospital_1,Find the name of physicians whose position title contains the word 'senior'.,SELECT name FROM physician WHERE POSITION LIKE '%senior%',Find the name of physicians,SELECT name FROM physician ,spider-train
hospital_1,What are the names of the physicians who have 'senior' in their titles.,SELECT name FROM physician WHERE POSITION LIKE '%senior%',What are the names of the physicians.,SELECT name FROM physician,spider-train
film_rank,"Find the titles and studios of the films that are produced by some film studios that contained the word ""Universal"".","SELECT title , Studio FROM film WHERE Studio LIKE ""%Universal%""",Find the titles and studios of the films,"SELECT title , Studio FROM film",spider-train
film_rank,"What are the titles and studios of films that have been produced by a studio whose name contains ""Universal""?","SELECT title , Studio FROM film WHERE Studio LIKE ""%Universal%""",What are the titles and studios of films?,"SELECT title , Studio FROM film",spider-train
tracking_grants_for_research,List the project details of the projects with the research outcome described with the substring 'Published'.,SELECT T1.project_details FROM Projects AS T1 JOIN Project_outcomes AS T2 ON T1.project_id = T2.project_id JOIN Research_outcomes AS T3 ON T2.outcome_code = T3.outcome_code WHERE T3.outcome_description LIKE '%Published%',List the project details of the projects.,SELECT project_details FROM Projects ,spider-train
tracking_grants_for_research,What are the details for the project whose research has been published?,SELECT T1.project_details FROM Projects AS T1 JOIN Project_outcomes AS T2 ON T1.project_id = T2.project_id JOIN Research_outcomes AS T3 ON T2.outcome_code = T3.outcome_code WHERE T3.outcome_description LIKE '%Published%',"What are the details for the project whose research has outcome_description ""published esearch paper""?",SELECT T1.project_details FROM Projects AS T1 JOIN Project_outcomes AS T2 ON T1.project_id = T2.project_id JOIN Research_outcomes AS T3 ON T2.outcome_code = T3.outcome_code WHERE T3.outcome_description = 'published research paper',spider-train
tracking_grants_for_research,Which document type is described with the prefix 'Initial'?,SELECT document_type_code FROM Document_Types WHERE document_description LIKE 'Initial%',Which document type is described?,SELECT document_type_code FROM Document_Types,spider-train
tracking_grants_for_research,What is the type of the document whose description starts with the word 'Initial'?,SELECT document_type_code FROM Document_Types WHERE document_description LIKE 'Initial%',What are the types of the documents?,SELECT document_type_code FROM Document_Types,spider-train
college_3,"Find the first names of students whose first names contain letter ""a"".",SELECT DISTINCT Fname FROM STUDENT WHERE Fname LIKE '%a%',Find the first names of students ,SELECT DISTINCT Fname FROM STUDENT ,spider-train
college_3,"What are the first names for students who have an ""a"" in their first name?",SELECT DISTINCT Fname FROM STUDENT WHERE Fname LIKE '%a%',What are the first names for students,SELECT DISTINCT Fname FROM STUDENT ,spider-train
music_2,"Find all the songs whose name contains the word ""the"".",SELECT title FROM songs WHERE title LIKE '% the %',Find all the songs.,SELECT title FROM songs,spider-train
music_2,"What are the names of the songs whose title has the word ""the""?",SELECT title FROM songs WHERE title LIKE '% the %',What are the names of the songs?,SELECT title FROM songs,spider-train
manufactory_1,Find the founder of the company whose name begins with the letter 'S'.,SELECT founder FROM manufacturers WHERE name LIKE 'S%',Find the founder of the company,SELECT founder FROM manufacturers ,spider-train
manufactory_1,Who is the founders of companies whose first letter is S?,SELECT founder FROM manufacturers WHERE name LIKE 'S%',Who is the founders of companies?,SELECT founder FROM manufacturers,spider-train
shop_membership,"list the card number of all members whose hometown address includes word ""Kentucky"".","SELECT card_number FROM member WHERE Hometown LIKE ""%Kentucky%""",list the card number of all members,SELECT card_number FROM member,spider-train
shop_membership,What are the card numbers of members from Kentucky?,"SELECT card_number FROM member WHERE Hometown LIKE ""%Kentucky%""",What are the card numbers of members?,SELECT card_number FROM member,spider-train
products_gen_characteristics,Find the category descriptions of the products whose descriptions include letter 't'.,SELECT T1.product_category_description FROM ref_product_categories AS T1 JOIN products AS T2 ON T1.product_category_code = T2.product_category_code WHERE T2.product_description LIKE '%t%',Find the category descriptions of the products,SELECT T1.product_category_description FROM ref_product_categories AS T1 JOIN products AS T2 ON T1.product_category_code = T2.product_category_code,spider-train
dorm_1,Find the capacity and gender type of the dorm whose name has substring ‘Donor’.,"SELECT student_capacity , gender FROM dorm WHERE dorm_name LIKE '%Donor%'",Find the capacity and gender type of the dorm,"SELECT student_capacity , gender FROM dorm WHERE dorm_name LIKE '%Donor%'",spider-train
dorm_1,What is the student capacity and type of gender for the dorm whose name as the phrase Donor in it?,"SELECT student_capacity , gender FROM dorm WHERE dorm_name LIKE '%Donor%'",What are the student capacitie and types of gender for the dorms?,"SELECT student_capacity , gender FROM dorm",spider-train
scientist_1,Find the name of the project for which a scientist whose name contains ‘Smith’ is assigned to.,SELECT T2.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project = T2.code JOIN scientists AS T3 ON T1.scientist = T3.SSN WHERE T3.name LIKE '%Smith%',Find the name of the project for which a scientist whose name ‘david smith’ is assigned to.,SELECT T2.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project = T2.code JOIN scientists AS T3 ON T1.scientist = T3.SSN WHERE T3.name = 'david smith',spider-train
scientist_1,What is the name of the project that has a scientist assigned to it whose name contains 'Smith'?,SELECT T2.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project = T2.code JOIN scientists AS T3 ON T1.scientist = T3.SSN WHERE T3.name LIKE '%Smith%',What are the names of the project that has a scientist assigned to somebody?,SELECT T2.name FROM assignedto AS T1 JOIN projects AS T2 ON T1.project = T2.code,spider-train
driving_school,"List lesson id of all lessons taught by staff with first name as Janessa, last name as Sawayn and nickname containing letter 's'.","SELECT T1.lesson_id FROM Lessons AS T1 JOIN Staff AS T2 ON T1.staff_id = T2.staff_id WHERE T2.first_name = ""Janessa"" AND T2.last_name = ""Sawayn"" AND nickname LIKE ""%s%"";","List lesson id of all lessons taught by staff with first name as Janessa, last name as Sawayn.","SELECT T1.lesson_id FROM Lessons AS T1 JOIN Staff AS T2 ON T1.staff_id = T2.staff_id WHERE T2.first_name = ""Janessa"" AND T2.last_name = ""Sawayn"";",spider-train
driving_school,What are the the lesson ids of all staff taught by Janessa Sawayn whose nickname has the letter s?,"SELECT T1.lesson_id FROM Lessons AS T1 JOIN Staff AS T2 ON T1.staff_id = T2.staff_id WHERE T2.first_name = ""Janessa"" AND T2.last_name = ""Sawayn"" AND nickname LIKE ""%s%"";",What are the the lesson ids of all staff taught by Janessa Sawayn?,"SELECT T1.lesson_id FROM Lessons AS T1 JOIN Staff AS T2 ON T1.staff_id = T2.staff_id WHERE T2.first_name = ""Janessa"" AND T2.last_name = ""Sawayn"";",spider-train
driving_school,How many lessons taught by staff whose first name has letter 'a' in it?,"SELECT count(*) FROM Lessons AS T1 JOIN Staff AS T2 ON T1.staff_id = T2.staff_id WHERE T2.first_name LIKE ""%a%""",How many lessons taught by staff?,SELECT count(*) FROM Lessons AS T1 JOIN Staff AS T2 ON T1.staff_id = T2.staff_id,spider-train
driving_school,How many lessons were taught by a staff member whose first name has the letter 'a' in it?,"SELECT count(*) FROM Lessons AS T1 JOIN Staff AS T2 ON T1.staff_id = T2.staff_id WHERE T2.first_name LIKE ""%a%""",How many lessons were taught by a staff member?,SELECT count(*) FROM Lessons AS T1 JOIN Staff AS T2 ON T1.staff_id = T2.staff_id,spider-train
flight_4,Find the country of the airlines whose name starts with 'Orbit'.,SELECT country FROM airlines WHERE name LIKE 'Orbit%',Find the country of the airlines,SELECT country FROM airlines,spider-train
flight_4,What are the countries of all airlines whose names start with Orbit?,SELECT country FROM airlines WHERE name LIKE 'Orbit%',What are the countries of all airlines ?,SELECT country FROM airlines,spider-train
flight_4,Find the number of airports whose name contain the word 'International'.,SELECT count(*) FROM airports WHERE name LIKE '%International%',Find the number of airports,SELECT count(*) FROM airports,spider-train
flight_4,How many airports' names have the word Interanation in them?,SELECT count(*) FROM airports WHERE name LIKE '%International%',How many airports' names are?,SELECT count(*) FROM airports,spider-train
architecture,Which of the mill names contains the french word 'Moulin'?,SELECT name FROM mill WHERE name LIKE '%Moulin%',Which of the mill names contains the french word 'Moulin'?,SELECT name FROM mill WHERE name LIKE '%Moulin%',spider-train
scholar,how many papers use ImageNet ?,"SELECT DISTINCT COUNT ( DISTINCT t3.paperid ) FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.datasetname LIKE ""ImageNet"";","how many papers use dataset ""g""?","SELECT DISTINCT COUNT ( DISTINCT t3.paperid ) FROM paperdataset AS t2 JOIN dataset AS t1 ON t2.datasetid = t1.datasetid JOIN paper AS t3 ON t3.paperid = t2.paperid WHERE t1.datasetname = ""g"";",spider-train-others
scholar,ACL papers in 2016 with neural attention in the title,"SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.title LIKE ""neural attention"" AND t1.year = 2016 AND t2.venuename = ""ACL"";",ACL papers in 2016,"SELECT DISTINCT t1.paperid FROM venue AS t2 JOIN paper AS t1 ON t2.venueid = t1.venueid WHERE t1.year = 2016 AND t2.venuename = ""ACL"";",spider-train-others
scholar,Authors of papers on sensor fusion,"SELECT DISTINCT t1.authorname FROM paperkeyphrase AS t2 JOIN keyphrase AS t4 ON t2.keyphraseid = t4.keyphraseid JOIN writes AS t3 ON t3.paperid = t2.paperid JOIN author AS t1 ON t3.authorid = t1.authorid WHERE t4.keyphrasename LIKE ""sensor fusion"";",Authors of papers,SELECT DISTINCT authorname FROM author,spider-train-others
scholar,What is the name of Eric C. Kerrigan 's Liquid Automatica paper ?,"SELECT DISTINCT t2.title FROM paperkeyphrase AS t5 JOIN keyphrase AS t3 ON t5.keyphraseid = t3.keyphraseid JOIN writes AS t4 ON t4.paperid = t5.paperid JOIN paper AS t2 ON t4.paperid = t2.paperid JOIN author AS t1 ON t4.authorid = t1.authorid JOIN venue AS t6 ON t6.venueid = t2.venueid WHERE t1.authorname LIKE ""Eric C. Kerrigan"" AND t3.keyphrasename = ""Liquid"" AND t6.venuename = ""Automatica"";",What is the name of Liquid Automatica paper ?,"SELECT DISTINCT t2.title FROM paperkeyphrase AS t5 JOIN keyphrase AS t3 ON t5.keyphraseid = t3.keyphraseid JOIN writes AS t4 ON t4.paperid = t5.paperid JOIN paper AS t2 ON t4.paperid = t2.paperid JOIN venue AS t6 ON t6.venueid = t2.venueid WHERE t3.keyphrasename = ""Liquid"" AND t6.venuename = ""Automatica"";",spider-train-others
scholar,What is the name of Ranjit Jhala 's Liquid Haskell paper ?,"SELECT DISTINCT t3.title FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid = t5.keyphraseid JOIN writes AS t4 ON t4.paperid = t2.paperid JOIN paper AS t3 ON t4.paperid = t3.paperid JOIN author AS t1 ON t4.authorid = t1.authorid WHERE t1.authorname LIKE ""Ranjit Jhala"" AND t5.keyphrasename = ""Liquid Haskell"";",What is the name of Liquid Haskell paper ?,"SELECT DISTINCT t3.title FROM paperkeyphrase AS t2 JOIN keyphrase AS t5 ON t2.keyphraseid = t5.keyphraseid JOIN writes AS t4 ON t4.paperid = t2.paperid JOIN paper AS t3 ON t4.paperid = t3.paperid WHERE t5.keyphrasename = ""Liquid Haskell"";",spider-train-others