#NEWLINE# def build_from_table( self ) : #NEWLINE# #INDENT# '\n        Generates the sql for the FROM portion of the query\n\n        :return: the FROM portion of the query\n        :rtype: str\n        ' #NEWLINE# table_parts = [ ] #NEWLINE# for table in self . tables : #NEWLINE# #INDENT# sql = table . get_sql ( ) #NEWLINE# if len ( sql ) : #NEWLINE# #INDENT# table_parts . append ( sql ) #NEWLINE# #UNINDENT# #UNINDENT# sql = 'FROM {0} ' . format ( ', ' . join ( table_parts ) ) #NEWLINE# return sql