2.5f

studied byStudied by 0 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 14

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

15 Terms

1

What are the ranges for signed and unsigned TINYINT data types?

Signed range: -128 to 127; Unsigned range: 0 to 255.

New cards
2

What distinguishes a signed number from an unsigned number?

Signed numbers may be negative, while unsigned numbers cannot be negative.

New cards
3

How many bytes does a SMALLINT use, and what are its signed and unsigned ranges?

SMALLINT uses 2 bytes; Signed range: -32,768 to 32,767; Unsigned range: 0 to 65,535.

New cards
4

What is the storage size of an INTEGER or INT data type?

INTEGER or INT uses 4 bytes.

New cards
5

What is the signed range for BIGINT?

Signed range: -2,147,483,648 to 2,147,483,647.

New cards
6

What format does date and time follow?

Format: YYYY-MM-DD hh:mm:ss with a range from '1000-01-01 00:00:00' to '9999-12-31 23:59:59'.

New cards
7

Define DECIMAL(M,D).

Exact decimal number where M = number of significant digits and D = number of digits after the decimal point.

New cards
8

What is the storage size for DOUBLE?

DOUBLE uses 8 bytes.

New cards
9

Describe the character data type CHAR(N).

CHAR(N) is a fixed-length string of length N, where 0 ≤ N ≤ 255.

New cards
10

What storage size does VARCHAR(N) use?

VARCHAR(N) is variable-length string with a maximum of N characters, using length of characters + 1 bytes.

New cards
11

What data type is used to represent approximate decimal numbers?

FLOAT is used to represent approximate decimal numbers.

New cards
12

What are the signed ranges for MEDIUMINT?

Signed range for MEDIUMINT is -8,388,608 to 8,388,607.

New cards
13

What data type uses 3 bytes and has a format 'hh:mm:ss'?

TIME data type.

New cards
14

What type of data does JSON and XML represent?

Both JSON and XML are used to contain textual data in a structured format.

New cards
15

What is the approximate range for FLOAT data type?

Approximate range for FLOAT is -3.4E+38 to 3.4E+38.

New cards
robot