FirstMatch strategy
You are viewing an old version of this article. View
the current version here.
The idea
FirstMatch is an execution strategy for Semi-join subqueries.
Its execution is very similar to how IN/EXISTS subqueries were executed in MySQL 5.x.
select * from Country where Country.code IN (select City.Country from City where City.Population > 1*1000*1000) and Country.continent='Europe'
Comments
Comments loading...
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.