第一种办法:
SELECT MAX(fenshu) AS second_fenshu FROM fenshubiao WHERE fenshu<(SELECT MAX(fenshu) FROM fenshubiao); SELECT * FROM fenshubiao;
第二种办法;
SELECT DISTINCT IFNULL ( (SELECT fenshu FROM fenshubiao ORDER BY fenshu DESC LIMIT 1,1 ), NULL ) AS second_fenshu ;