Inheritance - Database?

0

I started deploying a bank, and I'm doubtful of the following:

I have 4 tables

  • Person
  • Client
  • Employee
  • Administrator.

Cliente and Funcionario inherit from Pessoa and Administrador inherit from Funcionario

What I did was the following.

Person contains data: nome , emai , cpf , etc., and Funcionario and Administrador only contains PK , done that, I need to include Agendamento , and I need that all tables refer to Agendamento .

How to proceed ?

    
asked by anonymous 22.03.2017 / 16:27

0 answers