📅  最后修改于: 2020-12-02 01:59:15             🧑  作者: Mango
SQL Server MIN()函数用于返回表达式的最小值。
句法:
SELECT MIN(aggregate_expression)
FROM tables
[WHERE conditions];
例:
选择“雇员”表并获取该表的最低工资。
SELECT MIN(salary) AS "Lowest Salary"
FROM Employees;
输出: