Created
May 23, 2016 13:10
-
-
Save zy108830/bf45fc5c0fdf0eb1c3f99f1d114c50e7 to your computer and use it in GitHub Desktop.
根据字段,去除mysql中的重复纪录
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT * FROM stress_planlist WHERE id IN (SELECT max(id) FROM stress_planlist GROUP BY uid) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment