DB Studio
🎨Diagram makerDraw tables, keys and relationships — the SQL writes itself.
🔑 PK Primary key 🔗 FK Foreign key one zero or many Drag a header to move · tap a column to trace its link
📜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.