From the course: Learning MySQL Development

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Display database relationships with reverse engineering

Display database relationships with reverse engineering - MySQL Tutorial

From the course: Learning MySQL Development

Display database relationships with reverse engineering

- [Narrator] If you have only a small database then understanding the primary and foreign key relationships between tables is easy. Only a few tables means only a few relationships. However, if you have a larger, more complex database like the sample sequila database from MySQL, then understanding the foreign key relationships can be more tricky. It's possible to go from table to table looking at indexes to find foreign keys but it's slow and it's easy to lose track. Fortunately, the MySQL Workbench has a better solution, database models. A database model contains all the structural information about the database. It's tables, views, functions, and everything else including the relationships between tables. It does not, however, contain any data but that's the point. It's small and portable and it doesn't require any connection to the DBMS. You can send a database model over email to a colleague for review for instance.…

Contents