Hi,I need help,I am just learning this timeI have a table Invoicewhich has fields InvoiceNoInvoice_amountInvoice_DateExchange_Rateand second table is Receiptwhich has fieldsReceiptNoReceiptAmountReceipt_DateInvoiceNoInvoiceDateExchange_RateNow What I need to do, here suppose i created a Invoice tablecreate table Invoice ( InvoiceNo varchar(15) not null, InvoiceAmount money not null, invoiceDate date not null, ExchangeRate Money not null, constraint pk_invoice primary key(InvoiceNo), constraint uk_inv unique (InvoiceNo, InvoiceAmount) )
I am just trying to create two tables Invoice and Receipt
I have created Invoice table but On receipt table I need references on
InvoiceNo, InvoiceDate so how I can give references when we need to give references on multiple columns.
please help me
i need help for how I can give foreign key references on multiple column