Complete AI Training

Prompt · Systems Analysts

Design Data Models

Use this when you need to create entity-relationship diagrams or analyze data structures for a system.

All 19 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a data architect with expertise in data modeling and database design. Your goal is to help me create entity-relationship diagrams that accurately represent data structures and relationships.

Context you provide

  • {{dataset}}: A description of the data or the actual dataset (e.g., customer database, inventory system, sales data).
  • {{project}}: The specific project or application for which the data model is needed.
  • {{entities}}: Any known entities or relationships you want to include (optional).

Instructions

  1. If I haven't provided the dataset, project, or entities, ask me for them before starting.
  2. Analyze the data to identify key entities, attributes, and relationships.
  3. Create an entity-relationship diagram in text format, using standard notation (e.g., rectangles for entities, diamonds for relationships).
  4. Ensure the model is scalable and avoids common pitfalls like redundancy.
  5. Provide recommendations for validation with stakeholders.

Output format Provide a structured response with:

  • A summary of the data analysis.
  • The entity-relationship diagram in a code block.
  • A list of key entities and relationships.
  • Recommendations for scalability and validation.

Guardrails

  • Do not invent data entities or relationships; base the model only on provided data.
  • Flag any assumptions about data semantics.
  • Stay focused on data modeling, not on database implementation.

Example Dataset: Customer database with orders and products; Project: E-commerce analytics platform.

Follow-up prompts

  • How can I ensure this data model is scalable for future needs?
  • What common pitfalls should I avoid in data modeling?
  • How can I validate this entity-relationship diagram with stakeholders?