Home >Database >navicat >How to use navicat view

How to use navicat view

(*-*)浩
(*-*)浩Original
2019-08-17 13:50:238975browse

Navicat for mysql is a view management tool for the mysql database. It allows us not to face the small screen like dos.

How to use navicat view

Open the navicat for mysql software and open the corresponding database. Then click [View]. (Recommended tutorial: navicat tutorial)

How to use navicat view

Click [New View]. Here you can create it through sql statement.

How to use navicat view

How to use navicat view

Of course, you can also select the navicat for mysql view creation tool to create it. As shown in the picture, move the tables one by one. If the primary and foreign key relationships of your table design are OK, they will be automatically connected online.

How to use navicat view

Then check the content you want to display as shown in the picture, and click Save. (Note that the selection must be made, it cannot be empty)

How to use navicat view

After using the tool to create the view, you can click Define to view the corresponding SQL statement of the view just now. This is navicat for Mysql generates it for you.

How to use navicat view

Then click on the view under the database, and you can view the effect of the view you just created. You can see that view is essentially a composite table.

How to use navicat view

#When creating a view, make sure that the relationships between the tables are correct.

The above is the detailed content of How to use navicat view. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn