D
D
Dmitry2017-09-15 16:18:35
MySQL
Dmitry, 2017-09-15 16:18:35

How to execute this query in mysql?

I run the command through workbench , the request takes a long time to load, then the database crashes, what's the matter

use old;

use old;
SELECT * FROM (profil r
LEFT JOIN towns t ON t.id = r.town
LEFT JOIN profil_metro rm ON rm.id_resume = r.id

LEFT JOIN photo f ON f.id_resume = r.id
# LEFT JOIN region.work w ON w.`id_resume` = r.id
LEFT JOIN baseeduc be ON be.`id_resume` = r.id

LEFT JOIN reslang rl ON rl.`id_resume` = r.id)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2017-09-15
@Rsa97

Remove brackets. Otherwise, MySQL first tries to form a temporary table, and only then displays it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question