Description
Design optimal database schemas and data models for your use case. Provides entity relationship diagrams, normalization recommendations, and indexing strategies.
Preview
Example Input
Use case: E-commerce platform. Needs: Products, categories, customers, orders, reviews, inventory tracking.
Example Output
## E-commerce Data Model\n\n**Entity Relationship Overview**\n\n```\nCUSTOMERS 1---* ORDERS *---* PRODUCTS\n | | |\n | | |\n * * *\n ADDRESSES ORDER_ITEMS REVIEWS\n |\n |\nPRODUCTS *---* CATEGORIES INVENTORY\n```\n\n**Core Tables**\n\n```sql\n-- Customers\nCREATE TABLE customers (\n id SERIAL PRIMARY KEY,\n email VARCHAR(255) UNIQUE NOT NULL,\n name VARCHAR(255),\n created_at TIMESTAMP DEFAULT NOW()\n);\n\n-- Products\nCREATE TABLE products (\n id SERIAL PRIMARY KEY,\n sku VARCHAR(50) UNIQUE NOT NULL,\n name VARCHAR(255) NOT NULL,\n price DECIMAL(10,2),\n status ENUM("active", "inactive")\n);\n\n-- Orders (with denormalized total)\nCREATE TABLE orders (\n id SERIAL PRIMARY KEY,\n customer_id INT REFERENCES customers(id),\n total DECIMAL(10,2),\n status ENUM("pending", "paid", "shipped"),\n created_at TIMESTAMP DEFAULT NOW()\n);\n```\n\n**Recommended Indexes**\n- orders(customer_id, created_at)\n- products(sku)\n- order_items(order_id, product_id)\n\n**Normalization Level:** 3NF recommended
Reviews (12)
This prompt understands data patterns. The insights are invaluable!
Essential for data professionals. Saves hours of analysis work.
Incredible data assistant. My reports have improved significantly.
Solid for data interpretation. Would appreciate more chart options.
This prompt delivers actionable insights. Highly recommended!
Nice prompt for data work. Good balance of depth and clarity.
Solid for data interpretation. Would appreciate more chart options.
Game-changer for data analysis. The quality is consistently high!
This data analysis prompt is exceptional! Clear insights every time.
Great data analysis prompt with clear output. Works well overall.
FREE with subscription
Learn More →- Instant download after purchase
- Lifetime access
- 30-day money-back guarantee
About the Seller
Mark-T AI
Member since Feb 15, 2025
Official Mark-T marketplace prompts. Curated collection of high-quality AI prompts for ChatGPT, Claude, Midjourney, DALL-E, Stable Diffusion, and Sora. Trusted by thousands of creators and professionals.