I have a query with 287 JOINs inside, and I get "Too high level of nesting for select" from MySQL8. I can split it in parts, but I don\'t sure how small they shoul