SQL / Arrays Flashcards

1
Q

array

A

holds items of an identical type in rows and columns, eg: integar/string

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

record

A

data structure of fields with different types of items, eg: integar/strings

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

field

A

single item of data in a record

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

3 file steps

A

open file
read / write to file
close file

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

S Q L

A

Structured Query Language

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

what is SQL?

A

used to get information from a data base

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

how to use SQL

A

SELECT (list fields to be displayed)
FROM (table name)
WHERE (list criteria)

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

wildcard

A

means everything (all columns)

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

operators examples

A

=
!=
>
<=

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

BETWEEN

A

between an inclusive range of

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

LIKE

A

search for a pattern

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

ORDER BY

A

output in an order,
eg: ASC (acsending)
DESC (descending)

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

how to add to or read from an array

A

index number
starts at 0

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