Design a Database Schema
CREATE TABLE statements with constraints, indexes, and the reasoning behind each choice.
Advanced1 min read
- Languages
- SQL
Customize
Fill these in and the prompt below updates as you type. Anything you leave blank stays as a placeholder.
Which engine this runs on
The business area this code serves
What the solution must satisfy, listed out
Your prompt
Design a {{database}} schema for the following domain. Domain description: {{domain}} Requirements: {{requirements}} Output: - CREATE TABLE statements with constraints and indexes - Brief explanation of key design decisions - Any denormalization choices and why