BASICS Flashcards

1
Q

Used to retrieve data from a database

A

SELECT

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

Specifies the table(s) to retrive data from

A

FROM

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

Filters the results based on a specified condition

A

WHERE

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

Adds new data into a table

A

INSERT INTO

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

Modifies existing data in a table

A

UPDATE

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

Removes data from a table

A

DELETE FROM

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

=

A

Equal to

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

<

A

Less than

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

<>

A

Noyt equal to

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

>

A

Greater than

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

<=

A

Less than or equal to

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

> =

A

Greater than or equal to

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

AND

A

Logical AND

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

OR

A

Logical OR

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

NOT

A

Logical NOT

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

Returns the number of rows that match a specified criteria

A

COUNT

14
Q

Returns the total sum of a numeric column

A

SUM

15
Q

Returns the average value of a numeric column

A

AVG

16
Q

Returns the smallest value of the selected column

A

MIN

17
Q

Returns the largest value of the selected column

A

MAX

18
Q

Sorts the result set in ascending or descending order

A

ORDER BY

19
Q

Group rows that have the same values into summary rows

A

GROUP BY

20
Q

Filters the results of a GROUP BY clause

A

HAVING

21
Q

Returns only unique values

A

DISTINCT

22
Q

Searches for a pattern

A

LIKE

22
Q

Selects values within a given range

A

BETWEEN