Bug fix to implement qualified table name in format db.table alias

Lets call it getAllTablesfromFromAST