This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--PostgreSQL 9.6 | |
--'\\' is a delimiter | |
create table proposta_matricula ( | |
matricula_aluno integer not null, | |
cod_disciplina char(6) not null, | |
constraint pk_proposta_matricula | |
primary key (matricula_aluno, cod_disciplina)); | |
create table aluno ( | |
matricula serial not null, |