def get_table_name(line):
    """Get and return table name from table structure SQL file"""

    start = line.upper().find('TABLE') + 6
    end = line[start:].find(' ', 2) + start
    name = line[start:end]
    return name.strip().lower()