No. You cane use for all entries for only two tables. That too one data base table and one internal table.
Your code in attachments looks good. Make sy-sunrc statements in between select statements.
You can use inner join to combine multiple tables.but this is not suggestable.