Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
一些集合函数仅对某些类型的数据有意义。例如,只能将 SUM 和 AVG 与数字类型的列一起使用。
不过,可以使用 MIN 求出字符列中的最小值,即距离字母表的开头最近的值:
SELECT MIN( Surname ) FROM Contacts;