PostgreSQL Error: insert or update on table violates foreign key constraint - Stack Overflow
Understanding Postgres check constraints
PostgreSQL - How to add a foreign key? | TablePlus
PostgreSQL Tutorials | Foreign Key Constraints in Postgresql | primary and foreign key relationship - YouTube
How to List Constraints of a Table in PostgreSQL? - CommandPrompt Inc.
Understanding Postgres check constraints
postgresql - How to query through foreign keys while only having the value in the the same row as the value used as foreign key in another column - Database Administrators Stack Exchange