[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-673290-105":59,"doc-detail-673290-en":130,"doc-similar-673290":162},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","text-to-sql-empowered-by-large-language-models-a-benchmark-evaluation","Text-to-SQL Empowered by Large Language Models - A Benchmark Evaluation","","Large language models (LLMs) have become a new paradigm for the Text-to-SQL task, yet the lack of a systematic benchmark limits the development of effective, efficient, and cost-aware LLM-based solutions. The paper compares existing prompt engineering methods across question representation, example selection, and example organization, detailing their advantages and disadvantages. It then introduces DAIL-SQL, achieving 86.6% execution accuracy and refreshing the Spider leaderboard, while also evaluating open-source LLM scenarios and supervised fine-tuning token efficiency to guide future work.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/text-to-sql-empowered-by-large-language-models-a-benchmark-evaluation/673290/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/text-to-sql-empowered-by-large-language-models-a-benchmark-evaluation/673290.png","ImageObject",300,407,{"name":92,"@type":93},"DoDO","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-28","2026-11-02",true,{"@type":102,"interactionType":103,"userInteractionCount":29},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What problem does the paper address in LLM-based Text-to-SQL solutions?","Question",{"text":112,"@type":113},"It addresses the lack of a systematic benchmark and the resulting difficulty in designing effective, efficient, and economical LLM-based Text-to-SQL methods, especially regarding prompt engineering choices.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"Which prompt engineering aspects are systematically compared?",{"text":117,"@type":113},"The paper compares question representation, example selection, and example organization, including how different prompt formats and instruction details affect performance.",{"name":119,"@type":110,"acceptedAnswer":120},"What is DAIL-SQL and how does it perform?",{"text":121,"@type":113},"DAIL-SQL is an integrated solution proposed by the paper that refreshes the Spider leaderboard with 86.6% execution accuracy, setting a new benchmark bar.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},673290,1793627961,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":29,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144,"preview_page_count":19,"preview_urls":145},962093270745,"https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc","Text-to-SQL Empowered by Large Language Models: A  \nBenchmark Evaluation  \nDawei Gao∗ Alibaba Group gaodawei.gdw@alibaba[inc.com](inc.com)  \nHaibin Wang∗ Alibaba Group binke.whb@alibaba[inc.com](inc.com)  \nYaliang Li  \nAlibaba Group [yaliang.li@alibaba-inc.com](yaliang.li@alibaba-inc.com)  \nXiuyu Sun  \nAlibaba Group xiuyu.sxy@alibaba[inc.com](inc.com)  \nYichen Qian  \nAlibaba Group yichen.qyc@alibaba[inc.com](inc.com)  \nBolin Ding  \nAlibaba Group bolin.ding@alibaba[inc.com](inc.com)  \nJingren Zhou  \nAlibaba Group jingren.zhou@alibaba[inc.com](inc.com)  \nABSTRACT  \nLarge language models (LLMs) have emerged as a new paradigm for Text-to-SQL task. However, the absence of a systematical benchmark inhibits the development of designing effective, efficient and economic LLM-based Text-to-SQL solutions. To address this challenge, in this paper, we first conduct a systematical and extensive comparison over existing prompt engineering methods, including question representation, example selection and example organization, and with these experimental results, we elaborate their prosand cons. Based on these findings, we propose a new integrated solution, named DAIL-SQL, which refreshes the Spider leaderboard with 86. 6% execution accuracy and sets a new bar.  \nTo explore the potential of open-source LLM, we investigate them in various scenarios, and further enhance their performance with supervised fine-tuning. Our explorations highlight open-source LLMs’ potential in Text-to-SQL, as well as the advantages and disadvantages of the supervised fine-tuning. Additionally, towards an efficient and economic LLM-based Text-to-SQL solution, we emphasize the token efficiency in prompt engineering and compare the prior studies under this metric. We hope that our work provides a deeper understanding of Text-to-SQL with LLMs, and inspires further investigations and broad applications.  \nPVLDB Reference Format:  \nDawei Gao, Haibin Wang, Yaliang Li, Xiuyu Sun, Yichen Qian, Bolin Ding, Jingren Zhou. Text-to-SQL Empowered by Large Language Models: A  \nBenchmark Evaluation. PVLDB, 17(5): 1132-1145, 2024 .  \ndoi:10.14778/3641204.3641221  \nPVLDB Artifact Availability:  \nThe source code has been made available at [https://github.com/BeachWang/](https://github.com/BeachWang/)[ ](https://github.com/BeachWang/)[DAIL-SQL.](DAIL-SQL.)  \n∗ Co-first authors.  \nThis work is licensed under the Creative Commons BY-NC-ND 4.0 International License. Visit [https://creativecommons.org/licenses/by-nc-nd/4.0/ to view a copy of](https://creativecommons.org/licenses/by-nc-nd/4.0/ to view a copy of)[ ](https://creativecommons.org/licenses/by-nc-nd/4.0/ to view a copy of)[this license. For any use beyond those covered by this license](this license. For any use beyond those covered by this license), [obtain permission by](obtain permission by)[emailing info@vldb.org. Copyright](emailing info@vldb.org. Copyright) is held by the owner/author(s). Publication rights licensed to the VLDB Endowment.  \nProceedings of the VLDB Endowment, Vol. 17, No. 5 ISSN 2150-8097 .  \ndoi:10.14778/3641204.3641221  \n1 INTRODUCTION  \nText-to-SQL, as one challenging task in both natural language processing and database communities, maps natural language questions on the given relational database into SQL queries [8, 18] . Most previous work [17, 21, 22, 48, 56] focus on extracting the question-to-SQL patterns and generalizing them by training an encoder-decoder model with Text-to-SQL corpus. In recent years, large language models (LLMs) have emerged as a new paradigm for Text-to-SQL [24, 39, 47]. Notably, equipped with GPT-4 [28], Pourreza et al. [35] achieved the first place in Spider leaderboard [2] with 85. 3% execution accuracy. Different from prior studies, the core problem in LLM-based Text-to-SQL solution is how to prompt LLM to generate correct SQL queries, namely prompt engineering. Such prompt engineering involves question representations [6, 12, 31, 35], examples selection [14, 26, 27], and exa","cbCaifwYgOeKr4cc","https://ap.wps.com/l/cbCaifwYgOeKr4cc","pdf",1261594,14,"English","# Abstract\n# Introduction\n## Text-to-SQL and LLM paradigm\n## Prompt engineering components and prior gaps\n## Motivation for systematic study","[{\"question\":\"What problem does the paper address in LLM-based Text-to-SQL solutions?\",\"answer\":\"It addresses the lack of a systematic benchmark and the resulting difficulty in designing effective, efficient, and economical LLM-based Text-to-SQL methods, especially regarding prompt engineering choices.\"},{\"question\":\"Which prompt engineering aspects are systematically compared?\",\"answer\":\"The paper compares question representation, example selection, and example organization, including how different prompt formats and instruction details affect performance.\"},{\"question\":\"What is DAIL-SQL and how does it perform?\",\"answer\":\"DAIL-SQL is an integrated solution proposed by the paper that refreshes the Spider leaderboard with 86.6% execution accuracy, setting a new benchmark bar.\"}]","Text-to-SQL Empowered by Large Language Models - A Benchmark Evaluation | PDF",35,[146,150,154,158],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/6612b6b176f865e38417c872586c54ee.webp",983,1272,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/ca992151b396e4192babd4f69303d600.webp",982,1270,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/53b3e61cabf09b6761149a6641ee0cc8.webp",981,1269,{"page_no":19,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/d511d9634e8d38e0fc321616bb5a0e6c.webp",980,1268,{"list":163,"token":66},[164,171,177,183,189,196,203,210,216,223],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":169,"category_name":40,"create_tm":170},395262,"Empowering and Assessing the Utility of Large Language Models in Crop Science","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229918351073/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109779&Signature=%2F0haJPkfNWb%2Fw6qHTYPxYhCrPBY%3D","empowering-and-assessing-the-utility-of-large-language-models-in-crop-science",16,1790417392,{"doc_id":172,"doc_title":173,"file_type":137,"home_preview_img_url":174,"slug":175,"view_count":24,"category_name":40,"create_tm":176},673542,"Enhancing Consistency Through Prompt-Tuning for Style Guide Adaptation - Research Report","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229990910561/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109779&Signature=afOh88eRj1XKXq5G8sWtP4uUapQ%3D","enhancing-consistency-through-prompt-tuning-for-style-guide-adaptation-research-report",1793648302,{"doc_id":178,"doc_title":179,"file_type":137,"home_preview_img_url":180,"slug":181,"view_count":14,"category_name":40,"create_tm":182},699320,"LOG PROBABILITY TRACKING OF LLM APIS","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010892656/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109779&Signature=D4HCZbIS2FOOZFIjCFHK3umV6mw%3D","log-probability-tracking-of-llm-apis",1794464716,{"doc_id":184,"doc_title":185,"file_type":137,"home_preview_img_url":186,"slug":187,"view_count":139,"category_name":40,"create_tm":188},395381,"FinWorld - An All-in-One Open-Source Platform for End-to-End Financial AI Research and Deployment","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229918639912/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109779&Signature=bmC%2FEwcN6JFbmeJzl%2B3hkndCxv4%3D","finworld-an-all-in-one-open-source-platform-for-end-to-end-financial-ai-research-and-deployment-395381",1790418681,{"doc_id":190,"doc_title":191,"file_type":137,"home_preview_img_url":192,"slug":193,"view_count":194,"category_name":40,"create_tm":195},273441,"Token Distribution versus Data Volume - Domain Balancing in Multi-Domain Meeting Summarisation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229899547723/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109779&Signature=02eQtaB5R0gcSYY3WFUkKwxNE8A%3D","token-distribution-versus-data-volume-domain-balancing-in-multi-domain-meeting-summarisation",17,1789471435,{"doc_id":197,"doc_title":198,"file_type":137,"home_preview_img_url":199,"slug":200,"view_count":201,"category_name":40,"create_tm":202},273853,"PromptResponse - Optimizing Prompts for LLM Coding Tasks","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229899969540/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109779&Signature=QHbDg%2BGRZX4jIadzw1S670VVzok%3D","promptresponse-optimizing-prompts-for-llm-coding-tasks",15,1789473000,{"doc_id":204,"doc_title":205,"file_type":137,"home_preview_img_url":206,"slug":207,"view_count":208,"category_name":40,"create_tm":209},82134,"Sensitivity Aware Thresholding and Token Routing for Activation Sparsification in Large Language Models","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808714711/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109779&Signature=0RLRtV4qyrwNlivcEPZ3pyiOU9s%3D","sensitivity-aware-thresholding-and-token-routing-for-activation-sparsification-in-large-language-models",27,1784178384,{"doc_id":211,"doc_title":212,"file_type":137,"home_preview_img_url":213,"slug":214,"view_count":44,"category_name":40,"create_tm":215},327141,"TokenScope - Token-Level Explainability and Interpretability - for Code-Oriented Tasks in Large Language Models","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229909305026/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109779&Signature=zpi%2FAx4ZuANtCru1icXs18y%2FJko%3D","tokenscope-token-level-explainability-and-interpretability-for-code-oriented-tasks-in-large-language-models",1789976523,{"doc_id":217,"doc_title":218,"file_type":137,"home_preview_img_url":219,"slug":220,"view_count":221,"category_name":40,"create_tm":222},84298,"When Implausible Tokens Get Reinforced: Tail-Aware Credit Calibration for LLM Reinforcement Learning","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809159630/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109779&Signature=m%2BUTUY7oDvZHDmzNYa2sak13DQU%3D","when-implausible-tokens-get-reinforced-tail-aware-credit-calibration-for-llm-reinforcement-learning",28,1784194647,{"doc_id":224,"doc_title":225,"file_type":137,"home_preview_img_url":226,"slug":227,"view_count":221,"category_name":40,"create_tm":228},84233,"SynthAVE Scalable Synthetic Labeling for E-Commerce with LLM-Arena Validation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809036001/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109779&Signature=Ywc9f4GLjyTRM2Iqm%2B4eNOx3l1Y%3D","synthave-scalable-synthetic-labeling-for-e-commerce-with-llm-arena-validation",1784194222]