SQL JOINS

SQL JOINS

University

10 Qs

quiz-placeholder

Similar activities

REDES

REDES

University

15 Qs

Android

Android

University

10 Qs

Mini 2 (5junio)

Mini 2 (5junio)

University

10 Qs

BACS3323 Chapter 4 -Flocking Algorithm

BACS3323 Chapter 4 -Flocking Algorithm

University

13 Qs

BB

BB

University

10 Qs

Exercise 4

Exercise 4

University

10 Qs

Tree and Planar Graph

Tree and Planar Graph

University

10 Qs

SQL JOINS

SQL JOINS

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Leandro Pajaro

Used 82+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 5 pts

Media Image

Seleccione sentencia para listar todos los registros en los cuales num_books_read es mayor a 185

SELECT * from family_members WHERE num_books_read > 185

SELECT * family_members WHERE num_books_read > 185

SELECT * from family_members WHERE num_books_read = 185

SELECT * from family_members WHERE num_books_read >= 185

2.

FILL IN THE BLANK QUESTION

2 mins • 5 pts

Media Image

Complete la sentencia para agregar FK iddepartamento a la tabla usuarios: ALTER TABLE usuarios ___ usuarios_fk ___ REFERENCES departamentos(id)

3.

MULTIPLE CHOICE QUESTION

2 mins • 5 pts

Media Image

Seleccione sentencia para listar todos los perros con menos de 50 cm

select * from friends_of_pickles where species='dog' and height_cm > 45

select * from friends_of_pickles where species='dog' and height_cm < 45

select * from friends_of_pickles where height_cm < 45

select * from friends_of_pickles species='dog' and height_cm < 45

4.

MULTIPLE CHOICE QUESTION

2 mins • 5 pts

Media Image

Seleccione sentencia para listar el promedio de estatura por género

select gender, avg(height_cm) promedio from friends_of_pickles group by height_cm

select gender, sum(height_cm) promedio from friends_of_pickles group by gender

select gender, avg(height_cm) promedio from friends_of_pickles group by gender

select height_cm, avg(height_cm) promedio from friends_of_pickles group by gender

5.

MULTIPLE CHOICE QUESTION

2 mins • 5 pts

Media Image

Seleccione sentencia para listos los registros que sean perros o que la estatura sea inferior a 45

SELECT * FROM friends_of_pickles WHERE height_cm <45

SELECT * FROM friends_of_pickles WHERE height_cm >45 OR species = 'dog'

SELECT * FROM friends_of_pickles WHERE height_cm <45 AND species = 'dog'

SELECT * FROM friends_of_pickles WHERE height_cm <45 OR species = 'dog'

6.

FILL IN THE BLANK QUESTION

2 mins • 5 pts

Media Image

Complete la senencia para listar la cantidad de perror que hay en la tabla:

select ___ ___ friends_of_pickles where species ___

7.

FILL IN THE BLANK QUESTION

2 mins • 5 pts

Media Image

Complete la sentencia para listar la máxima y mínima estatura: SELECT ___ ___ FROM friends_of_pickles

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers