Domanda

is it possible to have more than 1 explains in one single query

eg. something like

(EXPLAIN SELECT * FROM tablea) UNION (EXPLAIN SELECT * FROM tableb) 

such that this one single query returns explain results of 2 queries instead of just one

È stato utile?

Soluzione

Uh no. You can do;

EXPLAIN SELECT * FROM tablea UNION SELECT * FROM tableb
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top