Home>Article>Database> How to save query statements in mysql

How to save query statements in mysql

anonymity
anonymity Original
2019-05-05 17:39:52 10726browse

Mysql method of saving query statements: first copy the sql query statement into a text file; then change the text file into a sql script file with [.sql] as the suffix. We can also use the navigate tool to save sql query statements.

How to save query statements in mysql

Mysql method of saving query statements:

(Recommended tutorial:mysql video tutorial)

Method 1:

Copy the SQL query statement directly into the text file, and use ".sql" as the suffix to form a SQL script file, as follows It can be used directly.

Method 2:

Use navicate to save the written SQL statements to facilitate future queries and improve efficiency!

New query:

How to save query statements in mysql

Write the SQL statement and save it

How to save query statements in mysql

The above is the detailed content of How to save query statements in mysql. 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