🌈 搜索
📅  最后修改于: 2022-03-11 15:05:20.247000             🧑  作者: Mango
SELECT x.val from data x, data y GROUP BY x.val HAVING SUM(SIGN(1-SIGN(y.val-x.val))) = (COUNT(*)+1)/2