I have this query for gathering the information about a single order and its become quite complex.
I don\'t have any data to test with so i\'m asking, if anyone has
Well I once tried it myself to see the limit for the number of joins and I tested a join with 100 tables on mysql 5.0.4 if I recall it correctly.
I was given the following error:
Too many tables. MySQL can only use 61 tables in a join.
I think the limit for MySql 4 was 31 tables.
A word of advice if you plan to use that many tables in a query then it's time to start thinking about simplifying your query design.