📅  最后修改于: 2022-03-11 14:58:39.940000             🧑  作者: Mango
SELECT DISTINCT customers.col
FROM tableName customers
LEFT JOIN tableName idNum
ON idNum.col > customers.col AND idNum.col IS NOT NULL
WHERE idNum.col IS NULL