Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2018
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
T-SQL 0.30 KB | None | 0 0
  1. create table professor(
  2.     id int primary key,
  3.     nome varchar(30)
  4.  
  5. )
  6.  
  7. create table aluno (
  8.     id_aluno int primary key,
  9.     nome varchar(30),
  10.     id_curso int
  11. )
  12.  
  13. create table aluno_prof (
  14.     id_aluno int,
  15.     id_prof int,
  16.     data date
  17.  
  18. )
  19.  
  20. create table curso (
  21.     id int primary key,
  22.     descricao varchar(30)
  23. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement