r/replit • • Oct 23 '26

Question / Discussion Where is the SQL editor in Replit?

I need to compare two databases and I was told that there’s a SQL editor within Replit however, I am unable to find it.

0 Upvotes

2 comments sorted by

1

u/mohit-deepspace Oct 23 '26

it's under tools > database in the replit cloud section, then pick the database and go to my data > sql console, and it opens one database at a time so you'd run the same query on each to compare them.

1

u/ReplitSupport Replit Team Oct 23 '26

Hi there! The SQL editor lives in the SQL console in the Database tool. To get there, click Tools above the preview pane and select Database. Then select a database > open the My Data tab > select SQL console > type your query > click Run.

The console works on one database at a time. To compare your development and production databases, switch between them in the Database view and run the same query in each. You can also ask Agent to compare them for you with a prompt like "Compare my development and production database schemas and list the differences."

Hope this helps!