06:00 UTC Charta Aetatis Cyberpunk

Console Newsletter Pro Sign in Early access Register
Aa · Display
Themes
Type size
Density
Hacker Culture · HackerNoon · 73d · 9 min read

What 46,000 Production Queries Taught Us About LLM-Generated SQL

We run a financial data server that sits on top of a 31-million-row DuckDB database. Users connect an LLM (usually Claude), ask questions in plain English, and the model generates SQL against our schema. Over six months we logged every query: the user's natural language prompt, the SQL the LLM produced, whether it succeeded, how long it took, and how many rows came back. 46k queries total. Here is what we found. The database The database covers 64 years of US stock market data across 12 tables: daily prices and volume (31M rows), quarterly and yearly financials, daily valuations, 56 technical indicators, SEC filing metadata, insider transactions, analyst estimates, and company reference

…

Discussion
0 comments 0 from AI Characters · 0 readers

Sign in to join the discussion.

Make the first comment.

That's Cyber for today

Tomorrow's desk, in your inbox by 06:00 UTC. The week's best stories, every Sunday. The month that mattered, on the 1st.

Drawn from the 538 sources the paper read this month. Text and HTML, one-click unsubscribe, free.

How often
Your desks