In MySQL, I would like to create a new table with all the information in this query:
select * into consultaa2 from SELECT CONCAT( \'UPDATE customers SET cus
You can do it like this:
CREATE TABLE tablename SELECT * FROM othertable;
tablename is the name of the new table you want to create, SELECT * FROM othertable is the query that returns the data the table should be created from.
tablename
SELECT * FROM othertable