Chinastark/bird_dataset huggingface dataset:
Database: chicago_crime
Note: 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;
Question: More crimes happened in which community area in January, 2018, Woodlawn or Lincoln Square?
SQL: SELECT community_area.community_area_name FROM community_area INNER JOIN crime ON community_area.community_area_no = crime.community_area_no WHERE community_area.community_area_name IN ('Woodlawn', 'Lincoln Square') AND crime.date LIKE '%1/2018%' GROUP BY community_area.community_area_name ORDER BY count(community_area.community_area_name) DESC LIMIT 1
Database: chicago_crime
Note: 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%';
Question: What is the fax number for the district with the most number of crimes in January, 2018?
SQL: SELECT district.fax FROM district INNER JOIN crime ON district.district_no = crime.district_no WHERE crime.date LIKE '%1/2018%' GROUP BY crime.district_no ORDER BY count(case_number) DESC LIMIT 1
Database: chicago_crime
Note: Central Chicago refers to side = 'Central'; average number = divide(count(report_no), count(community_area_no));
Question: What is the average number of crimes in a neighborhood in Central Chicago?
SQL: SELECT cast(count(crime.report_no) AS REAL) / count(community_area.community_area_no) FROM crime INNER JOIN community_area ON crime.community_area_no = community_area.community_area_no WHERE community_area.side = 'Central'
Database: chicago_crime
Note: the Central district refers to district_name = 'Central'; percentage = divide(count(case_number where district_name = 'Central'), count(case_number)) * 100%;
Question: Among the crimes in all the districts in Chicago, what is the percentage of them happening in the Central district?
SQL: SELECT cast(sum(CASE WHEN district.district_name = 'Central' THEN 1 ELSE 0 END) AS REAL) * 100 / count(crime.case_number) FROM crime INNER JOIN district ON crime.district_no = district.district_no
Database: chicago_crime
Note: the Far North side refers to side = 'Far North';
Question: How many community areas are in the Far North side?
SQL: SELECT count(*) FROM community_area WHERE side = 'Far North '
Database: chicago_crime
Note: Morgan Park district refers to district_name = 'Morgan Park';
Question: Who is the commander of Morgan Park district?
SQL: SELECT commander FROM district WHERE district_name = 'Morgan Park'
Database: chicago_crime
Note: case No. JB100065 refers to case_number = 'JB100065'; name of the district refers to district_name;
Question: Where did case No. JB100065 happen? Give the name of the district.
SQL: SELECT district.district_name FROM district INNER JOIN crime ON district.district_no = crime.district_no WHERE crime.case_number = 'JB100065'
Database: chicago_crime
Note: coordinate (41.66236555, -87.63470194) refers to latitude = '41.66236555' AND longitude = '-87.63470194'; name of the district refers to district_name;
Question: Where is the coordinate (41.66236555, -87.63470194) located? Give the name of the district.
SQL: SELECT district.district_name FROM crime INNER JOIN district ON crime.district_no = district.district_no WHERE crime.longitude = '-87.63470194' AND crime.latitude = '41.66236555'
Database: chicago_crime
Note: name of the person refers to commander; case No.JB524952 refers to case_number = 'JB524952';
Question: Give the name of the person who was responsible for case No.JB524952.
SQL: SELECT district.commander FROM district INNER JOIN crime ON district.district_no = crime.district_no WHERE crime.case_number = 'JB524952'
Database: chicago_crime
Note: simple assault refers to primary_description = 'ASSAULT'AND secondary_description = 'SIMPLE'; on 2018/9/8 refers to date like '%9/8/2018%';
Question: How many simple assaults happened on 2018/9/8?
SQL: SELECT sum(CASE WHEN iucr.secondary_description = 'SIMPLE' THEN 1 ELSE 0 END) FROM crime INNER JOIN iucr ON crime.iucr_no = iucr.iucr_no WHERE crime.date LIKE '%9/8/2018%' AND iucr.primary_description = 'ASSAULT'
Database: chicago_crime
Note: 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;
Question: Which district had the most number of first degree murders? Give the district number.
SQL: SELECT crime.district_no FROM iucr INNER JOIN crime ON iucr.iucr_no = crime.iucr_no WHERE iucr.secondary_description = 'FIRST DEGREE MURDER' GROUP BY crime.district_no ORDER BY count(*) DESC LIMIT 1
Database: chicago_crime
Note: index code refers to iucr_no; case JB296775 refers to case_number = 'JB296775';
Question: How severe was case JB296775? Give the index code for severity.
SQL: SELECT iucr.iucr_no FROM crime INNER JOIN iucr ON crime.iucr_no = iucr.iucr_no WHERE crime.case_number = 'JB296775'
Database: chicago_crime
Note: 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';
Question: Give the name of the community area which had the most pocket-picking thefts.
SQL: SELECT community_area.community_area_name FROM iucr INNER JOIN crime ON iucr.iucr_no = crime.iucr_no INNER JOIN community_area ON crime.community_area_no = community_area.community_area_no WHERE iucr.primary_description = 'THEFT' AND iucr.secondary_description = 'POCKET-PICKING' GROUP BY crime.community_area_no ORDER BY crime.case_number DESC LIMIT 1
Database: chicago_crime
Note: case No. JB103470 refers to case_number = 'JB103470'; full name refers to alderman_first_name, alderman_last_name;
Question: Who was the alderman of the legislative district where case No. JB103470 took place? Give the full name.
SQL: SELECT ward.alderman_first_name, ward.alderman_last_name FROM ward INNER JOIN crime ON ward.ward_no = crime.ward_no WHERE crime.case_number = 'JB103470'
Database: chicago_crime
Note: West Englewood community refers to community_area_name = 'West Englewood';
Question: Give the neighborhood name of West Englewood community.
SQL: SELECT neighborhood.neighborhood_name FROM neighborhood INNER JOIN community_area ON neighborhood.community_area_no = community_area.community_area_no WHERE community_area.community_area_name = 'West Englewood'
Database: chicago_crime
Note: Roseland community refers to community_area_name = 'Roseland';
Question: How many different neighborhoods are there in Roseland community?
SQL: SELECT sum(CASE WHEN community_area.community_area_name = 'Roseland' THEN 1 ELSE 0 END) FROM community_area INNER JOIN neighborhood ON community_area.community_area_no = neighborhood.community_area_no
Database: chicago_crime
Note: case No.JB134191 refers to case_number = 'JB134191';
Question: Give the FBI code description of case No.JB134191.
SQL: SELECT description FROM crime INNER JOIN fbi_code ON crime.fbi_code_no = fbi_code.fbi_code_no WHERE crime.case_number = 'JB134191'
Database: chicago_crime
Note: number of cases refers to count(case_number); arrest refers to arrest = 'TRUE'; North Lawndale community refers to community_area_name = 'North Lawndale';
Question: Tell the number of cases with arrests in North Lawndale community.
SQL: SELECT sum(CASE WHEN community_area.community_area_name = 'North Lawndale' THEN 1 ELSE 0 END) FROM community_area INNER JOIN crime ON community_area.community_area_no = crime.community_area_no WHERE crime.arrest = 'TRUE'
Database: chicago_crime
Note: under $500 refers to secondary_description = '$500 AND UNDER'; theft refers to primary_description = 'THEFT'; West Englewood refers to community_area_name = 'West Englewood'; percentage = divide(count(case_number where secondary_description = '$500 AND UNDER'), count(case_number)) where primary_description = 'THEFT' and community_area_name = 'West Englewood' * 100%;
Question: What is the percentage of under $500 thefts among all cases that happened in West Englewood?
SQL: SELECT cast(sum(CASE WHEN iucr.secondary_description = '$500 AND UNDER' THEN 1 ELSE 0 END) AS REAL) * 100 / count(crime.case_number) FROM crime INNER JOIN iucr ON crime.iucr_no = iucr.iucr_no INNER JOIN community_area ON crime.community_area_no = community_area.community_area_no WHERE iucr.primary_description = 'THEFT' AND community_area.community_area_name = 'West Englewood'
Database: chicago_crime
Note: larceny case refers to title = 'Larceny'; Edgewater community refers to community_area_name = 'Edgewater'; percentage = divide(count(case_number where title = 'Larceny'), count(case_number)) where community_area_name = 'Edgewater' * 100%;
Question: What is the percentage of larceny cases among all cases that happened in Edgewater community?
SQL: SELECT cast(sum(CASE WHEN fbi_code.title = 'Larceny' THEN 1 ELSE 0 END) AS REAL) * 100 / count(crime.case_number) FROM community_area INNER JOIN crime ON community_area.community_area_no = crime.community_area_no INNER JOIN fbi_code ON crime.fbi_code_no = fbi_code.fbi_code_no WHERE community_area.community_area_name = 'Edgewater'
Database: chicago_crime
Note: in May 2018 refers to date LIKE '5/%/2018%';
Question: How many crimes were committed at 018XX S KOMENSKY AVEin May 2018?
SQL: SELECT sum(CASE WHEN date LIKE '5/%/2018%' THEN 1 ELSE 0 END) FROM crime WHERE BLOCK = '018XX S KOMENSKY AVE'
Database: chicago_crime
Note: name of the community refers to community_area_name; the highest population refers to max(population);
Question: What is the name of the community with the highest population?
SQL: SELECT community_area_name FROM community_area ORDER BY population DESC LIMIT 1
Database: chicago_crime
Note: domestic violence refers to domestic = 'TRUE'; in an abandoned building refers to location_description = 'ABANDONED BUILDING'; in 2018 refers to date LIKE '%2018%';
Question: How many incidents of domestic violence occurred in an abandoned building in 2018?
SQL: SELECT sum(CASE WHEN location_description = 'ABANDONED BUILDING' THEN 1 ELSE 0 END) FROM crime WHERE date LIKE '%2018%' AND domestic = 'TRUE'
Database: chicago_crime
Note: the least population refers = min(sum(population));
Question: What is the population of the district with the least population?
SQL: SELECT sum(population) FROM community_area GROUP BY side ORDER BY sum(population) LIMIT 1
Database: chicago_crime
Note: arrest refers to arrest = 'TRUE'; in 2018 refers to date LIKE '%2018%'; in an animal hospital refers to location_description = 'ANIMAL HOSPITAL'; FBI code 08B refers to fbi_code_no = '08B';
Question: How many arrests were made in 2018 in an animal hospital under FBI code 08B?
SQL: SELECT sum(CASE WHEN arrest = 'TRUE' THEN 1 ELSE 0 END) FROM crime WHERE date LIKE '%2018%' AND location_description = 'ANIMAL HOSPITAL' AND fbi_code_no = '08B'
Database: chicago_crime
Note: crime against society refers to crime_against = 'Society';
Question: Give the detailed description of all the crimes against society.
SQL: SELECT description FROM fbi_code WHERE crime_against = 'Society'
Database: chicago_crime
Note: commanding officer refers to commander; the highest number refers to max(count(district_no)); disorderly conduct refers to title = 'Disorderly Conduct';
Question: Who is the commanding officer in the district with the highest number of disorderly conduct?
SQL: SELECT district.commander FROM district INNER JOIN crime ON district.district_no = crime.district_no INNER JOIN fbi_code ON crime.fbi_code_no = fbi_code.fbi_code_no WHERE fbi_code.title = 'Disorderly Conduct' AND crime.fbi_code_no = 24 GROUP BY crime.fbi_code_no ORDER BY count(district.district_no) DESC LIMIT 1
Database: chicago_crime
Note: crime refers to title; committed the most refers to max(fbi_code_no);
Question: Which crime was committed the most by criminals?
SQL: SELECT fbi_code.title FROM crime INNER JOIN fbi_code ON crime.fbi_code_no = fbi_code.fbi_code_no ORDER BY fbi_code.fbi_code_no DESC LIMIT 1
Database: chicago_crime
Note: Albany Park refers to district_name = 'Albany Park'; in an apartment refers to location_description = 'APARTMENT'; criminal sexual abuse refers to title = 'Criminal Sexual Abuse';
Question: In Albany Park, how many arrests were made in an apartment due to criminal sexual abuse?
SQL: SELECT sum(CASE WHEN fbi_code.title = 'Criminal Sexual Abuse' THEN 1 ELSE 0 END) FROM district INNER JOIN crime ON district.district_no = crime.district_no INNER JOIN fbi_code ON crime.fbi_code_no = fbi_code.fbi_code_no WHERE district.district_name = 'Albany Park' AND crime.arrest = 'TRUE' AND crime.location_description = 'APARTMENT'
Database: chicago_crime
Note: precise location or coordinate refers to latitude, longitude; most refers to fbi_code_no = 3; robbery refers to title = 'Robbery'; Rogers Park refers to community_area_name = 'Rogers Park';
Question: What is the precise location or coordinate where most of the robberies in Rogers Park occurred?
SQL: SELECT crime.latitude, crime.longitude FROM community_area INNER JOIN crime ON community_area.community_area_no = crime.community_area_no INNER JOIN fbi_code ON crime.fbi_code_no = fbi_code.fbi_code_no WHERE community_area.community_area_name = 'Rogers Park' AND fbi_code.title = 'Robbery' AND fbi_code.fbi_code_no = 3
Database: chicago_crime
Note: solicit on public way prostitution crime refers to secondary_description = 'SOLICIT ON PUBLIC WAY' AND primary_description = 'PROSTITUTION'; arrested refers to arrest = 'TRUE'; West Garfield Park refers to community_area_name = 'West Garfield Park';
Question: How many solicit on public way prostitution crimes were arrested in West Garfield Park?
SQL: SELECT sum(CASE WHEN crime.arrest = 'TRUE' THEN 1 ELSE 0 END) FROM community_area INNER JOIN crime ON community_area.community_area_no = crime.community_area_no INNER JOIN iucr ON crime.iucr_no = iucr.iucr_no WHERE community_area.community_area_name = 'West Garfield Park' AND iucr.secondary_description = 'SOLICIT ON PUBLIC WAY' AND iucr.primary_description = 'PROSTITUTION'
Database: chicago_crime
Note: the most populated refers to max(population); domestic violence refers to domestic = 'TRUE'; in a bar or tavern refers to location_description = 'BAR OR TAVERN';
Question: In the most populated ward, how many incidents of domestic violence were reported in a bar or tavern?
SQL: SELECT count(crime.report_no) FROM ward INNER JOIN crime ON ward.ward_no = crime.ward_no WHERE crime.domestic = 'TRUE' AND crime.location_description = 'BAR OR TAVERN' ORDER BY ward.population DESC LIMIT 1
Database: chicago_crime
Note: Near North side refers to community_area_name = 'Near North side';
Question: How many neighborhoods are there in Near North Side?
SQL: SELECT sum(CASE WHEN community_area.community_area_name = 'Near North Side' THEN 1 ELSE 0 END) FROM community_area INNER JOIN neighborhood ON community_area.community_area_no = neighborhood.community_area_no
Database: chicago_crime
Note: domestic violence refers to domestic = 'TRUE'; arrested refers to arrest = 'TRUE';
Question: Out of all the incidents of domestic violence reported at the ward represented by alderman Walter Burnett Jr., how many were arrested?
SQL: SELECT sum(CASE WHEN crime.arrest = 'TRUE' THEN 1 ELSE 0 END) FROM ward INNER JOIN crime ON ward.ward_no = crime.ward_no WHERE ward.alderman_first_name = 'Walter' AND ward.alderman_last_name = 'Burnett' AND alderman_name_suffix = 'Jr.' AND crime.domestic = 'TRUE'
Database: chicago_crime
Note: short description refers to title; committed the most refers to max(fbi_code_no); the least populated community refers to min(population);
Question: What is the short description of the crime committed the most by criminals in the least populated community?
SQL: SELECT fbi_code.title FROM community_area INNER JOIN crime ON community_area.community_area_no = crime.community_area_no INNER JOIN fbi_code ON crime.fbi_code_no = fbi_code.fbi_code_no GROUP BY fbi_code.title ORDER BY community_area.population ASC, fbi_code.fbi_code_no DESC LIMIT 1
Database: chicago_crime
Note: the legislative district's office address refers to ward_office_address; 010XX W LAKE ST refers to block = '010XX W LAKE ST';
Question: What is the legislative district's office address where 010XX W LAKE ST is located?
SQL: SELECT ward.ward_office_address FROM ward INNER JOIN crime ON ward.ward_no = crime.ward_no WHERE crime.block = '010XX W LAKE ST' GROUP BY ward.ward_office_address
Database: chicago_crime
Note: name of the community refers to community_area_name; the highest number of crimes refers to max(case_number); prostitution refers to primary_description = 'PROSTITUTION';
Question: What is the name of the community that has the highest number of crimes related to prostitution?
SQL: SELECT community_area.community_area_name FROM crime INNER JOIN iucr ON crime.iucr_no = iucr.iucr_no INNER JOIN community_area ON crime.community_area_no = community_area.community_area_no WHERE iucr.primary_description = 'PROSTITUTION' GROUP BY crime.iucr_no ORDER BY crime.case_number DESC LIMIT 1
Database: chicago_crime
Note: vandalism refers to title = 'Vandalism'; arrested refers to arrest = 'TRUE';
Question: How many vandalisms were arrested in the ward represented by Edward Burke?
SQL: SELECT sum(CASE WHEN ward.alderman_last_name = 'Burke' THEN 1 ELSE 0 END) FROM ward INNER JOIN crime ON ward.ward_no = crime.ward_no INNER JOIN fbi_code ON crime.fbi_code_no = fbi_code.fbi_code_no WHERE fbi_code.title = 'Vandalism' AND crime.arrest = 'TRUE' AND ward.alderman_first_name = 'Edward'
Database: chicago_crime
Note: domestic violence refers to domestic = 'TRUE'; in May 2018 refers to date LIKE '5/%/2018%';
Question: How many domestic violence cases were reported in May 2018?
SQL: SELECT count(*) FROM crime WHERE date LIKE '5/%/2018%' AND domestic = 'TRUE'
Database: chicago_crime
Note: index status refers to index_code; homicide incident refers to primary_description = 'HOMICIDE';
Question: List the IUCR numbers and index status of homicide incidents.
SQL: SELECT index_code FROM iucr WHERE primary_description = 'HOMICIDE'
Database: chicago_crime
Note: responsible person refers to commander; email address refers to email; Chicago Lawn refers to district_name = 'Chicago Lawn';
Question: Provide the responsible person and his/her email address of Chicago Lawn.
SQL: SELECT commander, email FROM district WHERE district_name = 'Chicago Lawn'
Database: chicago_crime
Note: alderman's full name refers to alderman_name_suffix, alderman_first_name, alderman_last_name; the most crowded refers to max(population);
Question: What is the alderman's full name of the most crowded ward?
SQL: SELECT alderman_name_suffix, alderman_first_name, alderman_last_name FROM ward ORDER BY population DESC LIMIT 1
Database: chicago_crime
Note: the Northwest refers to side = 'Northwest';
Question: List the community area names in the Northwest.
SQL: SELECT community_area_name FROM community_area WHERE side = 'Northwest'
Database: chicago_crime
Note: crime case against persons refers to crime_against = 'Persons';
Question: List down the titles and descriptions of the crimes cases against persons.
SQL: SELECT title, description FROM fbi_code WHERE crime_against = 'Persons'
Database: chicago_crime
Note: specific description refers to secondary_description; location refers to latitude, longitude; iucr 142 refers to iucr_no = 142;
Question: Describe the specific description and case locations under IUCR 142.
SQL: SELECT iucr.secondary_description, crime.latitude, crime.longitude FROM iucr INNER JOIN crime ON iucr.iucr_no = crime.iucr_no WHERE crime.iucr_no = 142
Database: chicago_crime
Note: 7th October 2018 refers to date like '10/7/2018%';
Question: How many crimes were handled by Brendan Reilly on 7th October 2018?
SQL: SELECT sum(CASE WHEN ward.alderman_last_name = 'Reilly' THEN 1 ELSE 0 END) FROM crime INNER JOIN ward ON crime.ward_no = ward.ward_no WHERE ward.alderman_name_suffix IS NULL AND ward.alderman_first_name = 'Brendan' AND date LIKE '10/7/2018%'
Database: chicago_crime
Note: arrested refers to arrest = 'TRUE'; restaurant refers to location_description = 'RESTAURANT'; Englewood refers to district_name = 'Englewood';
Question: How many cases have been arrested among the crimes that happened in the restaurant of Englewood?
SQL: SELECT sum(CASE WHEN crime.arrest = 'TRUE' THEN 1 ELSE 0 END) FROM crime INNER JOIN district ON crime.district_no = district.district_no WHERE district.district_name = 'Englewood' AND crime.location_description = 'RESTAURANT'
Database: chicago_crime
Note: aldermen's full name refers to alderman_name_suffix, alderman_first_name, alderman_last_name; 0000X N FRANCISCO AVE refers to block = '0000X N FRANCISCO AVE';
Question: Provide case numbers, aldermen's full names, and district names of the crimes that happened in 0000X N FRANCISCO AVE.
SQL: SELECT crime.case_number, ward.alderman_first_name, ward.alderman_last_name, district.district_name FROM district INNER JOIN crime ON district.district_no = crime.district_no INNER JOIN ward ON crime.ward_no = ward.ward_no WHERE crime.block = '0000X N FRANCISCO AVE' GROUP BY crime.case_number, ward.alderman_first_name, ward.alderman_last_name, district.district_name
Database: chicago_crime
Note: Misc Non-Index Offense refers to title = 'Misc Non-Index Offense';
Question: How many crimes were Misc Non-Index Offense?
SQL: SELECT sum(CASE WHEN fbi_code.title = 'Misc Non-Index Offense' THEN 1 ELSE 0 END) FROM fbi_code INNER JOIN crime ON crime.fbi_code_no = fbi_code.fbi_code_no
Database: chicago_crime
Note: neighborhood area refers to neighborhood_name; Douglas refers to community_area_name = 'Douglas';
Question: List down the neighborhood areas of Douglas.
SQL: SELECT neighborhood.neighborhood_name FROM community_area INNER JOIN neighborhood ON neighborhood.community_area_no = community_area.community_area_no WHERE community_area.community_area_name = 'Douglas'
Database: chicago_crime
Note: the highest populous refers to max(population); average crime rate per month = divide(count(report_no where population = max(population)), 12);
Question: Calculate the average crime rate per month in the highest populous area.
SQL: SELECT cast(count(crime.report_no) AS REAL) / 12 FROM community_area INNER JOIN crime ON crime.community_area_no = community_area.community_area_no GROUP BY community_area.community_area_no HAVING count(community_area.population) ORDER BY count(community_area.population) LIMIT 1
Database: chicago_crime
Note: Central refers to side = 'Central'; larceny refers to title = 'Larceny'; percentage = divide(count(report_no where title = 'Larceny'), count(report_no)) where side = 'Central' * 100%;
Question: Among the crimes in the Central, calculate the percentage of larceny incidents.
SQL: SELECT cast(count(CASE WHEN fbi_code.title = 'Larceny' THEN crime.report_no END) AS REAL) * 100 / count(crime.report_no) FROM community_area INNER JOIN crime ON crime.community_area_no = community_area.community_area_no INNER JOIN fbi_code ON fbi_code.fbi_code_no = crime.fbi_code_no WHERE community_area.side = 'Central'
Database: chicago_crime
Note: aldermen's full name refers to alderman_name_suffix, alderman_first_name, alderman_last_name; arson by explosive refers to primary_description = 'ARSON' AND secondary_description = 'BY EXPLOSIVE';
Question: List the location descriptions and aldermen's full names of the arson by explosive.
SQL: SELECT crime.location_description, ward.alderman_first_name, ward.alderman_last_name, ward.alderman_name_suffix FROM ward INNER JOIN crime ON crime.ward_no = ward.ward_no INNER JOIN iucr ON iucr.iucr_no = crime.iucr_no WHERE iucr.primary_description = 'ARSON' AND iucr.secondary_description = 'BY EXPLOSIVE'
Database: chicago_crime
Note: location refers to latitude, longitude; deceptive practice refers to primary_description = 'DECEPTIVE PRACTICE'; unlawful use of recorded sound refers to secondary_description = 'UNLAWFUL USE OF RECORDED SOUND';
Question: Provide the occurrence date and location of the deceptive practice due to the unlawful use of recorded sound.
SQL: SELECT crime.date, crime.latitude, crime.longitude FROM iucr INNER JOIN crime ON crime.iucr_no = iucr.iucr_no WHERE iucr.primary_description = 'DECEPTIVE PRACTICE' AND iucr.secondary_description = 'UNLAWFUL USE OF RECORDED SOUND'