CARD NEWS · Data & databases

Text-to-SQL · 4 cards

Four cards for social posts, teaching materials and presentations. Capture the screen or print to a PDF.

1/4
Data & databases

Text-to-SQL

Text-to-SQL is a technology that turns a question written in everyday language into a SQL query that a database can run. In research it is a classic semantic parsing task, and the Spider dataset released by Yale researchers in 2018 became one of its best-known benchmarks.[1][5][9] Large language models (LLMs) have raised accuracy sharply, and companies now build internal chat tools that let non-developers look up data.[6][8] On real company databases, however, accuracy is clearly lower than on clean benchmarks, so these tools are used with human review of the generated queries.[4][7][8]

2/4
In simple terms

An easy way to understand

" and rewrites it in SQL (Structured Query Language), the language databases understand. It closes a common gap: the data sits in company databases, but only a few people can write SQL.

3/4
Where it is used

Who uses it, and when?

Case 1: Uber — QueryGPT, an internal query tool Uber described QueryGPT, an internal tool that generates SQL from natural-language prompts, in September 2024; the idea started at an internal generative AI hackathon in…

4/4
Learn more

ai.rookienote.com
/en/term/text-to-sql

RookieNote
← Read the full entry

Capture these cards or print them to a PDF.