Say I have two tables:
User: id, name, comment_id Comment: id, message, user_id
From my understanding, if I setup a foreign key constraints