Académique Documents
Professionnel Documents
Culture Documents
Kelas : TI MSU 3A
NIM : 4817090462
Vocabulary
1. AVG : Used with columns that store numeric data to compute the average.
Example:
Query:
Hasil :
Example:
Query :
Hasil :
3. MAX : Used with columns that store any data type to return the maximum value.
Example :
Query :
Hasil :
4. MIN : Used with columns that store any data type to return the minimum value.
Example:
Query:
Hasil :
Example :
Query :
Hasil :
6. SUM : Used with columns that store numeric data to find the total or sum of values.
Example:
Query :
Hasil :
7. VARIANCE : Used with columns that store numeric data t calculate the spread of data around the
mean.
Example:
Query:
Hasil :
2. Query :
Hasil :
3. Query :
Hasil :
4. Query :
Hasil :
5. Query:
Hasil :
6. 1(One)
7.
9. Query :
10. Query:
Hasil :
Vocabulary
1. COUNT
2. DISTINCT
3. COUNT(DISTINCT Expression)
1.
2.
3.
4.
5.
- COUNT(*) – all row count is 3, and COUNT(auth_expense_amt) is 1. That’s why above query says 2 are
out of any bound due to auth_expense_amt specified.
6. 4 and 2
7.
Vocabulary
1. Having
2. Group By
2. a.
b.
c.
d.
3.
5.
6.
9.2 GROUP FUNCTION
Vocabulary
1. Rollup
2. Cube
3. Grouping sets
Vocab
Union
TO_CHAR(Null) atau TO_DATE(NULL) atau TO_NUMBER(NULL)
Union All
Set operators
Minus
Intersect