def getCharacterFromGame(gtitle: str) -> str: 
    """Return a query to get characters with lower Ryu Number to a game.
    
    The query will retrieve the name and Ryu Number of a character whose Ryu
    Number is exactly one less than the Ryu Number of the game whose title
    is passed. This is used primarily for path-finding towards Ryu.

    The resulting query takes the following form for game_character as C:
    `(C.name: str, C.ryu_number: int)`
    """
    return (f"SELECT DISTINCT C.name, C.ryu_number "
            f"FROM appears_in "
            f"INNER JOIN game_character AS C ON cname=C.name "
            f"INNER JOIN game AS G ON gtitle=G.title "
            f"WHERE gtitle LIKE '{gtitle}' AND C.ryu_number=G.ryu_number-1;"
    )