Answer the question
In order to leave comments, you need to log in
How to add id field from another table?
I have two tables. In one id of the "project", in the other id of the elements of the project. It is necessary that each element of the project be associated with the project, respectively. Only I don't know how to connect these two databases so that the id field from one table is represented by project_id in another. Thank you.
Answer the question
In order to leave comments, you need to log in
Могу посоветовать почитать на тему типы связей в БД, 1 к 1, 1 ко многим, многие ко многим. Связать вы хотите скорее всего не базы а таблицы.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question