🧚 Hey, listen! Try our modern & open source database GUI
Download
March 17, 2023
By
Beekeeper Studio Staff
The customers table below has duplicate names inserted under different IDs:
id | name | |
---|---|---|
1 | John Doe | john@teratrax.com |
2 | Mark Smith | marks@teratrax.com |
3 | John Doe | jdoe@company.com |
The following SQL query returns a list of these rows and the number of times they occur (replace bold words to fit your table structure):
SELECT name, COUNT(*) AS counter
FROM customers
GROUP BY name
HAVING COUNT (*) > 1
Query result:
name | counter |
---|---|
John Doe | 2 |
Beekeeper Studio Is A Free & Open Source Database GUI
Best SQL query & editor tool I have ever used. It provides everything I need to manage my database. - ⭐⭐⭐⭐⭐ Mit
Beekeeper Studio is fast, intuitive, and easy to use. Beekeeper supports loads of databases, and works great on Windows, Mac and Linux.
What Users Say About Beekeeper Studio
★★★★★
"Beekeeper Studio completely replaced my old SQL workflow. It's fast, intuitive, and makes database work enjoyable again."
— Alex K., Database Developer
★★★★★
"I've tried many database GUIs, but Beekeeper strikes the perfect balance between features and simplicity. It just works."
— Sarah M., Full Stack Engineer