3.9 Drop table from MYSQL database
Drop table from database: -
- The drop command affects the structure of the table, not the data.
- It is used to delete an existing table from the database.
- We use the “DROP TABLE table_name” command statement to delete a table.
- The SQL command to delete the table from the database with Python code is:
Example: -
final : -