---------------------------查找最大值-------------------------------------
SELECT T.*
FROM JO_USER T
WHERE T.LOGIN_COUNT = (SELECT MAX(T.LOGIN_COUNT) FROM JO_USER T);
---------------------------查找最小值-------------------------------------
SELECT T.*
FROM JO_USER T
WHERE T.LOGIN_COUNT = (SELECT MIN(T.LOGIN_COUNT) FROM JO_USER T);
时间: 2024-08-25 17:17:38