时间:2021-07-01 10:21:17 帮助过:20人阅读
$database->select("account", "user_id", [
"GROUP" => "type",
// "ORDER" => "age DESC"
"ORDER" => "age",
// Must have to use it with ORDER together
"HAVING" => [
"user_id[>]" => 500
],
// LIMIT => 20
"LIMIT" => [20, 100]
]);
// SELECT user_id FROM account
// GROUP BY type
// ORDER BY age
// HAVING user_id > 500
// LIMIT 20,100