Complete the query command with the list of nick names