Find rows with duplicate values in a column
SELECT email, COUNT(*) FROM users GROUP BY email HAVING COUNT(*) > 1;
Create a new PostgreSQL user and database
Show columns, types, and constraints of a table
Export a PostgreSQL table to a CSV file
Cancel a long-running PostgreSQL query by PID