Skip to content

Commit

Permalink
Formatting on sample SQL query
Browse files Browse the repository at this point in the history
  • Loading branch information
mheadd committed Oct 1, 2013
1 parent 02494c9 commit 6cd0be4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions city-of-philadelphia/utilities/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,17 @@

A simple import script to populate a MySQL database with flu shot location data.

<center>
<a href="http://www.youtube.com/watch?feature=player_embedded&v=VTvBpGTDJ00
" target="_blank"><img src="http://img.youtube.com/vi/VTvBpGTDJ00/0.jpg"
alt="Video tutorial on using fu shot data" width="240" height="180" border="10" /></a>
</center>

## Sample SQL query

<pre>
<code>
SELECT facility_name, facility_type, street1, latitude, longitude, eligibility, cost, currency_code FROM locations
WHERE current_date() >= date(begin_date) and current_date() <= date(end_date)
AND current_time() >= time(begin_time) and current_time() <= time(end_time)
ORDER BY cost DESC;
</pre>
</code>

0 comments on commit 6cd0be4

Please sign in to comment.