Last answered:

13 Nov 2023

Posted on:

08 May 2023

0

Resolved: Drop table from the database

How about deleting only data?

4 answers ( 2 marked as helpful)
Instructor
Posted on:

10 May 2023

2

Hi Snoor!
Thanks for reaching out.


The TRUNCATE TABLE command deletes the data inside a table, but not the table itself. The syntax is:

TRUNCATE TABLE <table_name>;


Hope this helps.
Best,
Tsvetelin

Posted on:

04 Jun 2023

1

DROP TABLE sales;

Posted on:

09 Nov 2023

0

DROP TABLE sales;

Posted on:

13 Nov 2023

0

Doped,,, I am enjoyig this course, Thanks a lot

Submit an answer