mysql creates a new table based on the query results

 

In the mysql environment, the query result is built into a new table

create table result_table select * from init_table;

In the above code

result_table is the name of the result table to be created

* Is the content to be searched, it can also be multiple fields

init_table is the original table

 

Guess you like

Origin blog.csdn.net/lyw5200/article/details/109245161