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.
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:
Write the SQL statement and save it
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!