HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
The DROP TABLE statement is used to drop an existing table in a database
The DROP TABLE
statement is used to drop an existing table in a database.
Syntax
DROP TABLE table_name;
Note: Be careful before dropping a table. Deleting a table will result in loss of complete information stored in the table!
The following SQL statement drops the existing table "Shippers":
DROP TABLE Shippers;
The TRUNCATE TABLE
statement is used to delete the data inside a table, but
not the table itself.
Syntax
TRUNCATE TABLE table_name;
Write the correct SQL statement to delete a table called Persons
.
Persons;