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.

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

What does the UPDATE command do in SQL?

A

The UPDATE command updates only data in existing rows

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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’

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