1sf/bird-sql-train-with-schema huggingface dataset:
Database: chicago_crime
Tables: Community_Area, District, FBI_Code, IUCR, Neighborhood, Ward, Crime
Columns (table index, column name): -1, *, 0, community_area_no, 0, community_area_name, 0, side, 0, population, 1, district_no, 1, district_name, 1, address, 1, zip_code, 1, commander, 1, email, 1, phone, 1, fax, 1, tty, 1, twitter, 2, fbi_code_no, 2, title, 2, description, 2, crime_against, 3, iucr_no, 3, primary_description, 3, secondary_description, 3, index_code, 4, neighborhood_name, 4, community_area_no, 5, ward_no, 5, alderman_first_name, 5, alderman_last_name, 5, alderman_name_suffix, 5, ward_office_address, 5, ward_office_zip, 5, ward_email, 5, ward_office_phone, 5, ward_office_fax, 5, city_hall_office_room, 5, city_hall_office_phone, 5, city_hall_office_fax, 5, Population, 6, report_no, 6, case_number, 6, date, 6, block, 6, iucr_no, 6, location_description, 6, arrest, 6, domestic, 6, beat, 6, district_no, 6, ward_no, 6, community_area_no, 6, fbi_code_no, 6, latitude, 6, longitude
Question: Among the crimes in Woodlawn, how many of them happened in January, 2018?
Evidence: Woodlawn refers to community_area_name = 'Woodlawn'; in January 2018 refers to date like '%1/2018%'
SQL: SELECT SUM(CASE WHEN T1.community_area_name = 'Woodlawn' THEN 1 ELSE 0 END) FROM Community_Area AS T1 INNER JOIN Crime AS T2 ON T1.community_area_no = T2.community_area_no WHERE T2.date LIKE '%1/2018%'
Database: chicago_crime
Tables: Community_Area, District, FBI_Code, IUCR, Neighborhood, Ward, Crime
Columns (table index, column name): -1, *, 0, community_area_no, 0, community_area_name, 0, side, 0, population, 1, district_no, 1, district_name, 1, address, 1, zip_code, 1, commander, 1, email, 1, phone, 1, fax, 1, tty, 1, twitter, 2, fbi_code_no, 2, title, 2, description, 2, crime_against, 3, iucr_no, 3, primary_description, 3, secondary_description, 3, index_code, 4, neighborhood_name, 4, community_area_no, 5, ward_no, 5, alderman_first_name, 5, alderman_last_name, 5, alderman_name_suffix, 5, ward_office_address, 5, ward_office_zip, 5, ward_email, 5, ward_office_phone, 5, ward_office_fax, 5, city_hall_office_room, 5, city_hall_office_phone, 5, city_hall_office_fax, 5, Population, 6, report_no, 6, case_number, 6, date, 6, block, 6, iucr_no, 6, location_description, 6, arrest, 6, domestic, 6, beat, 6, district_no, 6, ward_no, 6, community_area_no, 6, fbi_code_no, 6, latitude, 6, longitude
Question: More crimes happened in which community area in January, 2018, Woodlawn or Lincoln Square?
Evidence: in January 2018 refers to date like '%1/2018%'; Woodlawn or Lincoln Square refers to community_area_name in ('Woodlawn', 'Lincoln Square'); number of crime refers to COUNT(report_no); the higher the report_no, the more crimes happened in the community;
SQL: SELECT T1.community_area_name FROM Community_Area AS T1 INNER JOIN Crime AS T2 ON T1.community_area_no = T2.community_area_no WHERE T1.community_area_name IN ('Woodlawn', 'Lincoln Square') AND T2.date LIKE '%1/2018%' GROUP BY T1.community_area_name ORDER BY COUNT(T1.community_area_name) DESC LIMIT 1
Database: chicago_crime
Tables: Community_Area, District, FBI_Code, IUCR, Neighborhood, Ward, Crime
Columns (table index, column name): -1, *, 0, community_area_no, 0, community_area_name, 0, side, 0, population, 1, district_no, 1, district_name, 1, address, 1, zip_code, 1, commander, 1, email, 1, phone, 1, fax, 1, tty, 1, twitter, 2, fbi_code_no, 2, title, 2, description, 2, crime_against, 3, iucr_no, 3, primary_description, 3, secondary_description, 3, index_code, 4, neighborhood_name, 4, community_area_no, 5, ward_no, 5, alderman_first_name, 5, alderman_last_name, 5, alderman_name_suffix, 5, ward_office_address, 5, ward_office_zip, 5, ward_email, 5, ward_office_phone, 5, ward_office_fax, 5, city_hall_office_room, 5, city_hall_office_phone, 5, city_hall_office_fax, 5, Population, 6, report_no, 6, case_number, 6, date, 6, block, 6, iucr_no, 6, location_description, 6, arrest, 6, domestic, 6, beat, 6, district_no, 6, ward_no, 6, community_area_no, 6, fbi_code_no, 6, latitude, 6, longitude
Question: What is the fax number for the district with the most number of crimes in January, 2018?
Evidence: fax number refers to fax; the most number of crimes refers to max(count(case_number)); in January 2018 refers to date like '%1/2018%'
SQL: SELECT T1.fax FROM District AS T1 INNER JOIN Crime AS T2 ON T1.district_no = T2.district_no WHERE T2.date LIKE '%1/2018%' GROUP BY T2.district_no ORDER BY COUNT(case_number) DESC LIMIT 1
Database: chicago_crime
Tables: Community_Area, District, FBI_Code, IUCR, Neighborhood, Ward, Crime
Columns (table index, column name): -1, *, 0, community_area_no, 0, community_area_name, 0, side, 0, population, 1, district_no, 1, district_name, 1, address, 1, zip_code, 1, commander, 1, email, 1, phone, 1, fax, 1, tty, 1, twitter, 2, fbi_code_no, 2, title, 2, description, 2, crime_against, 3, iucr_no, 3, primary_description, 3, secondary_description, 3, index_code, 4, neighborhood_name, 4, community_area_no, 5, ward_no, 5, alderman_first_name, 5, alderman_last_name, 5, alderman_name_suffix, 5, ward_office_address, 5, ward_office_zip, 5, ward_email, 5, ward_office_phone, 5, ward_office_fax, 5, city_hall_office_room, 5, city_hall_office_phone, 5, city_hall_office_fax, 5, Population, 6, report_no, 6, case_number, 6, date, 6, block, 6, iucr_no, 6, location_description, 6, arrest, 6, domestic, 6, beat, 6, district_no, 6, ward_no, 6, community_area_no, 6, fbi_code_no, 6, latitude, 6, longitude
Question: What is the average number of crimes in a neighborhood in Central Chicago?
Evidence: Central Chicago refers to side = 'Central'; average number = divide(count(report_no), count(community_area_no))
SQL: SELECT CAST(COUNT(T1.report_no) AS REAL) / COUNT(T2.community_area_no) FROM Crime AS T1 INNER JOIN Community_Area AS T2 ON T1.community_area_no = T2.community_area_no WHERE T2.side = 'Central'
Database: chicago_crime
Tables: Community_Area, District, FBI_Code, IUCR, Neighborhood, Ward, Crime
Columns (table index, column name): -1, *, 0, community_area_no, 0, community_area_name, 0, side, 0, population, 1, district_no, 1, district_name, 1, address, 1, zip_code, 1, commander, 1, email, 1, phone, 1, fax, 1, tty, 1, twitter, 2, fbi_code_no, 2, title, 2, description, 2, crime_against, 3, iucr_no, 3, primary_description, 3, secondary_description, 3, index_code, 4, neighborhood_name, 4, community_area_no, 5, ward_no, 5, alderman_first_name, 5, alderman_last_name, 5, alderman_name_suffix, 5, ward_office_address, 5, ward_office_zip, 5, ward_email, 5, ward_office_phone, 5, ward_office_fax, 5, city_hall_office_room, 5, city_hall_office_phone, 5, city_hall_office_fax, 5, Population, 6, report_no, 6, case_number, 6, date, 6, block, 6, iucr_no, 6, location_description, 6, arrest, 6, domestic, 6, beat, 6, district_no, 6, ward_no, 6, community_area_no, 6, fbi_code_no, 6, latitude, 6, longitude
Question: Among the crimes in all the districts in Chicago, what is the percentage of them happening in the Central district?
Evidence: the Central district refers to district_name = 'Central'; percentage = divide(count(case_number where district_name = 'Central'), count(case_number)) * 100%
SQL: SELECT CAST(SUM(CASE WHEN T2.district_name = 'Central' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(T1.case_number) FROM Crime AS T1 INNER JOIN District AS T2 ON T1.district_no = T2.district_no
Database: chicago_crime
Tables: Community_Area, District, FBI_Code, IUCR, Neighborhood, Ward, Crime
Columns (table index, column name): -1, *, 0, community_area_no, 0, community_area_name, 0, side, 0, population, 1, district_no, 1, district_name, 1, address, 1, zip_code, 1, commander, 1, email, 1, phone, 1, fax, 1, tty, 1, twitter, 2, fbi_code_no, 2, title, 2, description, 2, crime_against, 3, iucr_no, 3, primary_description, 3, secondary_description, 3, index_code, 4, neighborhood_name, 4, community_area_no, 5, ward_no, 5, alderman_first_name, 5, alderman_last_name, 5, alderman_name_suffix, 5, ward_office_address, 5, ward_office_zip, 5, ward_email, 5, ward_office_phone, 5, ward_office_fax, 5, city_hall_office_room, 5, city_hall_office_phone, 5, city_hall_office_fax, 5, Population, 6, report_no, 6, case_number, 6, date, 6, block, 6, iucr_no, 6, location_description, 6, arrest, 6, domestic, 6, beat, 6, district_no, 6, ward_no, 6, community_area_no, 6, fbi_code_no, 6, latitude, 6, longitude
Question: How many community areas are in the Far North side?
Evidence: the Far North side refers to side = 'Far North'
SQL: SELECT COUNT(*) FROM Community_Area WHERE side = 'Far North '
Database: chicago_crime
Tables: Community_Area, District, FBI_Code, IUCR, Neighborhood, Ward, Crime
Columns (table index, column name): -1, *, 0, community_area_no, 0, community_area_name, 0, side, 0, population, 1, district_no, 1, district_name, 1, address, 1, zip_code, 1, commander, 1, email, 1, phone, 1, fax, 1, tty, 1, twitter, 2, fbi_code_no, 2, title, 2, description, 2, crime_against, 3, iucr_no, 3, primary_description, 3, secondary_description, 3, index_code, 4, neighborhood_name, 4, community_area_no, 5, ward_no, 5, alderman_first_name, 5, alderman_last_name, 5, alderman_name_suffix, 5, ward_office_address, 5, ward_office_zip, 5, ward_email, 5, ward_office_phone, 5, ward_office_fax, 5, city_hall_office_room, 5, city_hall_office_phone, 5, city_hall_office_fax, 5, Population, 6, report_no, 6, case_number, 6, date, 6, block, 6, iucr_no, 6, location_description, 6, arrest, 6, domestic, 6, beat, 6, district_no, 6, ward_no, 6, community_area_no, 6, fbi_code_no, 6, latitude, 6, longitude
Question: Who is the commander of Morgan Park district?
Evidence: Morgan Park district refers to district_name = 'Morgan Park'
SQL: SELECT commander FROM District WHERE district_name = 'Morgan Park'
Database: chicago_crime
Tables: Community_Area, District, FBI_Code, IUCR, Neighborhood, Ward, Crime
Columns (table index, column name): -1, *, 0, community_area_no, 0, community_area_name, 0, side, 0, population, 1, district_no, 1, district_name, 1, address, 1, zip_code, 1, commander, 1, email, 1, phone, 1, fax, 1, tty, 1, twitter, 2, fbi_code_no, 2, title, 2, description, 2, crime_against, 3, iucr_no, 3, primary_description, 3, secondary_description, 3, index_code, 4, neighborhood_name, 4, community_area_no, 5, ward_no, 5, alderman_first_name, 5, alderman_last_name, 5, alderman_name_suffix, 5, ward_office_address, 5, ward_office_zip, 5, ward_email, 5, ward_office_phone, 5, ward_office_fax, 5, city_hall_office_room, 5, city_hall_office_phone, 5, city_hall_office_fax, 5, Population, 6, report_no, 6, case_number, 6, date, 6, block, 6, iucr_no, 6, location_description, 6, arrest, 6, domestic, 6, beat, 6, district_no, 6, ward_no, 6, community_area_no, 6, fbi_code_no, 6, latitude, 6, longitude
Question: Where did case No. JB100065 happen? Give the name of the district.
Evidence: case No. JB100065 refers to case_number = 'JB100065'; name of the district refers to district_name
SQL: SELECT T1.district_name FROM District AS T1 INNER JOIN Crime AS T2 ON T1.district_no = T2.district_no WHERE T2.case_number = 'JB100065'
Database: chicago_crime
Tables: Community_Area, District, FBI_Code, IUCR, Neighborhood, Ward, Crime
Columns (table index, column name): -1, *, 0, community_area_no, 0, community_area_name, 0, side, 0, population, 1, district_no, 1, district_name, 1, address, 1, zip_code, 1, commander, 1, email, 1, phone, 1, fax, 1, tty, 1, twitter, 2, fbi_code_no, 2, title, 2, description, 2, crime_against, 3, iucr_no, 3, primary_description, 3, secondary_description, 3, index_code, 4, neighborhood_name, 4, community_area_no, 5, ward_no, 5, alderman_first_name, 5, alderman_last_name, 5, alderman_name_suffix, 5, ward_office_address, 5, ward_office_zip, 5, ward_email, 5, ward_office_phone, 5, ward_office_fax, 5, city_hall_office_room, 5, city_hall_office_phone, 5, city_hall_office_fax, 5, Population, 6, report_no, 6, case_number, 6, date, 6, block, 6, iucr_no, 6, location_description, 6, arrest, 6, domestic, 6, beat, 6, district_no, 6, ward_no, 6, community_area_no, 6, fbi_code_no, 6, latitude, 6, longitude
Question: Where is the coordinate (41.66236555, -87.63470194) located? Give the name of the district.
Evidence: coordinate (41.66236555, -87.63470194) refers to latitude = '41.66236555' AND longitude = '-87.63470194'; name of the district refers to district_name
SQL: SELECT T2.district_name FROM Crime AS T1 INNER JOIN District AS T2 ON T1.district_no = T2.district_no WHERE T1.longitude = '-87.63470194' AND T1.latitude = '41.66236555'
Database: chicago_crime
Tables: Community_Area, District, FBI_Code, IUCR, Neighborhood, Ward, Crime
Columns (table index, column name): -1, *, 0, community_area_no, 0, community_area_name, 0, side, 0, population, 1, district_no, 1, district_name, 1, address, 1, zip_code, 1, commander, 1, email, 1, phone, 1, fax, 1, tty, 1, twitter, 2, fbi_code_no, 2, title, 2, description, 2, crime_against, 3, iucr_no, 3, primary_description, 3, secondary_description, 3, index_code, 4, neighborhood_name, 4, community_area_no, 5, ward_no, 5, alderman_first_name, 5, alderman_last_name, 5, alderman_name_suffix, 5, ward_office_address, 5, ward_office_zip, 5, ward_email, 5, ward_office_phone, 5, ward_office_fax, 5, city_hall_office_room, 5, city_hall_office_phone, 5, city_hall_office_fax, 5, Population, 6, report_no, 6, case_number, 6, date, 6, block, 6, iucr_no, 6, location_description, 6, arrest, 6, domestic, 6, beat, 6, district_no, 6, ward_no, 6, community_area_no, 6, fbi_code_no, 6, latitude, 6, longitude
Question: Give the name of the person who was responsible for case No.JB524952.
Evidence: name of the person refers to commander; case No.JB524952 refers to case_number = 'JB524952'
SQL: SELECT T1.commander FROM District AS T1 INNER JOIN Crime AS T2 ON T1.district_no = T2.district_no WHERE T2.case_number = 'JB524952'
Database: chicago_crime
Tables: Community_Area, District, FBI_Code, IUCR, Neighborhood, Ward, Crime
Columns (table index, column name): -1, *, 0, community_area_no, 0, community_area_name, 0, side, 0, population, 1, district_no, 1, district_name, 1, address, 1, zip_code, 1, commander, 1, email, 1, phone, 1, fax, 1, tty, 1, twitter, 2, fbi_code_no, 2, title, 2, description, 2, crime_against, 3, iucr_no, 3, primary_description, 3, secondary_description, 3, index_code, 4, neighborhood_name, 4, community_area_no, 5, ward_no, 5, alderman_first_name, 5, alderman_last_name, 5, alderman_name_suffix, 5, ward_office_address, 5, ward_office_zip, 5, ward_email, 5, ward_office_phone, 5, ward_office_fax, 5, city_hall_office_room, 5, city_hall_office_phone, 5, city_hall_office_fax, 5, Population, 6, report_no, 6, case_number, 6, date, 6, block, 6, iucr_no, 6, location_description, 6, arrest, 6, domestic, 6, beat, 6, district_no, 6, ward_no, 6, community_area_no, 6, fbi_code_no, 6, latitude, 6, longitude
Question: How many simple assaults happened on 2018/9/8?
Evidence: simple assault refers to primary_description = 'ASSAULT'AND secondary_description = 'SIMPLE'; on 2018/9/8 refers to date like '%9/8/2018%'
SQL: SELECT SUM(CASE WHEN T2.secondary_description = 'SIMPLE' THEN 1 ELSE 0 END) FROM Crime AS T1 INNER JOIN IUCR AS T2 ON T1.iucr_no = T2.iucr_no WHERE T1.date LIKE '%9/8/2018%' AND T2.primary_description = 'ASSAULT'
Database: chicago_crime
Tables: Community_Area, District, FBI_Code, IUCR, Neighborhood, Ward, Crime
Columns (table index, column name): -1, *, 0, community_area_no, 0, community_area_name, 0, side, 0, population, 1, district_no, 1, district_name, 1, address, 1, zip_code, 1, commander, 1, email, 1, phone, 1, fax, 1, tty, 1, twitter, 2, fbi_code_no, 2, title, 2, description, 2, crime_against, 3, iucr_no, 3, primary_description, 3, secondary_description, 3, index_code, 4, neighborhood_name, 4, community_area_no, 5, ward_no, 5, alderman_first_name, 5, alderman_last_name, 5, alderman_name_suffix, 5, ward_office_address, 5, ward_office_zip, 5, ward_email, 5, ward_office_phone, 5, ward_office_fax, 5, city_hall_office_room, 5, city_hall_office_phone, 5, city_hall_office_fax, 5, Population, 6, report_no, 6, case_number, 6, date, 6, block, 6, iucr_no, 6, location_description, 6, arrest, 6, domestic, 6, beat, 6, district_no, 6, ward_no, 6, community_area_no, 6, fbi_code_no, 6, latitude, 6, longitude
Question: Which district had the most number of first degree murders? Give the district number.
Evidence: the most number refers to max(count(case_number)); first degree murder refers to secondary_description = 'FIRST DEGREE MURDER'; district number refers to district_no
SQL: SELECT T2.district_no FROM IUCR AS T1 INNER JOIN Crime AS T2 ON T1.iucr_no = T2.iucr_no WHERE T1.secondary_description = 'FIRST DEGREE MURDER' GROUP BY T2.district_no ORDER BY COUNT(*) DESC LIMIT 1
Database: chicago_crime
Tables: Community_Area, District, FBI_Code, IUCR, Neighborhood, Ward, Crime
Columns (table index, column name): -1, *, 0, community_area_no, 0, community_area_name, 0, side, 0, population, 1, district_no, 1, district_name, 1, address, 1, zip_code, 1, commander, 1, email, 1, phone, 1, fax, 1, tty, 1, twitter, 2, fbi_code_no, 2, title, 2, description, 2, crime_against, 3, iucr_no, 3, primary_description, 3, secondary_description, 3, index_code, 4, neighborhood_name, 4, community_area_no, 5, ward_no, 5, alderman_first_name, 5, alderman_last_name, 5, alderman_name_suffix, 5, ward_office_address, 5, ward_office_zip, 5, ward_email, 5, ward_office_phone, 5, ward_office_fax, 5, city_hall_office_room, 5, city_hall_office_phone, 5, city_hall_office_fax, 5, Population, 6, report_no, 6, case_number, 6, date, 6, block, 6, iucr_no, 6, location_description, 6, arrest, 6, domestic, 6, beat, 6, district_no, 6, ward_no, 6, community_area_no, 6, fbi_code_no, 6, latitude, 6, longitude
Question: How severe was case JB296775? Give the index code for severity.
Evidence: index code refers to iucr_no; case JB296775 refers to case_number = 'JB296775'
SQL: SELECT T2.iucr_no FROM Crime AS T1 INNER JOIN IUCR AS T2 ON T1.iucr_no = T2.iucr_no WHERE T1.case_number = 'JB296775'
Database: chicago_crime
Tables: Community_Area, District, FBI_Code, IUCR, Neighborhood, Ward, Crime
Columns (table index, column name): -1, *, 0, community_area_no, 0, community_area_name, 0, side, 0, population, 1, district_no, 1, district_name, 1, address, 1, zip_code, 1, commander, 1, email, 1, phone, 1, fax, 1, tty, 1, twitter, 2, fbi_code_no, 2, title, 2, description, 2, crime_against, 3, iucr_no, 3, primary_description, 3, secondary_description, 3, index_code, 4, neighborhood_name, 4, community_area_no, 5, ward_no, 5, alderman_first_name, 5, alderman_last_name, 5, alderman_name_suffix, 5, ward_office_address, 5, ward_office_zip, 5, ward_email, 5, ward_office_phone, 5, ward_office_fax, 5, city_hall_office_room, 5, city_hall_office_phone, 5, city_hall_office_fax, 5, Population, 6, report_no, 6, case_number, 6, date, 6, block, 6, iucr_no, 6, location_description, 6, arrest, 6, domestic, 6, beat, 6, district_no, 6, ward_no, 6, community_area_no, 6, fbi_code_no, 6, latitude, 6, longitude
Question: Give the name of the community area which had the most pocket-picking thefts.
Evidence: name of the community area refers to community_area_name; the most refers to max(case_number); pocket-picking theft refers to primary_description = 'THEFT' AND secondary_description = 'POCKET-PICKING'
SQL: SELECT T3.community_area_name FROM IUCR AS T1 INNER JOIN Crime AS T2 ON T1.iucr_no = T2.iucr_no INNER JOIN Community_Area AS T3 ON T2.community_area_no = T3.community_area_no WHERE T1.primary_description = 'THEFT' AND T1.secondary_description = 'POCKET-PICKING' GROUP BY T2.community_area_no ORDER BY T2.case_number DESC LIMIT 1
Database: chicago_crime
Tables: Community_Area, District, FBI_Code, IUCR, Neighborhood, Ward, Crime
Columns (table index, column name): -1, *, 0, community_area_no, 0, community_area_name, 0, side, 0, population, 1, district_no, 1, district_name, 1, address, 1, zip_code, 1, commander, 1, email, 1, phone, 1, fax, 1, tty, 1, twitter, 2, fbi_code_no, 2, title, 2, description, 2, crime_against, 3, iucr_no, 3, primary_description, 3, secondary_description, 3, index_code, 4, neighborhood_name, 4, community_area_no, 5, ward_no, 5, alderman_first_name, 5, alderman_last_name, 5, alderman_name_suffix, 5, ward_office_address, 5, ward_office_zip, 5, ward_email, 5, ward_office_phone, 5, ward_office_fax, 5, city_hall_office_room, 5, city_hall_office_phone, 5, city_hall_office_fax, 5, Population, 6, report_no, 6, case_number, 6, date, 6, block, 6, iucr_no, 6, location_description, 6, arrest, 6, domestic, 6, beat, 6, district_no, 6, ward_no, 6, community_area_no, 6, fbi_code_no, 6, latitude, 6, longitude
Question: Who was the alderman of the legislative district where case No. JB103470 took place? Give the full name.
Evidence: case No. JB103470 refers to case_number = 'JB103470'; full name refers to alderman_first_name, alderman_last_name
SQL: SELECT T1.alderman_first_name, T1.alderman_last_name FROM Ward AS T1 INNER JOIN Crime AS T2 ON T1.ward_no = T2.ward_no WHERE T2.case_number = 'JB103470'
Database: chicago_crime
Tables: Community_Area, District, FBI_Code, IUCR, Neighborhood, Ward, Crime
Columns (table index, column name): -1, *, 0, community_area_no, 0, community_area_name, 0, side, 0, population, 1, district_no, 1, district_name, 1, address, 1, zip_code, 1, commander, 1, email, 1, phone, 1, fax, 1, tty, 1, twitter, 2, fbi_code_no, 2, title, 2, description, 2, crime_against, 3, iucr_no, 3, primary_description, 3, secondary_description, 3, index_code, 4, neighborhood_name, 4, community_area_no, 5, ward_no, 5, alderman_first_name, 5, alderman_last_name, 5, alderman_name_suffix, 5, ward_office_address, 5, ward_office_zip, 5, ward_email, 5, ward_office_phone, 5, ward_office_fax, 5, city_hall_office_room, 5, city_hall_office_phone, 5, city_hall_office_fax, 5, Population, 6, report_no, 6, case_number, 6, date, 6, block, 6, iucr_no, 6, location_description, 6, arrest, 6, domestic, 6, beat, 6, district_no, 6, ward_no, 6, community_area_no, 6, fbi_code_no, 6, latitude, 6, longitude
Question: Give the neighborhood name of West Englewood community.
Evidence: West Englewood community refers to community_area_name = 'West Englewood'
SQL: SELECT T1.neighborhood_name FROM Neighborhood AS T1 INNER JOIN Community_Area AS T2 ON T1.community_area_no = T2.community_area_no WHERE T2.community_area_name = 'West Englewood'
Database: chicago_crime
Tables: Community_Area, District, FBI_Code, IUCR, Neighborhood, Ward, Crime
Columns (table index, column name): -1, *, 0, community_area_no, 0, community_area_name, 0, side, 0, population, 1, district_no, 1, district_name, 1, address, 1, zip_code, 1, commander, 1, email, 1, phone, 1, fax, 1, tty, 1, twitter, 2, fbi_code_no, 2, title, 2, description, 2, crime_against, 3, iucr_no, 3, primary_description, 3, secondary_description, 3, index_code, 4, neighborhood_name, 4, community_area_no, 5, ward_no, 5, alderman_first_name, 5, alderman_last_name, 5, alderman_name_suffix, 5, ward_office_address, 5, ward_office_zip, 5, ward_email, 5, ward_office_phone, 5, ward_office_fax, 5, city_hall_office_room, 5, city_hall_office_phone, 5, city_hall_office_fax, 5, Population, 6, report_no, 6, case_number, 6, date, 6, block, 6, iucr_no, 6, location_description, 6, arrest, 6, domestic, 6, beat, 6, district_no, 6, ward_no, 6, community_area_no, 6, fbi_code_no, 6, latitude, 6, longitude
Question: How many different neighborhoods are there in Roseland community?
Evidence: Roseland community refers to community_area_name = 'Roseland'
SQL: SELECT SUM(CASE WHEN T1.community_area_name = 'Roseland' THEN 1 ELSE 0 END) FROM Community_Area AS T1 INNER JOIN Neighborhood AS T2 ON T1.community_area_no = T2.community_area_no