DEV Community

Cover image for Creating a SQL generator app with ChatGPT, PostgreSQL, and ToolJet

Creating a SQL generator app with ChatGPT, PostgreSQL, and ToolJet

Teja Kummarikuntla on March 21, 2023

In this tutorial, you'll learn how to build a SQL Generator application using ChatGPT, ToolJet, and PostgreSQL. Users can state the kind of data t...
Collapse
 
nevodavid profile image
Nevo David

Great Tutorial 😊😊😊🙏🏻🙏🏻🙏🏻

Collapse
 
tejakummarikuntla profile image
Teja Kummarikuntla

Glad you like it, David.

Collapse
 
hbl74 profile image
Howard

This doesn't seem to work anymore. I tried your finished application as well

Collapse
 
tejakummarikuntla profile image
Teja Kummarikuntla

Hey @howard, could you hlep me by elaborating about the issue, feel free to describe it in the slack at tooljet.com/slack

Collapse
 
hbl74 profile image
Howard

When I put in "Get all the data from the People's table" nothing happens. I've also tried just "Get all the data" and other phrases.

Image description

Collapse
 
kochan4php profile image
Deo Subarno

Great

Collapse
 
tejakummarikuntla profile image
Teja Kummarikuntla

Thank you, Deo Subarno.

Collapse
 
zoilomendoza profile image
ZoyMdz

Excelente!

Collapse
 
tejakummarikuntla profile image
Teja Kummarikuntla

Thank you!

Collapse
 
drack112 profile image
João Vitor

Never heard about ToolJet, impressive, gonna test some features on the tool, thanks ;)

Collapse
 
tejakummarikuntla profile image
Teja Kummarikuntla

Glad you found this helpful.

Collapse
 
jiaochunpeng profile image
jiaochunpeng

Looks good!

Collapse
 
tejakummarikuntla profile image
Teja Kummarikuntla

Thank you, @jiaochunpeng

Collapse
 
fralik profile image
Vadim Frolov

I didn't see that you described your DB structure to chatgpt. Without it you may get sql code for non-existing tables.

Collapse
 
k0t0vski profile image
k0t0vski

Great effort.
However - who is gonna be the target group for this tool?

Collapse
 
tejakummarikuntla profile image
Teja Kummarikuntla

If you are asking about ToolJet, it's for developers and businesses for building Internal tools, @k0t0vski .
It can be self-hosted as it's open-source: github.com/ToolJet/ToolJet

Collapse
 
prihit1424 profile image
Prihit1424

Hi

Do you have a video for the above process? It would be quite useful to us.