SQL Data Update Flashcards
1
Q
What SQL statement is used to add new data?
A
INSERT
2
Q
What clause is used to filter which rows to delete or update?
A
WHERE
3
Q
What happens if you omit the WHERE clause in a DELETE?
A
All rows in the table will be deleted.
4
Q
True or False: You must always list column names in an INSERT statement.
A
False. It’s optional if you’re inserting into all columns in order.
5
Q
How do you increase a numeric column value by 10%?
A
SET column = column * 1.10