mysql> select * from message where id = (select max(id) from message);
+----+------+---------+---------------------+
| id | name | content | time |
+----+------+---------+---------------------+
| 1 | Joe | 你好 | 2013-11-13 17:10:05 |
+----+------+---------+---------------------+