Skip to content

Instantly share code, notes, and snippets.

@ADCDS
Created October 17, 2016 14:18
Show Gist options
  • Save ADCDS/26fefde43afd627234080943301e47db to your computer and use it in GitHub Desktop.
Save ADCDS/26fefde43afd627234080943301e47db to your computer and use it in GitHub Desktop.
group: Exercicio1
PACIENTE = {
idPaciente:number, nomePaciente:string, cidade:string
1,"João da Silva","Alfenas"
2,"Rita Duarte","Lavras"
3,"Marcos Costa","Belo Horizonte"
4,"Lara Campos","São Paulo"
}
MEDICO = {
idMedico:number,NomeMedico:string,Hospital:string
1,"Carlos Eduardo Magalhães","Vaz Monteiro"
2,"Maria Cândida Silveira","Health Care"
}
CONSULTA = {
idConsulta:number,Data:string,idMedico:number,idPaciente:number
1,"20/04/2010",1,1
2,"25/04/2010",2,2
3,"30/04/2010",1,1
}
RECEITA = {
idConsulta:number,idReceita:number,descricao:string
1,1,"Cefalexina, Tomar de 12 em 12 horas"
1,2,"Dipirona, Tomar de 6 em 6 horas"
2,1,"Toptil Tomar uma vez ao dia"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment