Returns the left table if one was specified, otherwise the first
        table in the query is returned

        :rtype: :class:`Table <querybuilder.tables.Table>`
        :return: the left table if one was specified, otherwise the first table in the query

def get_left_table(self):
        """
        Returns the left table if one was specified, otherwise the first
        table in the query is returned

        :rtype: :class:`Table <querybuilder.tables.Table>`
        :return: the left table if one was specified, otherwise the first table in the query
        """
        if self.left_table:
            return self.left_table
        if len(self.owner.tables):
            return self.owner.tables[0]