这里主要用到到的是mysql的least 和 greatest函数,如下
select '1.1.1.', least(2,3,4,5,89) from dual;
select '1.1.1.1' as ip, greatest(2,3,4,5,89) from dual;
结果如下:
这里主要用到到的是mysql的least 和 greatest函数,如下
select '1.1.1.', least(2,3,4,5,89) from dual;
select '1.1.1.1' as ip, greatest(2,3,4,5,89) from dual;
结果如下: