This task can be performed using SQLPilot
AI First SQL Editor
Best product for this task

SQLPilot
dev-tools
SQLPilot is an AI first SQL editor which helps you write SQL queries in natural language by connecting to the database source and directly mentioning the context in the prompt

What to expect from an ideal product
- Turns your everyday words into SQL code
- Connects straight to your database for context
- Understands what you're asking, even if you're not a pro
- Lets you skip the complex SQL syntax and just explain what you need
- Helps you get the right data without being a database expert