我希望能够从数据库的内部选择中订购列表。我的代码:
$sql = "SELECT * from `users` WHERE `name` in (select `last` from info where `date` = '2013' ORDER BY `id` DESC)";
我希望能够从 tablelast
而不是users
.
我希望能够从数据库的内部选择中订购列表。我的代码:
$sql = "SELECT * from `users` WHERE `name` in (select `last` from info where `date` = '2013' ORDER BY `id` DESC)";
我希望能够从 tablelast
而不是users
.