
Tengo problemas al querer crear la tabla Payment, porque el atributo Payment_ID lo estoy recibiendo de dos tablas: BILL y TICKET. Por ende, no podría escribir algo como:
Código:
foreign key (Payment_ID) references BILL(Payment_ID),
foreign key (Payment_ID) references TICKET(Payment_ID)
foreign key (Payment_ID) references TICKET(Payment_ID)
Porque estoy repitiendo el mismo atributo, cierto? Cómo podría hacerlo?
De antemano, gracias.





Autor




En línea


