D427 - 2. MySQL Terms

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

1/77

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 11:17 PM on 3/31/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

78 Terms

1
New cards

MySQL

An open-source relational database management system developed by Oracle; widely used for web applications and is the DBMS used in WGU D427.

2
New cards

SQL

Structured Query Language; the standard language used to communicate with relational databases for querying and manipulating data.

3
New cards

Database Instance

A single running copy of the MySQL server process managing one or more databases.

4
New cards

MySQL Workbench

A graphical user interface (GUI) tool for MySQL that allows users to design schemas, write queries, and administer databases visually.

5
New cards

SELECT Statement

The primary DML statement used to retrieve data from one or more tables in a MySQL database.

6
New cards

FROM Clause

Specifies the table(s) from which data is retrieved in a SELECT statement.

7
New cards

WHERE Clause

Filters rows returned by a SELECT, UPDATE, or DELETE statement based on a specified condition.

8
New cards

ORDER BY Clause

Sorts the result set of a SELECT statement by one or more columns in ascending (ASC) or descending (DESC) order.

9
New cards

GROUP BY Clause

Groups rows that have the same values in specified columns into summary rows, typically used with aggregate functions.

10
New cards

HAVING Clause

Filters the results of a GROUP BY clause based on a condition applied to aggregated values; similar to WHERE but for grouped data.

11
New cards

LIMIT Clause

Restricts the number of rows returned by a SELECT statement in MySQL.

12
New cards

DISTINCT Keyword

Eliminates duplicate rows from the result set of a SELECT statement.

13
New cards

AS Keyword (Alias)

Renames a column or table with a temporary alias in the result set for readability.

14
New cards

LIKE Operator

Used in a WHERE clause to search for a pattern in a column using wildcard characters (% and _).

15
New cards

Wildcard %

Used with LIKE to match zero or more characters in a string pattern.

16
New cards

Wildcard _

Used with LIKE to match exactly one character in a string pattern.

17
New cards

IN Operator

Used in a WHERE clause to specify multiple possible values for a column; equivalent to multiple OR conditions.

18
New cards

NOT IN Operator

Excludes rows where the column value matches any value in a specified list.

19
New cards

BETWEEN Operator

Filters values within a specified inclusive range in a WHERE clause.

20
New cards

IS NULL

Tests whether a column value is NULL in a WHERE clause.

21
New cards

IS NOT NULL

Tests whether a column value is not NULL in a WHERE clause.

22
New cards

INNER JOIN

Returns only the rows where there is a matching value in both tables based on the join condition.

23
New cards

LEFT JOIN

Returns all rows from the left table and the matched rows from the right table; unmatched right-table columns return NULL.

24
New cards

RIGHT JOIN

Returns all rows from the right table and the matched rows from the left table; unmatched left-table columns return NULL.

25
New cards

FULL OUTER JOIN

Returns all rows from both tables; unmatched rows from either side return NULL for the other side's columns. MySQL simulates this with UNION of LEFT and RIGHT JOIN.

26
New cards

CROSS JOIN

Returns the Cartesian product of two tables; every row in the left table is combined with every row in the right table.

27
New cards

Self-Join

A join where a table is joined to itself; used to query hierarchical or comparative data within the same table.

28
New cards

Equijoin

A join that uses the equality operator (=) to match rows between two tables based on a common column.

29
New cards

ON Clause

Specifies the join condition between columns of two tables in a JOIN statement.

30
New cards

USING Clause

Simplifies a JOIN condition when both tables share a column with the same name; e.g., JOIN table2 USING (column_name).

31
New cards

Natural Join

Automatically joins tables based on columns with the same name and compatible data types; generally avoided in practice due to ambiguity.

32
New cards

COUNT()

An aggregate function that returns the number of rows (or non-NULL values) in a result set.

33
New cards

SUM()

An aggregate function that returns the total sum of a numeric column.

34
New cards

AVG()

An aggregate function that returns the arithmetic mean of a numeric column.

35
New cards

MIN()

An aggregate function that returns the smallest value in a column.

36
New cards

MAX()

An aggregate function that returns the largest value in a column.

37
New cards

ROUND()

A MySQL scalar function that rounds a numeric value to a specified number of decimal places.

38
New cards

CONCAT()

A MySQL string function that joins two or more strings together.

39
New cards

LENGTH()

A MySQL string function that returns the number of characters in a string.

40
New cards

UPPER()

A MySQL string function that converts all characters in a string to uppercase.

41
New cards

LOWER()

A MySQL string function that converts all characters in a string to lowercase.

42
New cards

TRIM()

A MySQL string function that removes leading and trailing spaces (or specified characters) from a string.

43
New cards

SUBSTRING()

A MySQL string function that extracts a portion of a string starting at a given position for a given length.

44
New cards

NOW()

A MySQL date/time function that returns the current date and time.

45
New cards

CURDATE()

A MySQL date function that returns the current date without time.

46
New cards

YEAR()

A MySQL date function that extracts the year from a date or datetime value.

47
New cards

MONTH()

A MySQL date function that extracts the month number from a date or datetime value.

48
New cards

DAY()

A MySQL date function that extracts the day of the month from a date or datetime value.

49
New cards

IFNULL()

A MySQL control flow function that returns a substitute value if the first expression is NULL.

50
New cards

COALESCE()

Returns the first non-NULL value in a list of expressions; more flexible than IFNULL() with multiple arguments.

51
New cards

CASE Expression

A conditional expression in MySQL that evaluates conditions and returns a value when the first matching condition is found, similar to if-else logic.

52
New cards

UNION

Combines the result sets of two or more SELECT statements, removing duplicate rows by default.

53
New cards

UNION ALL

Combines the result sets of two or more SELECT statements, including all duplicate rows.

54
New cards

EXISTS

A subquery operator that returns TRUE if the subquery produces at least one row.

55
New cards

NOT EXISTS

Returns TRUE if the subquery produces no rows.

56
New cards

ANY / SOME

Compares a value to each value returned by a subquery; returns TRUE if any comparison is true.

57
New cards

ALL

Compares a value to every value returned by a subquery; returns TRUE only if all comparisons are true.

58
New cards

VARCHAR

A variable-length character string data type; stores up to the specified maximum number of characters.

59
New cards

CHAR

A fixed-length character string data type; always stores exactly the specified number of characters, padding with spaces if necessary.

60
New cards

INT

A standard integer data type in MySQL, storing whole numbers from -2,147,483,648 to 2,147,483,647.

61
New cards

TINYINT

An integer data type storing very small whole numbers; often used for Boolean-like flags (0 or 1).

62
New cards

SMALLINT

An integer data type storing small whole numbers (-32,768 to 32,767).

63
New cards

BIGINT

An integer data type for very large whole numbers.

64
New cards

DECIMAL

An exact numeric data type for storing numbers with a fixed number of decimal digits; ideal for monetary values (e.g., DECIMAL(10,2)).

65
New cards

FLOAT

An approximate floating-point numeric data type.

66
New cards

DOUBLE

A double-precision floating-point numeric data type.

67
New cards

DATE

Stores a date value in YYYY-MM-DD format.

68
New cards

DATETIME

Stores a date and time value in YYYY-MM-DD HH:MM:SS format.

69
New cards

TIMESTAMP

Stores a datetime value; automatically records the current date/time on INSERT or UPDATE when configured.

70
New cards

BOOLEAN

Stores TRUE or FALSE; MySQL stores this as TINYINT(1) where 0 is FALSE and 1 is TRUE.

71
New cards

TEXT

A large-object data type for storing long strings of text.

72
New cards

ENUM

A string data type where the value must be chosen from a predefined list of allowed values.

73
New cards

SHOW DATABASES

A MySQL command that lists all databases on the current server instance.

74
New cards

SHOW TABLES

A MySQL command that lists all tables in the currently selected database.

75
New cards

SHOW COLUMNS

A MySQL command that displays the column names and data types of a specified table; also accessible via DESCRIBE or DESC.

76
New cards

USE

A MySQL command that selects a specific database to work with.

77
New cards

DESCRIBE (DESC)

A MySQL command that displays the structure of a table, including column names, data types, and constraints.

78
New cards