Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+8 votes
asked in CSC215 by (8 points)
edited by

1 Answer

+4 votes

It depends on what you're trying to delete. If you want to delete a specific value or row based on an ID you can use the DELETE FROM table_name WHERE value_to_delete.

The TRUNCATE function will delete all the values from a certain table. I attached the link to the website I used.

https://beginner-sql-tutorial.com/sql-delete-statement.htm

answered by (8 points)
...