1sf/bird-sql-train-with-schema huggingface dataset:
Database: books
Tables: address_status, author, book_language, country, address, customer, customer_address, order_status, publisher, book, book_author, shipping_method, cust_order, order_history, order_line
Columns (table index, column name): -1, *, 0, status_id, 0, address_status, 1, author_id, 1, author_name, 2, language_id, 2, language_code, 2, language_name, 3, country_id, 3, country_name, 4, address_id, 4, street_number, 4, street_name, 4, city, 4, country_id, 5, customer_id, 5, first_name, 5, last_name, 5, email, 6, customer_id, 6, address_id, 6, status_id, 7, status_id, 7, status_value, 8, publisher_id, 8, publisher_name, 9, book_id, 9, title, 9, isbn13, 9, language_id, 9, num_pages, 9, publication_date, 9, publisher_id, 10, book_id, 10, author_id, 11, method_id, 11, method_name, 11, cost, 12, order_id, 12, order_date, 12, customer_id, 12, shipping_method_id, 12, dest_address_id, 13, history_id, 13, order_id, 13, status_id, 13, status_date, 14, line_id, 14, order_id, 14, book_id, 14, price
Question: What is the language of the book titled Zorro?
Evidence: "Zorro" is the title of the book; langauge refers to language_name
SQL: SELECT T2.language_name FROM book AS T1 INNER JOIN book_language AS T2 ON T1.language_id = T2.language_id WHERE T1.title = 'Zorro'
Database: books
Tables: address_status, author, book_language, country, address, customer, customer_address, order_status, publisher, book, book_author, shipping_method, cust_order, order_history, order_line
Columns (table index, column name): -1, *, 0, status_id, 0, address_status, 1, author_id, 1, author_name, 2, language_id, 2, language_code, 2, language_name, 3, country_id, 3, country_name, 4, address_id, 4, street_number, 4, street_name, 4, city, 4, country_id, 5, customer_id, 5, first_name, 5, last_name, 5, email, 6, customer_id, 6, address_id, 6, status_id, 7, status_id, 7, status_value, 8, publisher_id, 8, publisher_name, 9, book_id, 9, title, 9, isbn13, 9, language_id, 9, num_pages, 9, publication_date, 9, publisher_id, 10, book_id, 10, author_id, 11, method_id, 11, method_name, 11, cost, 12, order_id, 12, order_date, 12, customer_id, 12, shipping_method_id, 12, dest_address_id, 13, history_id, 13, order_id, 13, status_id, 13, status_date, 14, line_id, 14, order_id, 14, book_id, 14, price
Question: Provide the email of the customers that purchased books with a price range of 3 to 5 dollars.
Evidence: books with a price range of 3 to 5 dollars refers to price BETWEEN 3 AND 5
SQL: SELECT DISTINCT T3.email FROM order_line AS T1 INNER JOIN cust_order AS T2 ON T2.order_id = T1.order_id INNER JOIN customer AS T3 ON T3.customer_id = T2.customer_id WHERE T1.price BETWEEN 3 AND 5
Database: books
Tables: address_status, author, book_language, country, address, customer, customer_address, order_status, publisher, book, book_author, shipping_method, cust_order, order_history, order_line
Columns (table index, column name): -1, *, 0, status_id, 0, address_status, 1, author_id, 1, author_name, 2, language_id, 2, language_code, 2, language_name, 3, country_id, 3, country_name, 4, address_id, 4, street_number, 4, street_name, 4, city, 4, country_id, 5, customer_id, 5, first_name, 5, last_name, 5, email, 6, customer_id, 6, address_id, 6, status_id, 7, status_id, 7, status_value, 8, publisher_id, 8, publisher_name, 9, book_id, 9, title, 9, isbn13, 9, language_id, 9, num_pages, 9, publication_date, 9, publisher_id, 10, book_id, 10, author_id, 11, method_id, 11, method_name, 11, cost, 12, order_id, 12, order_date, 12, customer_id, 12, shipping_method_id, 12, dest_address_id, 13, history_id, 13, order_id, 13, status_id, 13, status_date, 14, line_id, 14, order_id, 14, book_id, 14, price
Question: List the ISBN of the books that cost 7.5 dollars.
Evidence: ISBN refers to isbn13; books cost 7.5 dollars refers to price = 7.5
SQL: SELECT T1.isbn13 FROM book AS T1 INNER JOIN order_line AS T2 ON T1.book_id = T2.book_id WHERE T2.price = 7.5
Database: books
Tables: address_status, author, book_language, country, address, customer, customer_address, order_status, publisher, book, book_author, shipping_method, cust_order, order_history, order_line
Columns (table index, column name): -1, *, 0, status_id, 0, address_status, 1, author_id, 1, author_name, 2, language_id, 2, language_code, 2, language_name, 3, country_id, 3, country_name, 4, address_id, 4, street_number, 4, street_name, 4, city, 4, country_id, 5, customer_id, 5, first_name, 5, last_name, 5, email, 6, customer_id, 6, address_id, 6, status_id, 7, status_id, 7, status_value, 8, publisher_id, 8, publisher_name, 9, book_id, 9, title, 9, isbn13, 9, language_id, 9, num_pages, 9, publication_date, 9, publisher_id, 10, book_id, 10, author_id, 11, method_id, 11, method_name, 11, cost, 12, order_id, 12, order_date, 12, customer_id, 12, shipping_method_id, 12, dest_address_id, 13, history_id, 13, order_id, 13, status_id, 13, status_date, 14, line_id, 14, order_id, 14, book_id, 14, price
Question: Give the publisher's name of the books authored by Alan Lee.
Evidence: "Alan Lee" is the author_name; publisher's name refers to publisher_name
SQL: SELECT T4.publisher_name FROM book AS T1 INNER JOIN book_author AS T2 ON T1.book_id = T2.book_id INNER JOIN author AS T3 ON T3.author_id = T2.author_id INNER JOIN publisher AS T4 ON T4.publisher_id = T1.publisher_id WHERE T3.author_name = 'Alan Lee' GROUP BY T4.publisher_name
Database: books
Tables: address_status, author, book_language, country, address, customer, customer_address, order_status, publisher, book, book_author, shipping_method, cust_order, order_history, order_line
Columns (table index, column name): -1, *, 0, status_id, 0, address_status, 1, author_id, 1, author_name, 2, language_id, 2, language_code, 2, language_name, 3, country_id, 3, country_name, 4, address_id, 4, street_number, 4, street_name, 4, city, 4, country_id, 5, customer_id, 5, first_name, 5, last_name, 5, email, 6, customer_id, 6, address_id, 6, status_id, 7, status_id, 7, status_value, 8, publisher_id, 8, publisher_name, 9, book_id, 9, title, 9, isbn13, 9, language_id, 9, num_pages, 9, publication_date, 9, publisher_id, 10, book_id, 10, author_id, 11, method_id, 11, method_name, 11, cost, 12, order_id, 12, order_date, 12, customer_id, 12, shipping_method_id, 12, dest_address_id, 13, history_id, 13, order_id, 13, status_id, 13, status_date, 14, line_id, 14, order_id, 14, book_id, 14, price
Question: What is the sum of the number of pages of the books ordered by Mick Sever?
Evidence: sum of the number of pages refers to Sum(num_pages)
SQL: SELECT SUM(T1.num_pages) FROM book AS T1 INNER JOIN order_line AS T2 ON T1.book_id = T2.book_id INNER JOIN cust_order AS T3 ON T3.order_id = T2.order_id INNER JOIN customer AS T4 ON T4.customer_id = T3.customer_id WHERE T4.first_name = 'Mick' AND T4.last_name = 'Sever'
Database: books
Tables: address_status, author, book_language, country, address, customer, customer_address, order_status, publisher, book, book_author, shipping_method, cust_order, order_history, order_line
Columns (table index, column name): -1, *, 0, status_id, 0, address_status, 1, author_id, 1, author_name, 2, language_id, 2, language_code, 2, language_name, 3, country_id, 3, country_name, 4, address_id, 4, street_number, 4, street_name, 4, city, 4, country_id, 5, customer_id, 5, first_name, 5, last_name, 5, email, 6, customer_id, 6, address_id, 6, status_id, 7, status_id, 7, status_value, 8, publisher_id, 8, publisher_name, 9, book_id, 9, title, 9, isbn13, 9, language_id, 9, num_pages, 9, publication_date, 9, publisher_id, 10, book_id, 10, author_id, 11, method_id, 11, method_name, 11, cost, 12, order_id, 12, order_date, 12, customer_id, 12, shipping_method_id, 12, dest_address_id, 13, history_id, 13, order_id, 13, status_id, 13, status_date, 14, line_id, 14, order_id, 14, book_id, 14, price
Question: Write down the author's name of the book most recently published.
Evidence: author's name refers to author_name; book most recently published refers to Max(publication_date)
SQL: SELECT T3.author_name FROM book AS T1 INNER JOIN book_author AS T2 ON T1.book_id = T2.book_id INNER JOIN author AS T3 ON T3.author_id = T2.author_id ORDER BY T1.publication_date DESC LIMIT 1
Database: books
Tables: address_status, author, book_language, country, address, customer, customer_address, order_status, publisher, book, book_author, shipping_method, cust_order, order_history, order_line
Columns (table index, column name): -1, *, 0, status_id, 0, address_status, 1, author_id, 1, author_name, 2, language_id, 2, language_code, 2, language_name, 3, country_id, 3, country_name, 4, address_id, 4, street_number, 4, street_name, 4, city, 4, country_id, 5, customer_id, 5, first_name, 5, last_name, 5, email, 6, customer_id, 6, address_id, 6, status_id, 7, status_id, 7, status_value, 8, publisher_id, 8, publisher_name, 9, book_id, 9, title, 9, isbn13, 9, language_id, 9, num_pages, 9, publication_date, 9, publisher_id, 10, book_id, 10, author_id, 11, method_id, 11, method_name, 11, cost, 12, order_id, 12, order_date, 12, customer_id, 12, shipping_method_id, 12, dest_address_id, 13, history_id, 13, order_id, 13, status_id, 13, status_date, 14, line_id, 14, order_id, 14, book_id, 14, price
Question: In books published by Ace Book, what is the percentage of English books published?
Evidence: "Ace Book" is the publisher_name; English book refers to language_name = 'English'; percentage = Divide (Count(book_id where language_name = 'English'), Count(book_id)) * 100
SQL: SELECT CAST(SUM(CASE WHEN T1.language_name = 'English' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(*) FROM book_language AS T1 INNER JOIN book AS T2 ON T1.language_id = T2.language_id INNER JOIN publisher AS T3 ON T3.publisher_id = T2.publisher_id WHERE T3.publisher_name = 'Ace Book'
Database: books
Tables: address_status, author, book_language, country, address, customer, customer_address, order_status, publisher, book, book_author, shipping_method, cust_order, order_history, order_line
Columns (table index, column name): -1, *, 0, status_id, 0, address_status, 1, author_id, 1, author_name, 2, language_id, 2, language_code, 2, language_name, 3, country_id, 3, country_name, 4, address_id, 4, street_number, 4, street_name, 4, city, 4, country_id, 5, customer_id, 5, first_name, 5, last_name, 5, email, 6, customer_id, 6, address_id, 6, status_id, 7, status_id, 7, status_value, 8, publisher_id, 8, publisher_name, 9, book_id, 9, title, 9, isbn13, 9, language_id, 9, num_pages, 9, publication_date, 9, publisher_id, 10, book_id, 10, author_id, 11, method_id, 11, method_name, 11, cost, 12, order_id, 12, order_date, 12, customer_id, 12, shipping_method_id, 12, dest_address_id, 13, history_id, 13, order_id, 13, status_id, 13, status_date, 14, line_id, 14, order_id, 14, book_id, 14, price
Question: Among the books purchased by less than 1 dollar, what is the difference between the number of books with less than 500 pages and books with greater than 500 pages?
Evidence: book purchased by less than 1 dollar refers to price < 1; books with less than 500 pages refers to num_pages < 500; greater than 500 pages refers to num_pages > 500; Difference = Subtract (Count(book_id where num_pages < 500), Count(book_id where num_pages > 500))
SQL: SELECT SUM(CASE WHEN T1.num_pages < 500 THEN 1 ELSE 0 END) - SUM(CASE WHEN T1.num_pages > 500 THEN 1 ELSE 0 END) AS dif FROM book AS T1 INNER JOIN order_line AS T2 ON T1.book_id = T2.book_id WHERE T2.price < 1
Database: books
Tables: address_status, author, book_language, country, address, customer, customer_address, order_status, publisher, book, book_author, shipping_method, cust_order, order_history, order_line
Columns (table index, column name): -1, *, 0, status_id, 0, address_status, 1, author_id, 1, author_name, 2, language_id, 2, language_code, 2, language_name, 3, country_id, 3, country_name, 4, address_id, 4, street_number, 4, street_name, 4, city, 4, country_id, 5, customer_id, 5, first_name, 5, last_name, 5, email, 6, customer_id, 6, address_id, 6, status_id, 7, status_id, 7, status_value, 8, publisher_id, 8, publisher_name, 9, book_id, 9, title, 9, isbn13, 9, language_id, 9, num_pages, 9, publication_date, 9, publisher_id, 10, book_id, 10, author_id, 11, method_id, 11, method_name, 11, cost, 12, order_id, 12, order_date, 12, customer_id, 12, shipping_method_id, 12, dest_address_id, 13, history_id, 13, order_id, 13, status_id, 13, status_date, 14, line_id, 14, order_id, 14, book_id, 14, price
Question: What are the language and title of the ordered books with price less than 20% of the average price of all ordered books?
Evidence: language refers to language_name; books with price less than 20% of the average price refers to price < Multiply (AVG(price), 0.2)
SQL: SELECT DISTINCT T3.language_name, T2.title FROM order_line AS T1 INNER JOIN book AS T2 ON T1.book_id = T2.book_id INNER JOIN book_language AS T3 ON T3.language_id = T2.language_id WHERE T1.price * 100 < ( SELECT AVG(price) FROM order_line ) * 20
Database: food_inspection_2
Tables: employee, establishment, inspection, inspection_point, violation
Columns (table index, column name): -1, *, 0, employee_id, 0, first_name, 0, last_name, 0, address, 0, city, 0, state, 0, zip, 0, phone, 0, title, 0, salary, 0, supervisor, 1, license_no, 1, dba_name, 1, aka_name, 1, facility_type, 1, risk_level, 1, address, 1, city, 1, state, 1, zip, 1, latitude, 1, longitude, 1, ward, 2, inspection_id, 2, inspection_date, 2, inspection_type, 2, results, 2, employee_id, 2, license_no, 2, followup_to, 3, point_id, 3, Description, 3, category, 3, code, 3, fine, 3, point_level, 4, inspection_id, 4, point_id, 4, fine, 4, inspector_comment
Question: Please list the full names of all the sanitarians under the supervision of Darlisha Jacobs.
Evidence: full name refers to first_name, last_name
SQL: SELECT first_name, last_name FROM employee WHERE title = 'Sanitarian' AND supervisor = ( SELECT employee_id FROM employee WHERE first_name = 'Darlisha' AND last_name = 'Jacobs' )
Database: food_inspection_2
Tables: employee, establishment, inspection, inspection_point, violation
Columns (table index, column name): -1, *, 0, employee_id, 0, first_name, 0, last_name, 0, address, 0, city, 0, state, 0, zip, 0, phone, 0, title, 0, salary, 0, supervisor, 1, license_no, 1, dba_name, 1, aka_name, 1, facility_type, 1, risk_level, 1, address, 1, city, 1, state, 1, zip, 1, latitude, 1, longitude, 1, ward, 2, inspection_id, 2, inspection_date, 2, inspection_type, 2, results, 2, employee_id, 2, license_no, 2, followup_to, 3, point_id, 3, Description, 3, category, 3, code, 3, fine, 3, point_level, 4, inspection_id, 4, point_id, 4, fine, 4, inspector_comment
Question: Please list the full names of the sanitarians who did at least one inspection in May, 2010.
Evidence: full name refers to first_name, last_name; in May 2010 refers to inspection_date like '2010-05%'; sanitarian refers to title = 'Sanitarian'
SQL: SELECT DISTINCT T1.first_name, T1.last_name FROM employee AS T1 INNER JOIN inspection AS T2 ON T1.employee_id = T2.employee_id WHERE strftime('%Y-%m', T2.inspection_date) = '2010-05' AND T1.title = 'Sanitarian'
Database: food_inspection_2
Tables: employee, establishment, inspection, inspection_point, violation
Columns (table index, column name): -1, *, 0, employee_id, 0, first_name, 0, last_name, 0, address, 0, city, 0, state, 0, zip, 0, phone, 0, title, 0, salary, 0, supervisor, 1, license_no, 1, dba_name, 1, aka_name, 1, facility_type, 1, risk_level, 1, address, 1, city, 1, state, 1, zip, 1, latitude, 1, longitude, 1, ward, 2, inspection_id, 2, inspection_date, 2, inspection_type, 2, results, 2, employee_id, 2, license_no, 2, followup_to, 3, point_id, 3, Description, 3, category, 3, code, 3, fine, 3, point_level, 4, inspection_id, 4, point_id, 4, fine, 4, inspector_comment
Question: How many inspections were sanitarian Joshua Rosa responsible for in 2010?
Evidence: in 2010 refers to inspection_date like '2010%'
SQL: SELECT COUNT(T2.inspection_id) FROM employee AS T1 INNER JOIN inspection AS T2 ON T1.employee_id = T2.employee_id WHERE strftime('%Y', T2.inspection_date) = '2010' AND T1.first_name = 'Joshua' AND T1.last_name = 'Rosa'
Database: food_inspection_2
Tables: employee, establishment, inspection, inspection_point, violation
Columns (table index, column name): -1, *, 0, employee_id, 0, first_name, 0, last_name, 0, address, 0, city, 0, state, 0, zip, 0, phone, 0, title, 0, salary, 0, supervisor, 1, license_no, 1, dba_name, 1, aka_name, 1, facility_type, 1, risk_level, 1, address, 1, city, 1, state, 1, zip, 1, latitude, 1, longitude, 1, ward, 2, inspection_id, 2, inspection_date, 2, inspection_type, 2, results, 2, employee_id, 2, license_no, 2, followup_to, 3, point_id, 3, Description, 3, category, 3, code, 3, fine, 3, point_level, 4, inspection_id, 4, point_id, 4, fine, 4, inspector_comment
Question: Please list the assumed name of all the facilities inspected by Joshua Rosa.
Evidence: assumed name refers to dba_name
SQL: SELECT DISTINCT T3.dba_name FROM employee AS T1 INNER JOIN inspection AS T2 ON T1.employee_id = T2.employee_id INNER JOIN establishment AS T3 ON T2.license_no = T3.license_no WHERE T1.first_name = 'Joshua' AND T1.last_name = 'Rosa'
Database: food_inspection_2
Tables: employee, establishment, inspection, inspection_point, violation
Columns (table index, column name): -1, *, 0, employee_id, 0, first_name, 0, last_name, 0, address, 0, city, 0, state, 0, zip, 0, phone, 0, title, 0, salary, 0, supervisor, 1, license_no, 1, dba_name, 1, aka_name, 1, facility_type, 1, risk_level, 1, address, 1, city, 1, state, 1, zip, 1, latitude, 1, longitude, 1, ward, 2, inspection_id, 2, inspection_date, 2, inspection_type, 2, results, 2, employee_id, 2, license_no, 2, followup_to, 3, point_id, 3, Description, 3, category, 3, code, 3, fine, 3, point_level, 4, inspection_id, 4, point_id, 4, fine, 4, inspector_comment
Question: Among the facilities that have undergone at least one inspection in 2010, how many of them are restaurants or cafeterias?
Evidence: in 2010 refers to inspection_date like '2010%'; restaurant or cafeteria refers to facility_type = 'Restaurant'
SQL: SELECT COUNT(DISTINCT T1.license_no) FROM inspection AS T1 INNER JOIN establishment AS T2 ON T1.license_no = T2.license_no WHERE strftime('%Y', T1.inspection_date) = '2010' AND T2.facility_type = 'Restaurant'
Database: food_inspection_2
Tables: employee, establishment, inspection, inspection_point, violation
Columns (table index, column name): -1, *, 0, employee_id, 0, first_name, 0, last_name, 0, address, 0, city, 0, state, 0, zip, 0, phone, 0, title, 0, salary, 0, supervisor, 1, license_no, 1, dba_name, 1, aka_name, 1, facility_type, 1, risk_level, 1, address, 1, city, 1, state, 1, zip, 1, latitude, 1, longitude, 1, ward, 2, inspection_id, 2, inspection_date, 2, inspection_type, 2, results, 2, employee_id, 2, license_no, 2, followup_to, 3, point_id, 3, Description, 3, category, 3, code, 3, fine, 3, point_level, 4, inspection_id, 4, point_id, 4, fine, 4, inspector_comment
Question: Please list the location coordinates of all the facilities that had an inspection on 2010/5/11.
Evidence: location coordinates refers to latitude, longitude; on 2010/5/11 refers to inspection_date = '2010-05-11'
SQL: SELECT DISTINCT T2.latitude, T2.longitude FROM inspection AS T1 INNER JOIN establishment AS T2 ON T1.license_no = T2.license_no WHERE T1.inspection_date = '2010-05-11'
Database: food_inspection_2
Tables: employee, establishment, inspection, inspection_point, violation
Columns (table index, column name): -1, *, 0, employee_id, 0, first_name, 0, last_name, 0, address, 0, city, 0, state, 0, zip, 0, phone, 0, title, 0, salary, 0, supervisor, 1, license_no, 1, dba_name, 1, aka_name, 1, facility_type, 1, risk_level, 1, address, 1, city, 1, state, 1, zip, 1, latitude, 1, longitude, 1, ward, 2, inspection_id, 2, inspection_date, 2, inspection_type, 2, results, 2, employee_id, 2, license_no, 2, followup_to, 3, point_id, 3, Description, 3, category, 3, code, 3, fine, 3, point_level, 4, inspection_id, 4, point_id, 4, fine, 4, inspector_comment
Question: Among the facilities that have undergone at least one inspection in 2010, how many of them are in ward no.42?
Evidence: in 2010 refers to inspection_date like '2010%'; in ward no.42 refers to ward = 42
SQL: SELECT COUNT(DISTINCT T1.license_no) FROM inspection AS T1 INNER JOIN establishment AS T2 ON T1.license_no = T2.license_no WHERE strftime('%Y', T1.inspection_date) = '2010' AND T2.ward = 42
Database: food_inspection_2
Tables: employee, establishment, inspection, inspection_point, violation
Columns (table index, column name): -1, *, 0, employee_id, 0, first_name, 0, last_name, 0, address, 0, city, 0, state, 0, zip, 0, phone, 0, title, 0, salary, 0, supervisor, 1, license_no, 1, dba_name, 1, aka_name, 1, facility_type, 1, risk_level, 1, address, 1, city, 1, state, 1, zip, 1, latitude, 1, longitude, 1, ward, 2, inspection_id, 2, inspection_date, 2, inspection_type, 2, results, 2, employee_id, 2, license_no, 2, followup_to, 3, point_id, 3, Description, 3, category, 3, code, 3, fine, 3, point_level, 4, inspection_id, 4, point_id, 4, fine, 4, inspector_comment
Question: Please list the full names of all the sanitarians who have inspected the facility Burbank.
Evidence: full name refers to first_name, last_name; the facility Burbank refers to dba_name = 'Burbank'
SQL: SELECT DISTINCT T1.first_name, T1.last_name FROM employee AS T1 INNER JOIN inspection AS T2 ON T1.employee_id = T2.employee_id INNER JOIN establishment AS T3 ON T2.license_no = T3.license_no WHERE T3.dba_name = 'Burbank' AND T1.title = 'Sanitarian'
Database: food_inspection_2
Tables: employee, establishment, inspection, inspection_point, violation
Columns (table index, column name): -1, *, 0, employee_id, 0, first_name, 0, last_name, 0, address, 0, city, 0, state, 0, zip, 0, phone, 0, title, 0, salary, 0, supervisor, 1, license_no, 1, dba_name, 1, aka_name, 1, facility_type, 1, risk_level, 1, address, 1, city, 1, state, 1, zip, 1, latitude, 1, longitude, 1, ward, 2, inspection_id, 2, inspection_date, 2, inspection_type, 2, results, 2, employee_id, 2, license_no, 2, followup_to, 3, point_id, 3, Description, 3, category, 3, code, 3, fine, 3, point_level, 4, inspection_id, 4, point_id, 4, fine, 4, inspector_comment
Question: Please list the assumed name of all the facilities that failed an inspection in 2010.
Evidence: assumed name refers to dba_name; failed an inspection refers to results = 'Fail'; in 2010 refers to inspection_date like '2010%'
SQL: SELECT DISTINCT T2.dba_name FROM inspection AS T1 INNER JOIN establishment AS T2 ON T1.license_no = T2.license_no WHERE T1.results = 'Fail' AND strftime('%Y', T1.inspection_date) = '2010'
Database: food_inspection_2
Tables: employee, establishment, inspection, inspection_point, violation
Columns (table index, column name): -1, *, 0, employee_id, 0, first_name, 0, last_name, 0, address, 0, city, 0, state, 0, zip, 0, phone, 0, title, 0, salary, 0, supervisor, 1, license_no, 1, dba_name, 1, aka_name, 1, facility_type, 1, risk_level, 1, address, 1, city, 1, state, 1, zip, 1, latitude, 1, longitude, 1, ward, 2, inspection_id, 2, inspection_date, 2, inspection_type, 2, results, 2, employee_id, 2, license_no, 2, followup_to, 3, point_id, 3, Description, 3, category, 3, code, 3, fine, 3, point_level, 4, inspection_id, 4, point_id, 4, fine, 4, inspector_comment
Question: What is the full name of the sanitarian who inspected Amundsen High School on 2010/5/11?
Evidence: full name refers to first_name, last_name;  Amundsen High School refers to dba_name = 'AMUNDSEN HIGH SCHOOL'; on 2010/5/11 refers to inspection_date = '2010-05-11'
SQL: SELECT T1.first_name, T1.last_name FROM employee AS T1 INNER JOIN inspection AS T2 ON T1.employee_id = T2.employee_id INNER JOIN establishment AS T3 ON T2.license_no = T3.license_no WHERE T2.inspection_date = '2010-05-11' AND T3.dba_name = 'AMUNDSEN HIGH SCHOOL' AND T1.title = 'Sanitarian'