🎨Diagram makerDraw tables, keys and relationships — the SQL writes itself.
🗂️
Your canvas is empty
Add your first table, or open a ready-made example to explore.
🔑 PK Primary key
🔗 FK Foreign key
📜SQL codeGenerated live from your diagram. Each card is one table.
How to read it:
PRIMARY KEY uniquely identifies each row
FOREIGN KEY … REFERENCES links to a row in another table
🧪SQL practiceType SQL, press Run, see what happens. Mistakes are safe — use Undo.
Press Run, or Ctrl/Cmd + Enter
🎓LearnDesign checks on your diagram, exercises, concepts and a SQL cheat sheet.