Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
伙计们,我如何在sql中选择重复的字段。我有一个可能按标题重复的表格,如何选择它们?
你可以使用这个:
SELECT title, COUNT(*) as titleCount FROM yourTableName GROUP BY title HAVING COUNT(*) > 1