<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def sql_program_name_func(command):
 """ Extract program name from `command`. 'ls' 'git' 'make' :type command: str """

    args = command.split(' ')
    for prog in args:
        if '=' not in prog:
            return prog
    return args[0]