D
D
ddddd tttt2018-03-03 16:06:21
MySQL
ddddd tttt, 2018-03-03 16:06:21

If there is a way to get to the last nesting without join?

There are 4 tables: customer->area->project->event. Id in customer is known. Is there a better way to get to event without join.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Entelis, 2018-03-03
@pashaa

There are exactly 2 options:
a) you make one query with join
b) you make 4 queries in turn to each of the tables.
Usually option A is better.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question