标签:最大值 sql from count user 数据 字段 where 指定
---------------------------查找最大值-------------------------------------
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);
标签:最大值 sql from count user 数据 字段 where 指定
原文地址:http://www.cnblogs.com/leeliwenBlog/p/6369297.html