R
R
Roman Rakzin2017-07-01 10:59:43
SQL
Roman Rakzin, 2017-07-01 10:59:43

How to implement the structure of friends and subscribers in the database?

There are users and I want to implement the structure of friends and subscribers in the database.
Give examples of how this is usually done?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Konstantin Tsvetkov, 2017-07-01
@tsklab

Tables.
All friends (view):
user code, friend code
union
friend code, user code

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question