SELECT * FROM ContainsItems ci INNER JOIN Items i ON ci.itemID = i.itemID INNER JOIN Invoice iv ON ci.invoiceID = iv.invoiceID WHERE ci.invoiceID = @yourInvoiceID
↧
Answer by paparazzo for Join to two tables
↧