how to drop table in MySQL database

Himmat Kumar Nov 25, 2024, 1:59 PM
MySQL
Views 303
Blog Thumbnail

Remove table using SQL Query in MySQL

Remove table in my sql database using SQL Query in MySQL

Steps:

  1. Open phpMyAdmin in your system.
  2. Click on the SQL tab.
  3. Paste the query

    DROP TABLE Students;

  4. how to create table in mysql database
  5. Click the "Go" button.
  6. You should see a success message.
  7. Refresh the page to check if the Table is Remove successfully.
  8. how to create table in mysql database

Syntax

DROP TABLE Table_name;

Note : In table name not allow " " space in beetween name use "_" for space.
column1 to column4 is coloum name you can modify and name give you according requirement.
datatype data type basically define a type of column . Example column1 is int show store integer value.

Example of remove a tabLe in MySQL:

You Can follow statement and remove table in Mysql

DROP TABLE Students;

when run this statement in sql remove a table in your database.

after delete table refresh database and see table is deleted :
how to create table in mysql database

Comments

Please login to leave a comment.

No comments yet.

Related Posts

what-is-mysql-database
239 viewsMySQL
Himmat Kumar Nov 7, 2024, 4:40 AM

What is MySQL database?

how-to-create-database-in-MySQL
238 viewsMySQL
Himmat Kumar Nov 7, 2024, 7:46 AM

How to create database in MySQL

how-to-drop-database-in-mysql
254 viewsMySQL
Himmat Kumar Nov 12, 2024, 2:56 AM

How to drop database in MySQL ?

how-to-create-table-in-mysql
422 viewsMySQL
Himmat Kumar Nov 12, 2024, 3:56 AM

how to create table in MySQL database?

pages-vs-app-router-key-differences--migration-mindset
0 viewsnextjs
Himmat Regar Aug 16, 2025, 7:41 AM

Pages vs App Router: Key Differences & Migration Mindse...

nextjs-explained-beginners-guide-2025
2066 viewsnextjs
Himmat Regar Jun 27, 2025, 10:12 AM

Next.js Explained: A 2025 Beginner’s Guide to the React...

image-optimization-nextjs-everything-you-should-know
2509 viewsnextjs
Himmat Regar Jun 29, 2025, 5:20 PM

Image Optimization in Next.js: Everything You Should Kn...

mastering-dynamic-routes-nextjs
2280 viewsnextjs
Himmat Regar Jul 14, 2025, 5:24 PM

Mastering Dynamic Routes in Next.js: [id].js & App Rout...

nextjs-incremental-static-regeneration-isr-guide
2164 viewsnextjs
Himmat Regar Jun 29, 2025, 5:18 PM

Incremental Static Regeneration (ISR) Explained with Ex...

catch-all-optional-catch-all-nextjs
2329 viewsnextjs
Himmat Regar Jul 14, 2025, 6:00 PM

Mastering Catch-All & Optional Catch-All Routes in Next...