11 tm 15 Flashcards

1
Q

tabel name, state city uit CA en hollywood uit database customers

A

SELECT name,state city FROM customers WHERE state = ‘CA’ AND city=’hollywood’

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

toon name, state city uit database customers uit boston of CA

A

SELECT name,state, city FROM customers WHERE city=’Boston’ OR state=’CA’

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

toon id name en city met id 1 of 2 uit Raleigh uit databse customers

A

SELECT id, name, city FROM customers WHERE id=1 OR id=2 AND city=’Raleigh’

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

toon mensen met naam en staat uit nc, ca of ny

A

SELECT name, state from customers WHERE state =’CA’ OR state=’NC’ OR state=’NY’

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

toon alles producten met new met tabel name uit database items

A

SELECT name FROM items WHERE name LIKE ‘new%’

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

toon producten met voor en erna een word met computer tabel name uit database items

A

SELECT name FROM customers WHERE name LIKE ‘%computer%’

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

toon namen die beginnen met h en eindigen op d uit database customers tabel city

A

SELECT city FROM customers WHERE city LIKE ‘h%d’

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

toon tabel name met een enkel teken voor boxes of frogs uit database items

A

SELECT name FROM items WHERE name LIKE ‘_ boxes of frogs’

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

toon tabel name met alle tekens voor aantal boxes of frogs uit database items

A

SELECT name FROM items WHERE name LIKE ‘% boxes of frogs’

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

zoek alle items met de letters new erin uit database items tabel name

A

SELECT name FROM items WHERE name REGEXP ‘new’

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

toon items met een getal voor het woord boxen uit database items tabel name

A

SELECT name FROM items WHERE name REGEXP ‘.boxes’

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

toon 1,2,3,4,5 boxes of frogs uit database items tabel name

A

SELECT name FROM items WHERE name REGEXP ‘[1,2,3,4,5] boxes of frogs’

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

toon aantal boxes of frogs boven de 1,2,3,4 en 5 uit database items tabel name

A

SELECT name FROM items WHERE name REGEXP ‘^[1,2,3,4,5] boxes of frogs’

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