1sf/bird-sql-train-with-schema huggingface dataset:
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: Provide the inspection ID of the establishment named "PIZZA RUSTICA, INC."
Evidence: "PIZZA RUSTICA, INC." refers to dba_name = 'PIZZA RUSTICA, INC'
SQL: SELECT DISTINCT T2.inspection_id FROM establishment AS T1 INNER JOIN inspection AS T2 ON T1.license_no = T2.license_no WHERE T1.dba_name = 'PIZZA RUSTICA, INC'
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 restaurants with the highest risk level still passed the inspection?
Evidence: restaurant refers to facility_type = 'Restaurant'; the highest risk level refers to max(risk_level); pass the inspection refers to results = 'Pass'
SQL: SELECT COUNT(DISTINCT T1.license_no) FROM establishment AS T1 INNER JOIN inspection AS T2 ON T1.license_no = T2.license_no WHERE T1.risk_level = 3 AND T2.results = 'Pass' AND T1.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: List the names of employees involved in an inspection with the Display of Inspection Report Summary category.
Evidence: name refers to first_name, last_name; Display of Inspection Report Summary category refers to category = 'Display of Inspection Report Summary'
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 violation AS T3 ON T2.inspection_id = T3.inspection_id INNER JOIN inspection_point AS T4 ON T3.point_id = T4.point_id WHERE T4.category = 'Display of Inspection Report Summary'
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 title of the employee involved in inspection ID 60332?
SQL: SELECT T1.title FROM employee AS T1 INNER JOIN inspection AS T2 ON T1.employee_id = T2.employee_id WHERE T2.inspection_id = 60332
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 of the restaurants with the lowest risk level failed the complaint inspection type?
Evidence: restaurant refers to facility_type = 'Restaurant'; the lowest risk level refers to min(risk_level); failed refers to results = 'Fail'; the complaint inspection type refers to inspection_type = 'Complaint'
SQL: SELECT COUNT(DISTINCT T1.license_no) FROM establishment AS T1 INNER JOIN inspection AS T2 ON T1.license_no = T2.license_no WHERE T1.risk_level = '1' AND T2.inspection_type = 'Complaint' AND T1.facility_type = 'Restaurant' AND T2.results = 'Fail'
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: Provide the fine paid and the complete address of the establishment with inspection ID 48216.
Evidence: complete address refers to state, city, address
SQL: SELECT DISTINCT T3.fine, T1.state, T1.city, T1.address FROM establishment AS T1 INNER JOIN inspection AS T2 ON T1.license_no = T2.license_no INNER JOIN violation AS T3 ON T2.inspection_id = T3.inspection_id WHERE T2.inspection_id = 48216
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 inspection ID of the inspection with critical point level, $500 fine, and inspector comment "CDI ON 5-17-10"?
Evidence: critical point level refers to point_level = 'Critical'; $500 fine refers to fine = 500; inspector comment "CDI ON 5-17-10" refers to inspector_comment = 'CDI ON 5-17-10'
SQL: SELECT T2.inspection_id FROM inspection_point AS T1 INNER JOIN violation AS T2 ON T1.point_id = T2.point_id WHERE T2.fine = 500 AND T1.point_level = 'Critical' AND T2.inspector_comment = 'CDI ON 5-17-10'
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 are the inspection description and inspector's comments in the inspection ID 164795?
Evidence: inspection description refers to Description; inspector's comment refers to inspector_comment
SQL: SELECT T1.Description, T2.inspector_comment FROM inspection_point AS T1 INNER JOIN violation AS T2 ON T1.point_id = T2.point_id WHERE T2.inspection_id = 44247
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 are the inspector's comments and clean operating requirement code for inspection ID 54216 and point ID 34?
Evidence: inspector's comment refers to inspector_comment; clean operating requirement code refers to code
SQL: SELECT T2.inspector_comment, T1.code FROM inspection_point AS T1 INNER JOIN violation AS T2 ON T1.point_id = T2.point_id WHERE T2.inspection_id = 54216 AND T2.point_id = 34
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 establishments that failed in the inspection, what is the percentage of establishments with the highest risk level?
Evidence: failed in inspection refers to results = 'Fail'; the highest risk level refers to max(risk_level); percentage = divide(count(license_no where risk_level = max(risk_level)), count(license_no)) * 100% where results = 'Fail'
SQL: SELECT CAST(COUNT(CASE WHEN T1.risk_level = 3 THEN T1.license_no END) AS REAL) * 100 / COUNT(T1.risk_level) FROM establishment AS T1 INNER JOIN inspection AS T2 ON T1.license_no = T2.license_no WHERE T2.results = 'Fail'
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 employees that receive a salary between $75000 to $85000, what is the difference between the number of employees which undergone an inspection that fined 100 and 500?
Evidence: salary between $75000 and $85000 refers to 75000 < = salary < = 80000; difference = subtract(count(inspection_id where fine = 100), count(inspection_id where fine = 500)) where 75000 < = salary < = 80000
SQL: SELECT SUM(CASE WHEN T3.fine = 100 THEN 1 ELSE 0 END) - SUM(CASE WHEN T3.fine = 500 THEN 1 ELSE 0 END) FROM employee AS T1 INNER JOIN inspection AS T2 ON T1.employee_id = T2.employee_id INNER JOIN violation AS T3 ON T2.inspection_id = T3.inspection_id WHERE T1.salary BETWEEN 75000 AND 80000
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 done in January 2011?
Evidence: in January 2011 refers to inspection_date like '2011-01%'
SQL: SELECT COUNT(inspection_id) FROM inspection WHERE strftime('%Y-%m', inspection_date) = '2011-01'
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 failed in 2014?
Evidence: failed refers to results = 'Fail'; in 2014 refers to inspection_date like '2014%'
SQL: SELECT COUNT(inspection_id) FROM inspection WHERE strftime('%Y', inspection_date) = '2014' AND results = 'Fail'
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: Calculate the percentage of inspections with the fine for a minor food safety problem.
Evidence: fine for a minor food safety problem refers to fine = 100; percentage = divide(count(inspection_id where fine = 100), sum(inspection_id)) * 100%
SQL: SELECT CAST(COUNT(CASE WHEN fine = 100 THEN inspection_id END) AS REAL) * 100 / COUNT(inspection_id) FROM violation
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: List the point IDs and fines of the inspections done on 7th August 2010.
Evidence: on 7th August 2010 refers to inspection_date = '2010-08-07'
SQL: SELECT T2.point_id, T2.fine FROM inspection AS T1 INNER JOIN violation AS T2 ON T1.inspection_id = T2.inspection_id WHERE T1.inspection_date = '2010-08-07'
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 done under the personnel category?
Evidence: under the personnel category refers to category = 'Personnel'
SQL: SELECT COUNT(T1.inspection_id) FROM violation AS T1 INNER JOIN inspection_point AS T2 ON T1.point_id = T2.point_id WHERE T2.category = 'Personnel'
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: Provide the names and inspection results of the facilities located in Burnham.
Evidence: names refers to dba_name; inspection result refers to results; in Burnham refers to city = 'BURNHAM'
SQL: SELECT DISTINCT T1.dba_name, T2.results FROM establishment AS T1 INNER JOIN inspection AS T2 ON T1.license_no = T2.license_no WHERE T1.city = 'BURNHAM'
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: Compare the number of inspections under toxic items and no-smoking regulations.
Evidence: under toxic items refers to category = 'Toxic Items'; no-smoking regulations refers to category = 'No Smoking Regulations'
SQL: SELECT COUNT(CASE WHEN T2.category = 'Toxic Items' THEN T1.inspection_id END) AS Tox_nums , COUNT(CASE WHEN T2.category = 'No Smoking Regulations' THEN T1.inspection_id END) AS NosmoNums FROM violation AS T1 INNER JOIN inspection_point AS T2 ON T1.point_id = T2.point_id
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: Which facilities were inspected by Sarah Lindsey on 20th November 2012?
Evidence: facility name refers to dba_name; on 20th November 2012 refers to inspection_date = '2012-11-20'
SQL: SELECT DISTINCT T1.dba_name FROM establishment AS T1 INNER JOIN inspection AS T2 ON T1.license_no = T2.license_no INNER JOIN employee AS T3 ON T2.employee_id = T3.employee_id WHERE T2.inspection_date = '2012-11-20' AND T3.first_name = 'Sarah' AND T3.last_name = 'Lindsey'
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: Provide the categories and fines for the inspections done by Lisa Tillman in January 2014.
Evidence: in January 2014 refers to inspection_date like '2014-01%'
SQL: SELECT DISTINCT T4.category, T3.fine FROM inspection AS T1 INNER JOIN employee AS T2 ON T1.employee_id = T2.employee_id INNER JOIN violation AS T3 ON T1.inspection_id = T3.inspection_id INNER JOIN inspection_point AS T4 ON T3.point_id = T4.point_id WHERE T2.first_name = 'Lisa' AND T2.last_name = 'Tillman' AND strftime('%Y-%m', T1.inspection_date) = '2014-01'
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 done under the display of inspection report summary category?
Evidence: under the display of inspection report summary category refers to category = 'Display of Inspection Report Summary'
SQL: SELECT COUNT(T2.inspection_id) FROM inspection_point AS T1 INNER JOIN violation AS T2 ON T1.point_id = T2.point_id WHERE T1.category = 'Display of Inspection Report Summary'
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: List the types and results of the inspections done on Riverwalk café.
Evidence: type refers to inspection_type; Riverwalk café refers to facility_type = 'RIVERWALK CAFE'
SQL: SELECT T2.inspection_type, T2.results FROM establishment AS T1 INNER JOIN inspection AS T2 ON T1.license_no = T2.license_no WHERE T1.facility_type = 'RIVERWALK CAFE'