Search Header Logo

Lenguaje estructurado de consultas

Authored by Eduardo Barrientos

Information Technology (IT)

University

Used 1+ times

Lenguaje estructurado de consultas
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

35 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué hace la cláusula SELECT en PostgreSQL?

Elimina registros de una tabla

Recupera datos de una tabla o vista

Cambia el nombre de una tabla

Actualiza datos en una tabla

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cuál es la función principal de WHERE?

Agrupar datos

Filtrar registros según una condición

Ordenar datos

Eliminar datos duplicados

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cuál de las siguientes formas concatena correctamente dos columnas en PostgreSQL?

SELECT CONCAT(col1, col2) FROM tabla;

SELECT col1 + col2 FROM tabla;

SELECT col1 || col2 FROM tabla;

SELECT MERGE(col1, col2) FROM tabla;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué hace GROUP BY?

Filtra resultados antes de agrupar

Agrupa registros que tienen el mismo valor en una o más columnas

Ordena datos en orden ascendente

Combina datos de varias tablas

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué diferencia hay entre WHERE y HAVING?

WHERE filtra después de GROUP BY y HAVING antes

HAVING filtra después de GROUP BY y WHERE antes

No hay diferencia

Ambos solo filtran agregados

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Qué hace ORDER BY?

Agrupa datos

Ordena los resultados según una o más columnas

Filtra datos

Une tablas

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cuál sentencia une dos tablas con JOIN en PostgreSQL?

SELECT * FROM tabla1 MERGE tabla2;

SELECT * FROM tabla1 INNER JOIN tabla2 ON tabla1.id = tabla2.id;

SELECT * FROM tabla1 + tabla2;

SELECT * FROM tabla1 CONNECT tabla2;

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?