VibeDict

SQL (Queries)

SQL / Query

The language you use to tell a database 'find this data' or 'save this'. Each one of those sentences is called a query.

💡 It's a request slip you hand to a librarian, like 'novels from 2024, top 10 by rating'.

🤖 Say this to your AI

Write an SQL query that shows this month's 20 biggest orders from the orders table, largest first. Explain each line simply in comments. Don't write any query that changes data.

The key word is ‘SQL / Query’. Including it helps AI understand you much more precisely.

📌 Good to know

If you leave out WHERE (the condition) in a DELETE or UPDATE query, the whole table gets deleted or changed. Always double-check before running it.

When to use it

  • When you open the 'SQL Editor' in places like Supabase or Neon
  • When you want to check or fix data directly
  • When the AI shows you sentences like SELECT or INSERT

Also called: sql, query, select, insert, update, delete, where, postgres, mysql, sql editor

Related terms