NL2SQL

Translating natural langauge to SQL queries

NL2SQL (Natural Language to Structured Query Language) translation is a task in natural language processing (NLP) that involves automatically converting natural language queries into SQL queries. This technology is used in database management systems to enable users to interact with databases using natural language queries instead of having to learn SQL. NL2SQL translation involves several sub-tasks, including natural language understanding, semantic parsing, and query generation. The ultimate goal of NL2SQL is to produce an accurate SQL query that accurately reflects the user’s intent and retrieves the desired information from the database.

References

2023

  1. Few-shot Text-to-SQL Translation using Structure and Content Prompt Learning
    Zihui Gu, Ju Fan, Nan Tang, Lei Cao, and 3 more authors
    Proc. ACM Manag. Data, 2023

2022

  1. PASTA: Table-Operations Aware Fact Verification via Sentence-Table Cloze Pre-training
    Zihui Gu, Ju Fan, Nan Tang, Preslav Nakov, and 2 more authors
    In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, EMNLP 2022, Abu Dhabi, United Arab Emirates, December 7-11, 2022, 2022