π Step 6: Development#372 / 498
SQL
Structured Query Language (SQL)
πOne-line summary
The standard query language for reading and writing data in relational databases.
β¨Example
// SQL (Structured Query Language (SQL))
κ΄κ³ν λ°μ΄ν°λ² μ΄μ€μμ λ°μ΄ν°λ₯Ό μ‘°νΒ·μΆκ°Β·μμ Β·μμ νλ νμ€ μ§μ μΈμ΄
> ready_
β‘Vibe coding prompt examples
>_
Write a SQL query for last month's top 10 products by revenue with each product's order count. Tables are orders, order_items, and products.
>_
This query is too slow. Look at the execution plan and suggest the indexes and query changes we need.
>_
Write SQL that creates users, posts, and comments tables, with foreign keys and on-delete rules.
Try these prompts in your AI coding assistant!