125
Node.js MySQL Drop Table
The DROP TABLE command is used to delete or drop a table.
Let’s drop a table named employee2.
Create a js file named “delete” in DBexample folder and put the following data into it:
Now open command terminal and run the following command:
Verify that the table employee2 is no more in the database.
Next TopicNode.js vs Angularjs