I have a table "poem" with fields "dated","content" etc.

I want to get the content of the recent dated field. 

```
$sql="select content, max(dated) as latestDate from poem";

```

This is not working.