Hi, my problem is how to link an Invoice table to a CreditNote table. Primary Keys are 'Invoice #' and 'CreditNote #' respectively.
Every Credit Note relates to a specific Invoice, so tables are joined by 'Invoice #'
Not every Invoice has a Credit Note ..... however it cannot be assumed that when an Invoice has a Credit Note, there will only be one of them. There could be > 1 Credit Notes against an Invoice.
How to join these tables correctly, using SQL query language?
Thanks, Bill