3f P1 Flashcards

1
Q

select

A
SELECT(nom-campos)
from (tabla)
WHERE(Condicion)
o
SELECT*
FROM(tabla)
WHERE(condicion)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

<>

A

diferente

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

Min

A

min de columna
SELECT MIN(columna)
FROM(tabla)
WHERE (condiclon)

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

MAX

A

max de columna

SELECT MAX(columna)
FROM(tabla)
WHERE (condiclon)

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

count

A

SELECT COUNT(columna)
FROM(Tabla)
WHERE(condicion)

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

AVG

A

SELECT AVG(columna)
FROM(tabla)
WHERE (condiclon)

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

SUM

A

SELECT SUM(columna)
FROM(tabla)
WHERE (condiclon)

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

SUM

A

SELECT SUM(columna)
FROM(tabla)
WHERE (condición)

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

INSERT INTO

A

INSERT INTO tabla
(columnas)
VALUES(v1..v2..v3)

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

INSERT INTO

A

INSERT INTO tabla

VALUES(v1..v2..v3);

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

DELETE

A
DELETE FROM(tabla)
WHERE condicion;
How well did you know this?
1
Not at all
2
3
4
5
Perfectly