your blog table should have a unique id, preferably an integer, for each blog post. Then you include the blog id in the comment table row to relate them. This is a one to many relation, one blog id is used in many comment rows to form the relation.