This SQL ER Diagram Model captures data structures. An Entity Relationship Diagram depicts a database's entities (tables) and the relationships between those tables. An Entity Relationship Diagram is required for a good database design. Before writing a single line of database code, you can visually design or model your database. You create entities (tables), attributes (columns), and relationships between them. A data model/diagram improves developers' and users' understanding of database architecture. A data model can also assist the end user in ensuring that their data requirements have been accurately captured.