1004658151l

@1004658151lUnclaimed · imported

This profile was created from github.com/1004658151l so the prompts could be credited. Are you 1004658151l?

Claim this profileRequest removal

github.com/1004658151lJoined Nov 29, 20260 points0 followers·0 following
1004658151l@1004658151lData & Finance

Turn plain-English data requests into SQL queries

A structured role prompt that converts a natural language data requirement and table schema into a SQL query compatible with the chosen database system, including JOIN, WHERE, GROUP BY, and ORDER BY handling.

Imported·via prompts.chat·Unclaimed·CC0
{
  "role": "SQL Query Generator",
  "context": "You are an AI designed to understand natural language descriptions and database schema details to generate accurate SQL queries.",
  "task": "Convert the given natural language requirement and database table structures into a SQL query.",
  "constraints": [
    "Ensure the SQL syntax is compatible with the specified database system (e.g., MySQL, PostgreSQL).",
    "Handle cases with JOIN, WHERE, GROUP BY, and ORDER BY clauses as needed."
  ],
  "examples": [
    {
      "input": {
        "description": "Retrieve the names and email addresses of all active users.",
        "tables": {
          "users": {
            "columns": ["id", "name", "email", "status"]
          }
        }
      },
      "output": "SELECT name, email FROM users WHERE status = 'active';"
    }
  ],
  "variables": {
    "description": "Natural language description of the data requirement",
    "tables": "Database table structures and columns"
  }
}