def insert_mal_anime_detail(data):
    """
    Returns tuple (query, values) necessary for inseting 
    data into the MAL_Anime_Details table.
    """

    query = """
    INSERT INTO MAL_Anime_Details 
    (
        MAL_Id, 
        Title, 
        AltNameEnglish,
        AltNameSynonyms,
        Synopsis,
        MediaType,
        EpisodeCount,
        CurrentStatus,
        Aired,
        Premiered,
        Broadcast,
        Producers,
        Licensors,
        Studios,
        Source,
        Genres,
        Duration,
        Rating,
        PromoVideoSrc,
        PromoVideoBackgroundImageSrc,
        ImageSrc
    )
    VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s,
        %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)
    """

    values = (
        data["MyAnimeListId"],
        data["Title"],
        data["AltNameEnglish"],
        data["AltNameSynonyms"],
        data["Synopsis"],
        data["MediaType"],
        data["EpisodeCount"],
        data["CurrentStatus"],
        data["Aired"],
        data["Premiered"],
        data["Broadcast"],
        data["Producers"],
        data["Licensors"],
        data["Studios"],
        data["Source"],
        data["Genres"],
        data["Duration"],
        data["Rating"],
        data["PromoVideo"],
        data["PromoVideoBackgroundImage"],
        data["ImageSrc"]
    )

    return query, values