Fix #4445 Fatal error on SQL Export of join query

SQL export for multi-table queries don't seem relevant. So SQL is removed from export format.