πŸ“– 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!