O
O
Oleg Pariyev2020-01-03 21:34:59
SQL
Oleg Pariyev, 2020-01-03 21:34:59

How to bind multiple IDs of different tables to one cell in SQLite?

There is a database that includes students, teachers and other visitors. How can I combine the IDs of these three tables into one column of the fourth table (for example, "librer's card") and is it possible?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Marat Dallin, 2020-01-03
@DgDays

I think we need to look in the direction of polymorphic relationships. For starters, this article will come in handy - https://habr.com/ru/post/261835/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question