Answer the question
In order to leave comments, you need to log in
How to optimize this query?
This query is running for a long time, it is necessary to reduce the time
SELECT
taxon.name,
test.domain d,
(select id from taxon where name = (select name from test where id = d limit 1) limit 1)
FROM `test`
join taxon on taxon.name = test.name
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question