SQL videos Flashcards

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

what does access use in the backend

A

SQL!

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

most basic SQL query

A

Select one field
From one table

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

SELECT * FROM tales

A

Gives u all the fields

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

SELECT * FROM table
WHERE

what does where clause mean

A

helps you limit the data

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

SELECT * FROM table
WHERE
ORDER BY

what does order by clause mean

A

helps you sort the data

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

How do you put in a criteria like names starting w B?

why star?

A

LIKE “B*”

so you can get every ending that begins w B

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

HOW DO you put in a criteria for # of characters

A

LIKE “?????..”

number of ? is number of characters

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

How do you put in a criteria for books with titles a-m

A

LIKE “[A-M]*”

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

how to run a query for multpiple tables?

A

drag them both into the work area

put in the criteria at the bottom regularly

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

select statement with and/or condition

A

SLECT * FROM
WHERE — OR—

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

Show all products and corresponding supplier info

A

SELECT
FROM
WHERE suppliers = products

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

Show all products and the corresponding category info

A

SELECT Categories.CategoryID,CategoryName,ProductName,Inventory
FROM Categories, Products
WHERE Categories.CategoryID=Categories.CategoryID

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

slide 15-23 on week 10 slide

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