Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
breadwinner
3 months ago
|
parent
|
context
|
favorite
| on:
Building AI agents to query your databases
Something like this is what I do also. Is there another way? How are others doing it?
dimitri-vs
3 months ago
[–]
Export DDL of one or more relevant tables, run query to get a random sample of 5 records for each table. Really quick to gather all this and enough context to handle most query writing tasks with some guidance.
sitkack
3 months ago
|
parent
[–]
Schema + samples. Same thing a skilled person would use.
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: