ComenzarEmpieza gratis

Make this query easier to read - Part II

In this exercise you will work on making the query below easier to read.

select 
  category as FILMCATEGORY, 
  avg(length) as AverageLength
from film as f
inner join category as c
  on f.film_id = c.film_id
where release_year >= 2005
  and release_year <= 2010
group by category;

Este ejercicio forma parte del curso

Applying SQL to Real-World Problems

Ver curso

Ejercicio interactivo práctico

Prueba este ejercicio completando el código de muestra.

select 
  category as FILMCATEGORY, 
  avg(length) as AverageLength
from film as f
inner join category as c
  on f.film_id = c.film_id
where release_year >= 2005
  and release_year <= 2010
group by category;
Editar y ejecutar código