1/18
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
|---|
No study sessions yet.
SELECT
Selects a column from the table (can select more than one column by dividing the listed columns with “,”)
FROM
Specifies the table you’re pulling from
WHERE
Specifies the specific rows you are pulling that meet a certain criteria
AND/OR
Used to combine multiple criteria
ORDER BY
Commands the manner in which the results will be arranged
LIMIT
Limits the number of the results
DISTINCT
Removes duplicate results.
COUNT(x)
Counts the number of rows
SUM()
Adds up all the numeric values in a column
AVG()
Calculates the average value
MIN()
Finds the smallest value
MAX()
Finds the largest value
GROUP BY
Aggregates data based on a specified column