Curl is a command line tool to transfer data from or to a server, using one of the supported protocols (HTTP, HTTPS, FTP, FTPS, TFTP, DICT, TELNET, LDAP or FILE).
That value is copied into the SQL query by the server, based on what the user typed in, so the actual command that's sent to the SQL database would look something like this, where username equals philbin.