Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Select *
- From consulta
- Where month (cons_data) =9 and year (cons_data)='2019';
- Select pac_nome,pac_genero,pac_dist_id,pac_dataNasc
- From Paciente
- Where Pac_genero like 'M' and pac_dist_id =1
- order by pac_DataNasc;
- select pac_nome,pac_genero,pac_dist_id,pac_DataNasc
- From Paciente
- Where pac_dist_id <>2
- Order by pac_nome asc, pac_genero desc;
- Select *
- From Paciente
- Where pac_bi is not null and pac_cronic = true
- order by pac_nome desc;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement