Week 9 Flashcards

1
Q

What do the arithmetics all perform in sql

A

operations within parentheses
power operations
multiplications and divisions
additions and subtraction

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

What are some number data types?

A

NUMBER, BIGINT, INT, SMALLINT, TINYINT, BIT

•REAL, FLOAT, DECIMAL – differ in precision•MONEY

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

What are character types?

A

CHAR(20)– fixed length

VARCHAR(40)– variable length

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

Like operator contains two special symbols which are:

A
%  = any sequence of characters
_   = any single character
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Types of aggregation operations:

A

sum, count, min, max, avg

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

What are aggregation functions

A

aggregate functions perform a calculation on a set of values and return a single value. use Group By and Select

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