{
    "all": [
        "For the cost analysis task: you are limited to querying the 'user_unit_costs_daily' table. This table logs daily costs in real-time on a daily basis"
    ],
    "text2sql": [
        "If the task requires calculating the discount amount: whether for a single invoice or cost, subtract the cost_price (the discounted amount) from the raw_cost (the original amount).",
        "If the task requires calculating the sequential growth rate: Using LAG function with OVER clause in SQL"
    ],
    "retrieval_tables": [

    ],
    "few_shot": [
        {
            "task": "每月的收入趋势分布",
            "sql": "SELECT DATE_FORMAT(`billing2_invoices`.`invoice_date`, '%Y-%m') AS `Month`, SUM(`billing2_invoices`.`cost_price`) AS `total_revenue` FROM `billing2_invoices` GROUP BY `Month` ORDER BY `Month`",
            "involved_tables": ["billing2_invoices"]
        },
        {
            "task": "每月计费的unit数量趋势分布",
            "sql": "SELECT DATE_FORMAT(`user_unit_costs_daily`.`date`, '%Y-%m') AS `month`, COUNT(DISTINCT `user_unit_costs_daily`.`unit`) AS `billed_units` FROM `user_unit_costs_daily` GROUP BY `month` ORDER BY `month`",
            "involved_tables": ["user_unit_costs_daily"]
        },
        {
            "task": "每天费用的波动",
            "sql": "SELECT `date`, SUM(`cost_price`) AS `total_cost`, SUM(`cost_price`) - LAG(SUM(`cost_price`)) OVER (ORDER BY `date`) AS `fluctuation` FROM `user_unit_costs_daily` GROUP BY `date` ORDER BY `date`",
            "involved_tables": ["user_unit_costs_daily"]
        }
    ],
    "term_description": {
        "bills": "total cost",
        "每天费用": "每天的总费用",
        "每日费用": "每日的总费用",
        "每月费用": "每月的总费用"
    },
    "term_sheet": [
        {
            "description": "需理解为'total cost'",
            "term": ["bills"]
        },
        {
            "description": "需理解为'每天的总费用'",
            "term": ["每天费用"]
        },
        {
            "description": "需理解为'每日的总费用'",
            "term": ["每日费用"]
        },
        {
            "description": "需理解为'每月的总费用'",
            "term": ["每月费用"]
        },
        {
            "description": "The name for tenant with tenant_id = 1311265642040528896",
            "term": ["CC_A1", "CloudChat"]
        },
        {
            "description": "The name for tenant with tenant_id = 1326455380288475136",
            "term": ["Colopl"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089187041280",
            "term": ["pingcap-prod"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089187491288",
            "term": ["PingCAP"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089187701282",
            "term": ["Smaregi"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089187971283",
            "term": ["TOPPAN", "TOPPAN INC", "Toppan Gift Payment"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089188151296",
            "term": ["Catalyst", "Catalyst Software"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089188871292",
            "term": ["CAPCOM", "CAPCOM SHIELD"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089190491281",
            "term": ["istyle", "istyle Inc"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089190911285",
            "term": ["CTW", "CTW Inc"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089191061283",
            "term": ["Cygame", "Cygames"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089191271282",
            "term": ["SB Payment", "SB Payment Service"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089191601282",
            "term": ["Nagagames", "Gamify Studios"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089191661281",
            "term": ["shoplazza"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089192651285",
            "term": ["AsiaPac", "AsiaPac Net", "AsiaPac Net Media", "AsiaPac Net Media Limited", "AdTech Innovation Limited"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089195441286",
            "term": ["DMM"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089197511287",
            "term": ["Bai", "Bai's Org"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089198261287",
            "term": ["shopline", "Shopline Guangzhou"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089198321288",
            "term": ["Delhivery"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089198981282",
            "term": ["nftscan"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089199011282",
            "term": ["ELESTYLE"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089200631282",
            "term": ["Adi", "Adi Bersama", "Anteraja"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089200871286",
            "term": ["PLAID", "PLAID, Inc", "PLAID Inc"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089201471287",
            "term": ["Mercari", "Mercari JP"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089202551281",
            "term": ["OpenMeta"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089203271293",
            "term": ["Praktis"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089203451282",
            "term": ["andrei", "andreid-db", "andreid-db's Org", "Databricks"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089204561282",
            "term": ["KNN3"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089204711289",
            "term": ["Amber", "Amber AI Limited"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089205491282",
            "term": ["Native Tech LLC"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089205701281",
            "term": ["Yangge", "Chengdu Yangge", "Chengdu Yangge Technology Co", "MEXC"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089206001286",
            "term": ["zhao", "zhao's Org", "Matrixport"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089206991281",
            "term": ["Sam", "Sam's Org"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089207501285",
            "term": ["WonderPlanet", "Wonderplanet Inc"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089208221443",
            "term": ["Quincus"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089208221493",
            "term": ["cpalearning"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089208251343",
            "term": ["RHEMS", "RHEMS Japan", "BNO"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089208251389",
            "term": ["New Bit", "New Bit Technology Pte, Ltd"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089208281359",
            "term": ["Certik"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089208281382",
            "term": ["SandiSolar", "SandiSolar Plus", "SandiSolar Plus Technology"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089208311537",
            "term": ["ChainBase", "cb"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089208311964",
            "term": ["VIV3", "VIV3 Inc"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089208341412",
            "term": ["Hytto", "爱感"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089208341734",
            "term": ["Sparty"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089208491729",
            "term": ["Vincent", "Vincent's Org", "Meathill", "Meathill's Org"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089208521690",
            "term": ["Tecnode"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089208521826",
            "term": ["voicy", "Voicy Inc", "Voicy, Inc"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089208611456",
            "term": ["Micoworks", "Micoworks, Inc"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089208791721",
            "term": ["Amos", "Amos's Org"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089208791743",
            "term": ["Konstit Engenharia", "Konstit Engenharia e Tecnologia Ltda"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089208821527",
            "term": ["Menu Develop", "Menu Inc"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089208821615",
            "term": ["Shroom", "Shroom's Org"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089208821887",
            "term": ["Shopline Hong Kong"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089208821916",
            "term": ["Poixio", "Bogdan", "Bogdan's Org"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089208851780",
            "term": ["Howie", "Howie's Org"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089208881649",
            "term": ["Bytebaked"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089208881819",
            "term": ["Menu Production"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089209001410",
            "term": ["Zhangao", "Zhangao's Org"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089209001464",
            "term": ["Fujitsu", "Fujitsu Japan"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089209031288",
            "term": ["Chris", "Chris's Org"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089209031475",
            "term": ["Noesis", "Noesis LLC", "Irwyn's Org"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089209031615",
            "term": ["HoYoverse"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089209031637",
            "term": ["Klevis", "Klevis's Org"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089209032219",
            "term": ["Amadou", "Amadou's Org"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089209032694",
            "term": ["Sha's Org"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089209061336",
            "term": ["Protecto Org", "Parthi's Org"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089209061345",
            "term": ["mk-jp-tidb-aws", "Mercari, inc"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089209061597",
            "term": ["steve"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089209061633",
            "term": ["Buffet's Org", "Wetech"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089209061657",
            "term": ["01ai", "Tyler's Org"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089209062317",
            "term": ["BNE-fine", "雅史's Org"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089209151520",
            "term": ["dentsudigital"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089209181557",
            "term": ["kaizhe", "kaizhe's Org"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089209181586",
            "term": ["Xin's Org"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089209181630",
            "term": ["Jean-Pierre", "Jean-Pierre FAUCHIER"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089209211457",
            "term": ["altx", "altx's Org"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089209211606",
            "term": ["Serhii", "Serhii's Org"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089209211720",
            "term": ["AimingInc", "洋's Org"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089209212008",
            "term": ["oka", "oka's Org"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089209212029",
            "term": ["KNN3", "KNN3 Network"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089209212394",
            "term": ["dataX"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089209212799",
            "term": ["BNE-iret", "Iret inc"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089209212842",
            "term": ["Orb Inc", "Yoshimasa's Org"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089209213468",
            "term": ["takaaki", "takaaki's Org"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089209213568",
            "term": ["aa's Org"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089209213994",
            "term": ["Pionex", "peng's Org"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089209214018",
            "term": ["Solomono", "Solomono's Org"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089209214140",
            "term": ["Wu's Org"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089209214590",
            "term": ["mjxo", "mjxo's Org"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089209214865",
            "term": ["bitget", "bitget wallet"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089209215427",
            "term": ["Usuket", "Usuket's Org"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089209215550",
            "term": ["Brane Enterprises Pvt Ltd", "NSLHub"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089209216104",
            "term": ["monkey"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089209216111",
            "term": ["BACKSTAGE", "Kodai's Org"]
        },
        {
            "description": "The name for tenant with tenant_id = 1372813089209216111",
            "term": ["tan", "tan's Org"]
        }
    ]
}