Home >Database >navicat >How to execute sql in navicat

How to execute sql in navicat

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-08-03 13:45:207282browse

How to execute sql in navicat

First, use Navicat for MySQL to connect to the database and create a database.

How to execute sql in navicat

Then click Query. There are two queries here. You can click on any one.

How to execute sql in navicat

Since we want to execute the SQL statement, we need to create a new query form first.

How to execute sql in navicat

Related recommendations: "Navicat for mysql graphic tutorial"

As shown in the picture, this is the query editor, here You can write SQL statements to practice.

How to execute sql in navicat

As shown in the picture, I will write a random SQL statement to demonstrate. What I wrote was a statement to create a new data table.

How to execute sql in navicat

#After writing the exercise SQL statement, click the run button, the green icon in the upper left corner is.

How to execute sql in navicat

#Then such an "impact" message will pop up, indicating that it is running.

How to execute sql in navicat

#Then remember to refresh the table. Right-click on the table to refresh.

How to execute sql in navicat

At this time you can see that the SQL statement works.

How to execute sql in navicat

The above is the detailed content of How to execute sql 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
Previous article:How to save navicatNext article:How to save navicat