Getting Started with NL2SQL
March 15, 2026
getting-startedtutorial
Getting Started with NL2SQL
NL2SQL makes it easy to query your database using plain English. Instead of writing complex SQL, you simply describe what data you need in natural language, and NL2SQL generates the query for you.
How It Works
- Type your question — describe the data you need in plain English
- Review the analysis — NL2SQL identifies dates, metrics, and relevant tables
- Get your SQL — a validated, optimized query is generated and executed
- See your results — data is returned with a natural language summary
Example
Instead of writing:
SELECT c.c_name, SUM(o.o_totalprice) as total_spent
FROM orders o
JOIN customer c ON o.o_custkey = c.c_custkey
WHERE o.o_orderdate >= '2024-01-01'
GROUP BY c.c_name
ORDER BY total_spent DESC
LIMIT 10;
You can simply ask: "Who are the top 10 customers by total spending since January 2024?"
Watch the Getting Started video on YouTube
Try It Now
Head over to the app and start asking questions about your data.