Table: police_killed_in_duty
Columns: 1900s
1920s
1930s
1940s
1950s
1960s
1970s
1980s
1990s
2000s_to_date
total_to_date

Question: What was the lowest total in the 1980s that was larger than 2?
SQL: SELECT MIN("total_to_date") FROM police_killed_in_duty WHERE "1980s" > 2

Question: What is the average for the 1990s with a total of 1, and 0 in the 1980s?
SQL: SELECT AVG("1990s") FROM police_killed_in_duty WHERE "total_to_date" = 1 AND "1980s" < 0

Question: What is the sum for the 2000s to date that has 0 in the 1920s?
SQL: SELECT SUM("2000s_to_date") FROM police_killed_in_duty WHERE "1920s" < 0

Question: What is the total number in the 1920s that has 0 in the 1960s, and less than 4 in the 2000s, and more than 3 in the 1930s?
SQL: SELECT COUNT("1920s") FROM police_killed_in_duty WHERE "1960s" = 0 AND "2000s_to_date" < 4 AND "1930s" > 3

Question: What was the sum for the 1990s, that has 0 in the 1900s?
SQL: SELECT SUM("1990s") FROM police_killed_in_duty WHERE "1900s" < 0

Question: What was the lowest in the 1930s, has more than 1 in the 1940s, 0 in the 1990s, and a total to date of less than 17?
SQL: SELECT MIN("1930s") FROM police_killed_in_duty WHERE "1940s" > 1 AND "1990s" < 1 AND "total_to_date" < 17