Question:
Create Payments table
Refer the below schema and create the table payments.
Column Name | Datatype | Size | Constraint | Constraint name | Reference table – Column name |
Payment_ID | Varchar2 | 3 | PRIMARY KEY | PK_PAYMENTS | |
Ticket_ID | Varchar2 | 3 | FOREIGN KEY | FK_PAYMENTS_TICKETS | TICKETS – TICKET_ID |
BD_ID | Number | 11 | FOREIGN KEY | FK_PAYMENTS_BOOKINGDETAILS | BOOKINGDETAILS-BD_ID |
DISCOUNT_ID | Varchar2 | 3 | FOREIGN KEY | FK_PAYMENTS_DISCOUNTS | DISCOUNTS-DISCOUNT_ID |
ConversionConversion EmoticonEmoticon