Unit 2 Flashcards

1
Q

SQL requires the use of the INSERT command to enter data into a table.

A

Inserting rows

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

command is used to list the contents of a table

A

Select statements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

is a set-oriented command

A

DELETE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

To add multiple rows to a table, using another table as the source of the data

A

INSERT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

standard SQL allows the use of special operators in conjunction with the WHERE clause

A

ANSI

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Used to check whether an attribute value is within a range

A

BETWEEN

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Used to check whether an attribute value is null

A

IS NULL

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Used to check whether an attribute value matches a given string pattern

A

LIKE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Used to check whether an attribute value matches any value within a value list

A

IN

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Used to check whether a subquery returns any rows

A

EXISTS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

means any and all following or preceding characters are eligible

A

%

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

means any single character may be substituted

A

_

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

means any single character within a range or a set (sql server)

A

[]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

means any single character NOT within a range or a set. (sql server)

A

[^]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

means any single character within a range or a set (mysql)

A

REGEXP []

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

means any single character NOT within a range or a set (mysql)

A

REGEXP [^]

17
Q

Many queries that would require the use of the logical OR can be more easily handled with the help of the special operator

A

IN

18
Q

special operator can be used whenever there is a requirement to execute a command based on the result of another query.

A

EXIST