SQL Commands Flashcards

1
Q

How do you add columns to a table?

A

ALTER TABLE dummy_table ADD dummy_column varchar2(100)

varchar2(100) is just to set the data type and character count.

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

How do you insert records.

A

INSERT INTO dummy_table VALUES (‘x’, ‘y’, ‘z’)

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