SQL joins and logic
问题 I am working with a SharePoint web part that I am designing in C#. I need to query a SQL Server 2005 database to return the names of machines that are associated with a particular customer, selected by the user. The problem is that there are different types of machines, and the names themselves are stored in several other tables. Here is the structure as it pertains to this question: I have a table "customerInfo" which contains the ID and name of each customer. The ID is the primary key. A