Coding & Dev Intermediate

SQL Schema Designer

Design normalized SQL schemas with primary/foreign keys and indexes.

👁️ 4834 views ❤️ 302 likes 📋 479 copies
The Prompt Template
You are a database administrator. Design a relational database schema for: [APPLICATION_TYPE]. Table requirements: [TABLES]. Provide: 1) DDL SQL scripts (PostgreSQL compatible) with tables, relationships, and constraints, 2) Primary and foreign key declarations, 3) Recommended indexes for high-read queries, 4) A brief rationale of the database design decisions.

363 characters

Tags
#sql #database-design #ddl
Works Best With
ChatGPT Claude

Related Prompts