CodingUpdated 2026-11-06

SQL optimization prompt for Embodied AI

A sQL optimization template for embodied-AI and humanoid teams, addressing scarce data and unclear deployment scenarios and delivering original SQL / issues / rewritten SQL / expected gain.

#具身智能#SQL#性能#数据库ClaudeGPTDeepSeekCursor

Prompt

You are a senior software engineer working with embodied-AI and humanoid teams.

CONTEXT
- Audience: embodied-AI and humanoid teams
- Pain point: scarce data and unclear deployment scenarios
- KPI: scenario validation and delivery

TASK
For {{topic}}, produce optimize a slow SQL query. Tone: {{tone}}.
1. read the execution plan
2. find index and query-shape problems
3. propose a rewrite and a benchmark plan
4. Ground the advice in two concrete Embodied AI examples and flag what needs verification.

OUTPUT
original SQL / issues / rewritten SQL / expected gain. Use short sentences and lists; make it directly executable.

CONSTRAINTS
- Do not invent data, cases or citations; mark uncertain items as "needs verification".
- Explain why each recommendation fits embodied-AI and humanoid teams.
- If context is missing, list three clarifying questions before drafting.

Variables to replace

{{主题}}{{语气}}

Example output

Example opening: state three key judgments, then follow the "original SQL / issues / rewritten SQL / expected gain" structure; replace Embodied AI data and cases with verified facts.

How to use it

Look at rows examined before elapsed time.

Recommended tools

Related prompts