This SQL ER Diagram depicts the logic within a database and how individual components interact (Visual Paradigm). An ER diagram, similar to a storyboard for a film, shows the wireframe of internal database structures to aid in understanding, improving efficiency, and debugging logical errors. The entities, attributes, and relationships between them are the main components of an ER diagram. Within Amazon's complex systems, for example, there would be an entity for customer listing attributes such as name, address, payment, and email. Once an order has been placed and is ready for shipment, the shipping database will query the customer database to retrieve information needed to complete the order and ship the package.