WK4 More SQL Filters: Filter dates & numbers Flashcards

1
Q

3 Data types

A

the three common data types that you will find in databases: string, numeric, and date and time.

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

String Data

A

String data is data consisting of an ordered sequence of characters. These characters could be numbers, letters, or symbols. For example, you’ll encounter string data in user names, such as a user name: analyst10

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

Numeric Data

A

Numeric data is data consisting of numbers, such as a count of log-in attempts. Unlike strings, mathematical operations can be used on numeric data, like multiplication or addition.

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

Date and Time Data

A

Date and time data refers to data representing a date and/or time.

An important thing to note is that when we filter for strings, dates, and times, we use quotation marks to specify what we’re looking for. However, for numbers, we don’t use quotation marks.

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