MySQL – Beginning Temporary Tables in MySQL
- by Pinal Dave
MySQL supports Temporary tables to store the resultsets temporarily for a given connection. Temporary tables are created with the keyword TEMPORARY along with the CREATE TABLE statement.
Let us create the temporary table named Temp
CREATE TEMPORARY TABLE TEMP
(id INT);
Now you can find out the column names using DESC command
DESC TEMP;
The above…