performing table load on sql statements from_clause