Explanation
1. Query is actually a recursive call to each table, which is the same as matrix multiplication. This correspondence is very intuitive and very universal.
2. Conventional query actions are implemented through the sub_select function. This function is essentially execution.
Example
tsecer_select() { for (r = first ; r != end ; r = next) { if(sofartest()) { nexttable.tsecer_select() } } }
The above is the detailed content of How to implement mysql multi-table query. For more information, please follow other related articles on the PHP Chinese website!