Y
Y
Yura Komarov2017-11-23 19:43:21
Layout
Yura Komarov, 2017-11-23 19:43:21

How to make a double query to the database with a selection of all projects for each user?

table.png
Please tell me how to make a selection from two tables at the same time so that I would have for each usera from the users table all his projects from the projects table (projects are linked by id users)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
origami1024, 2019-09-05
@g0lovachlena

Recalling my first experiences with svg, the preserveAspectRatio="none" attribute seemed very useful to me in such tasks, and I could not stumble upon it for a long time.

E
Eugene Wolf, 2017-11-23
@Yurajun

JOIN , I think in your case, LEFT JOIN.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question