Home  >  Article  >  Database  >  How to create a view in navicat

How to create a view in navicat

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-08-05 13:21:394495browse

How to create a view in navicat

Open the navicat for mysql software and open the corresponding database. Then click View.

How to create a view in navicat

Click to create a new view. Here you can create it through sql statement.

How to create a view in navicat

How to create a view in navicat

Related recommendations: "Navicat for mysql usage graphic tutorial"

Of course You can choose 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 automatically be connected online.

How to create a view in navicat

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 create a view in navicat

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 create a view in navicat

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

How to create a view in navicat

The above is the detailed content of How to create a view in navicat. 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