2 ms·
Query to check if you have any columns with the same name as their table (in Postgres): SELECT table_name, column_name FROM information_schema.column
by pjungwir 12y ago
Query to check if you have any columns with the same name as their table (in Postgres):
SELECT table_name, column_name
FROM information_schema.columns
WHERE table_name = column_name;