Skip to content

Commit

Permalink
adding more queries to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcnc committed Aug 18, 2017
1 parent efb7888 commit 42317ef
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,11 @@ select issue_type, count(*) as num_calls from nola311.calls group by issue_type

-- which council district has the most calls?
select council_district, count(*) as num_calls from nola311.calls group by council_district order by num_calls desc;

-- how many pothole calls have been opened and closed this year?
select ticket_status, count(*) as total from nola311.calls where issue_type = 'Pothole/Roadway Surface Repair' and ticket_created_date_time >= '2017-01-01'::date group by ticket_status;

--- dont forget to checkout the views

select * from open_tickets_stats where issue_type = 'Catch Basin Maintenance' and year_created = '2017';
```

0 comments on commit 42317ef

Please sign in to comment.