Learn: Info data study guide

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/28

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 2:36 AM on 10/2/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

29 Terms

1
New cards

SQL

Structured Query Language; used to retrieve and work with data in databases.

2
New cards

SELECT

Specifies which columns you want to see.

3
New cards

FROM

Specifies which table you are getting data from.

4
New cards

WHERE

Filters individual rows based on a condition.

5
New cards

GROUP BY

Groups rows that have the same value, often used with aggregate functions.

6
New cards

HAVING

Filters groups after GROUP BY; commonly used with AVG, SUM, COUNT, MAX, or MIN.

7
New cards

ORDER BY

Sorts the results.

8
New cards

ASC

Sorts from lowest to highest or A to Z.

9
New cards

DESC

Sorts from highest to lowest or Z to A.

10
New cards

LIMIT

Restricts the number of rows returned.

11
New cards

AVG()

Calculates the average of a column.

12
New cards

SUM()

Adds up the values in a column.

13
New cards

COUNT()

Counts rows or values.

14
New cards

MAX()

Finds the largest/highest value.

15
New cards

MIN()

Finds the smallest/lowest value.

16
New cards

Single quotes

Used around text values and usually date values in SQL.

17
New cards

Text example

'Finance' — text values go inside single quotes.

18
New cards

Date format

'YYYY-MM-DD', such as '2026-10-01'.

19
New cards

WHERE vs HAVING

WHERE filters individual rows; HAVING filters groups/aggregates.

20
New cards

Highest

Usually means ORDER BY column DESC.

21
New cards

Lowest

Usually means ORDER BY column ASC.

22
New cards

Top 3

Usually means ORDER BY ... DESC LIMIT 3.

23
New cards

Bottom 3

Usually means ORDER BY ... ASC LIMIT 3.

24
New cards

"for each department"

Usually means GROUP BY department.

25
New cards

"average salary"

Use AVG(salary).

26
New cards

"total salary"

Use SUM(salary).

27
New cards

"number of employees"

Use COUNT(*).

28
New cards

"highest salary"

Use MAX(salary) or ORDER BY salary DESC depending on what the question asks.

29
New cards

"lowest salary"

Use MIN(salary) or ORDER BY salary ASC depending on what the question asks.