I'm a noob to MySQL and have a question. How would I format the date taken from a column? 

My code is `$row = $wpdb->get_results("select * from wp_miles");`

```
foreach ( $row as $row ) { echo "$row->mile_history on $row->date<BR>";}

```

it's obviously the `$row->date` I want to change from `2016-02-13` to `M j`. Thanks