📜  从数据库中获取最新的数据限制 5 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:14.539000             🧑  作者: Mango

代码示例1
$result = mysql_query("SELECT * FROM notes WHERE note_author_id='$u_id' ORDER BY date_time DESC LIMIT 0, 10");