add preliminary support for temporary tables and using inner join instead of commas to separate auto-joined tables, making the ORM MySQL 5 complient