Info management finals

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/27

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

28 Terms

1
New cards

aggregate function

performs a calculation on a set of values and

returns a single value.

2
New cards

MIN

the minimum attribute value encountered in a given

column

3
New cards

MAX

the maximum attribute value encountered in a given

column

4
New cards

COUNT

the number of rows containing non-null values

5
New cards

SUM

the sum of all values for a given column

6
New cards

AVG

the arithmetic mean (average) for a specified column

7
New cards

GROUP BY

command option is often used with aggregate

functions to group the result-set by one or more columns.

8
New cards

alias

to assign a temporary name to the column. It can also be

given to tables.

9
New cards

HAVING

command option is used to restrict the output of a

GROUP BY query by applying conditional criteria to the grouped rows.

10
New cards

YEAR

returns a four-digit year

11
New cards

MONTH

returns the number of the month

12
New cards

DAY

returns the number of the day

13
New cards

GETDATE

returns the current date and time

14
New cards

DATEADD

adds a number of selected time/date periods to

a date then returns the date

15
New cards

DATEDIFF

returns the difference between two (2) dates

16
New cards

ABS

returns the absolute value of a number

17
New cards

ROUND

rounds a number to a specified number of decimal

places

18
New cards

CEILING

returns the smallest integer value that is greater

than or equal to a number

19
New cards

FLOOR

returns the largest integer value that is less than or

equal to a number

20
New cards

JOIN

clause combines rows from two or more tables based on a

common column.

21
New cards

INNER JOIN

returns rows that have matching values in both

tables

22
New cards

LEFT JOIN

returns all rows from the left table and the

matched records from the right table. If there is no match from

the right side, the result is NULL.

23
New cards

RIGHT JOIN

returns all rows from the right table and the

matched records from the left table. If there is no match from

the left side, the result is NULL.

24
New cards

FULL JOIN

returns all records when there is a match on

either the left or right table. If there is no match, the missing

side will contain NULL.

25
New cards

CONCAT

joins two or more strings together

26
New cards

LEN

returns the number of characters in a string

27
New cards

TRIM

removes the spaces or specific characters from start

or end of a string

28
New cards

SUBSTRING

returns a part of a string