BASICS Flashcards
(26 cards)
Used to retrieve data from a database
SELECT
Specifies the table(s) to retrive data from
FROM
Filters the results based on a specified condition
WHERE
Adds new data into a table
INSERT INTO
Modifies existing data in a table
UPDATE
Removes data from a table
DELETE FROM
=
Equal to
<
Less than
<>
Noyt equal to
>
Greater than
<=
Less than or equal to
> =
Greater than or equal to
AND
Logical AND
OR
Logical OR
NOT
Logical NOT
Returns the number of rows that match a specified criteria
COUNT
Returns the total sum of a numeric column
SUM
Returns the average value of a numeric column
AVG
Returns the smallest value of the selected column
MIN
Returns the largest value of the selected column
MAX
Sorts the result set in ascending or descending order
ORDER BY
Group rows that have the same values into summary rows
GROUP BY
Filters the results of a GROUP BY clause
HAVING
Returns only unique values
DISTINCT