Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+8 votes
asked in CSC215 by (1 point)
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 (1 point)
...