Advertisement
TenthAlienPlan

Untitled

Jan 20th, 2022
1,141
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. select distinct(count(p.id_pessoa))
  2. from comum.pessoa as p
  3. inner join discente d using (id_pessoa)
  4. where d.status in (1)
  5. and d.nivel in ('G')
  6. and p.data_nascimento >= '1990-01-20'::date;
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement