1.GREATEST(n1,n2,n3,..........) 获取最大值 testdb=#SELECT GREATEST(,,,,,,,,,); +---------------------------------------------------------+ | GREATEST(,,,,,,,,,) | +---------------------------------------------------------+ | | +---------------------------