Cited by 65Advanced Database Systems and QueriesSoftware Engineering ResearchNatural Language Processing Techniques

CodexDB: synthesizing code for query processing from natural language instructions using GPT-3 codex

Trummer, Immanuel·2022·Proceedings of the VLDB Endowment

Abstract

CodexDB enables users to customize SQL query processing via natural language instructions. CodexDB is based on OpenAI's GPT-3 Codex model which translates text into code. It is a framework on top of GPT-3 Codex that decomposes complex SQL queries into a series of simple processing steps, described in natural language. Processing steps are enriched with user-provided instructions and descriptions of database properties. Codex translates the resulting text into query processing code. An early prototype of CodexDB is able to generate correct code for up to 81% of queries for the WikiSQL benchmark and for up to 62% on the SPIDER benchmark.

Integrity signals

Registry

Crossref · 10.14778/3551793.3551841

Cites

2 of 2 references verified0 citation errors · 0 not checkable

Statistics

Recomputing p-values needs the paper’s full text.

Claims the paper makes

This paper’s full text isn’t openly available, so its claims and self-check weren’t run. The registry and citation checks still apply.

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

Cites

Flagged first, then by citations

Cited by

Sorted by citations

Authors
Trummer, I.
Affiliations
Cornell University (US)
Corresponding author
Trummer, Immanuel
Venue
Proceedings of the VLDB Endowment
Published
2022-07
Volume
15
Issue
11
Pages
2921-2928
ISSN
2150-8097 (ISSN-L)
OpenAlex
W4312537169
Cited by
65
References
2
Citations by year
2026: 8 · 2025: 20 · 2024: 15 · 2023: 21 · 2022: 1
FWCI
6.32
Type
journal article
Language
en
Open access
closed
Locations
Proceedings of the VLDB Endowment (publishedVersion)
Topics
  • Physical Sciences › Computer Science › Computer Networks and Communications › Advanced Database Systems and Queries
  • Physical Sciences › Computer Science › Information Systems › Software Engineering Research
  • Physical Sciences › Computer Science › Artificial Intelligence › Natural Language Processing Techniques
Keywords
natural language to SQL translation, SQL query processing, large language models, query decomposition, database education, WikiSQL, Spider benchmark, code generation

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review