ERD Studio

Loading SQLite…
SQL · what the database understands. Edit it and the diagram follows.
1
Ready.
  1. 1Add tables
  2. 2Link them
  3. 3Add records
  4. 4Save your work
Start your ER diagram
Click Add table or double-click here.
You can also open an example from the Open menu.
Crow's foot notation
Exactly one (FK is NOT NULL)
Zero or one (FK allows NULL)
Zero or many (FK side)
Solid line: identifying (the FK is part of the PK).
Dashed line: non-identifying.
PK = primary key · FK = foreign key · U = unique
Run INSERT, SELECT, UPDATE, DELETE or even ALTER TABLE here. Schema changes you make here also update the diagram.