SQL Flashcards

studied byStudied by 0 people
0.0(0)
Get a hint
Hint

SELECT

1 / 61

flashcard set

Earn XP

62 Terms

1

SELECT

Extracts data from a database

New cards
2

UPDATE

Modifies existing records in a table

New cards
3

DELETE

Removes existing records in a table

New cards
4

INSERT INTO

Adds new data into a database

New cards
5

CREATE DATABASE

Establishes a new database

New cards
6

ALTER DATABASE

Adjusts a database

New cards
7

CREATE TABLE

Generates a new table

New cards
8

ALTER TABLE

Modifies a table

New cards
9

DROP TABLE

Deletes a table

New cards
10

CREATE INDEX

Establishes an index (search key)

New cards
11

DROP INDEX

Removes an index

New cards
12

SELECT DISTINCT

Returns distinctly different values

New cards
13

COUNT()

Provides a count of data

New cards
14

WHERE

Sets criteria to filter data

New cards
15

=

Represents equal in SQL

New cards
16

>

Denotes greater than

New cards
17

<

Denotes less than

New cards
18

>=

Denotes greater than or equal to

New cards
19

<=

Denotes less than or equal to

New cards
20

<>

Denotes not equal

New cards
21

BETWEEN

Specifies a range

New cards
22

LIKE

Searches for a pattern

New cards
23

IN

Specifies multiple possible values for a column

New cards
24

ORDER BY

Sorts data in ascending or descending order

New cards
25

AND

Filters records based on multiple conditions

New cards
26

OR

Filters records based on any of the conditions

New cards
27

NOT

Negates a condition

New cards
28

NULL

Represents a field with no value

New cards
29

IS NULL

Checks for NULL values

New cards
30

IS NOT NULL

Checks for non-NULL values

New cards
31

SET

Modifies existing records in a table

New cards
32

MIN()

Returns the smallest value in a column

New cards
33

MAX()

Returns the largest value in a column

New cards
34

SUM()

Calculates the total sum of a numerical column

New cards
35

AVG()

Computes the average value of a numerical column

New cards
36

JOIN

Combines rows from two or more tables based on a related column

New cards
37

SELF JOIN

Joins a table to itself

New cards
38

UNION

Combines the result-set of multiple SELECT statements

New cards
39

ALL

Compares a value with every value in a subquery

New cards
40

AND

Combines conditions where all must be true

New cards
41

ANY

Compares a value with any value in a subquery

New cards
42

BETWEEN

Checks if an operand is within a range

New cards
43

EXISTS

Checks if a subquery returns records

New cards
44

IN

Checks if an operand is in a list of expressions

New cards
45

LIKE

Matches a pattern

New cards
46

NOT

Negates a condition

New cards
47

OR

Combines conditions where at least one must be true

New cards
48

SOME

Compares a value with some values in a subquery

New cards
49

+=

Adds and assigns

New cards
50

-=

Subtracts and assigns

New cards
51

*=

Multiplies and assigns

New cards
52

/=

Divides and assigns

New cards
53

%=

Modulo and assigns

New cards
54

&

Bitwise AND

New cards
55

|

Bitwise OR

New cards
56

^

Bitwise exclusive OR

New cards
57

+

Addition

New cards
58

-

Subtraction

New cards
59

*

Multiplication

New cards
60

/

Division

New cards
61

%

Modulo

New cards
62

ALTER TABLE

Adds, deletes, or modifies columns in a table

New cards

Explore top notes

note Note
studied byStudied by 8 people
... ago
4.0(1)
note Note
studied byStudied by 14 people
... ago
5.0(1)
note Note
studied byStudied by 12 people
... ago
5.0(1)
note Note
studied byStudied by 11 people
... ago
5.0(1)
note Note
studied byStudied by 100 people
... ago
5.0(3)
note Note
studied byStudied by 12 people
... ago
5.0(1)
note Note
studied byStudied by 224 people
... ago
5.0(2)
note Note
studied byStudied by 158 people
... ago
5.0(2)

Explore top flashcards

flashcards Flashcard (20)
studied byStudied by 3 people
... ago
5.0(1)
flashcards Flashcard (25)
studied byStudied by 3 people
... ago
5.0(1)
flashcards Flashcard (21)
studied byStudied by 2 people
... ago
5.0(1)
flashcards Flashcard (25)
studied byStudied by 24 people
... ago
5.0(1)
flashcards Flashcard (91)
studied byStudied by 13 people
... ago
5.0(1)
flashcards Flashcard (144)
studied byStudied by 1 person
... ago
5.0(1)
flashcards Flashcard (54)
studied byStudied by 243 people
... ago
4.5(11)
flashcards Flashcard (21)
studied byStudied by 30 people
... ago
5.0(1)
robot