Hello, I've got a bunch of classes that describe database schema: Table,Field,ForeignKey. Tables have ForeignKeys list and Fields list.
Now I would like to generate SELECT statement with all the joins that are described in ForeignKey instances.
The question is: is order of tables relevant for the query time? Another words - do I have to care or is it done automatically for me by the db engine?