SQL-Delete Flashcards

1
Q

How do you delete rows from a database table?

A

Using the DELETE statement followed by the FROM statement and the name of the table in double quotes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How do you accidentally delete all rows from a table?

A

If you do not specify which row/rows to delete

How well did you know this?
1
Not at all
2
3
4
5
Perfectly