2.1.sql 169 Bytes
Newer Older
Matias Ferreira committed
1 2 3 4 5
/*2.1. Hacer un query que liste todos los alumnos mayores a 20 años.*/

SELECT fullname
FROM students
WHERE extract( 'year' FROM  age(current_date, birth_date)) >= 20;