First, hello!! :-) I hope this is the right place to post such a beginner question. I am a complete novice, at best, but really like sql/php/et al; desire without knowledge causes hair pulling-out :-D I'm also new to sql server but finally got 2014 installed.I am trying to join a few tables, but using the below code I lose many records. The records table has about 27000 rows but after joining the tables there's only 7000. [code="plain"]select *from Service_Record join vendor_List on Service_Record.Vendor_Nbr = Vendor_List.Vendor_Nbr join Engineer_List on Service_Record.Engineer_ID = Engineer_List.Engineer_ID join Parts_Replaced on Service_Record.Service_Record_Nbr = Parts_Replaced.Service_Record_Nbr[/code]As you can probably infer, I'm trying to combine parts used, engineer, and any vendor info associated with the service records onto one table, which I'll then export to excel to filter/pivot.Any direction would be greatly appreciated.Josh
↧