Write a SQL Query from Requirements

Ask Copilot to translate a human requirement into a SQL SELECT query.

category:database
sql
queries
postgres
0

Prompt

Write a SQL query for this requirement:
  
  [Describe the tables, relationships, and what you want to retrieve]
  
  Requirements:
  - Use explicit JOINs instead of implicit joins.
  - Alias tables to keep the query readable.
  - Order and limit results if appropriate.
  
  After the query, add a brief explanation.