S
S
shanik2018-03-07 16:31:53
MySQL
shanik, 2018-03-07 16:31:53

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 question

Ask a Question

731 491 924 answers to any question