Tables & Data Types Flashcards

Creating and Editing Tables (Schema)

1
Q

INT

A

Integer

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

DECIMAL (M,N)

A

Decimals. (M) Total number of digits, (N) Digits after the decimal point

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

VARCHAR (1)

A

String - (num)Max number of characters allowed

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

BLOB

A

Binary Large Object - Stores large data (images, etc)

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

DATE

A

YYYY-MM-DD

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

TIMESTAMP

A

YYYY-MM-DD HH:MM:SS - used for recording

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

ALL CAPS

A

Convention for typing RESERVED WORDS. Easily distinguish between code and general text

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