Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- select distinct(count(p.id_pessoa))
- from comum.pessoa as p
- inner join discente d using (id_pessoa)
- where d.status in (1)
- and d.nivel in ('G')
- and p.data_nascimento >= '1990-01-20'::date;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement