def insertRelation(cname: str, gtitle: str) -> str: 
    """Return a query to insert an `appears_in` relation to the database."""
    return (f"INSERT IGNORE INTO appears_in (cname, gtitle) "
            f"VALUES ('{cname}', '{gtitle}');"
    )