MySQL

How to drop a temporary table in MySQL

In this tutorial, we are going to see how to drop a temporary table in MySQL. By default, all temporary tables are deleted by MySQL when you log out of MySQL. However, if you want to delete them in the meantime, then you need to run the DROP TABLE command.

The following example deletes the temporary table that we have created in this tutorial:
 

How to drop a temporary table in MySQL
DROP TABLE Product;

 

mcqMCQPractice competitive and technical Multiple Choice Questions and Answers (MCQs) with simple and logical explanations to prepare for tests and interviews.Read More

Leave a Reply

Your email address will not be published. Required fields are marked *