Home>Article>Database> Use the navicat tool to quickly generate SQL statements

Use the navicat tool to quickly generate SQL statements

王林
王林 forward
2021-03-03 10:20:35 11527browse

Use the navicat tool to quickly generate SQL statements

The most important thing in learning a database is to be proficient in the use of sql statements, but everyone who has experienced it knows that writing sql statements is a very boring thing. So is there any tool that can quickly generate sql statements according to your own needs? Of course there is, it is the familiar navicat. Many friends may not be aware of some of its hidden usage skills. Now I will introduce to you how to use the navicat tool to quickly generate sql statements.

The usage method is as follows:

1. Create a new table statement and use the "SQL Preview" function

Create a new table in Navicat and fill in the information you need. As shown in the figure below:

Use the navicat tool to quickly generate SQL statements

Before clicking save, click "SQL Preview" to see the corresponding table creation statement:

Use the navicat tool to quickly generate SQL statements

(Learning video sharing:mysql video tutorial)

Use the navicat tool to quickly generate SQL statements

##2. Insert and update operations, look at Navicat’s status bar

Perform the desired operation in Navicat, and you can see the corresponding SQL statement in the status bar below.

Use the navicat tool to quickly generate SQL statements

Related recommendations:

navicat

The above is the detailed content of Use the navicat tool to quickly generate SQL statements. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:csdn.net. If there is any infringement, please contact admin@php.cn delete