Week 8 - SQL Part 2 Flashcards
1
Q
What does the ALTER command do in SQL?
A
The ALTER command makes changes to a table structure by adding, modifying, or dropping a column.
2
Q
What does the UPDATE command do in SQL?
A
The UPDATE command updates only data in existing rows
3
Q
What is the date structure in SQL?
A
The date structure in SQL is:
‘yyyy-mm-dd’
e.g. 8 July 2004 would be
‘2004-07-08’