al3xicon
10/20/2023, 1:19 PMcustomercontactcompanycontactListcustomercontactSELECT cu.id, cu.contactlist from customer as cu, contact as co WHERE cu.id = 140 and co.id in (11,1144)contactListSELECT cu.id, cu.contactlist from customer as cu, contact as co WHERE cu.id = 140 and co.id in (cu.contactlist)tdietrich
10/20/2023, 2:16 PMtdietrich
10/20/2023, 2:17 PMSELECT TOP 100
	Entity.ID AS Entity,
	Entity.EntityId,
	Contact.ID AS Contact,
	Contact.LastName,
	Contact.FirstName
FROM 
	COMPANYCompanyContact AS CompanyContacts
	INNER JOIN Entity ON
		( Entity.ID = CompanyContacts.ContactsCompany )
	INNER JOIN Contact ON
		( Contact.ID = CompanyContacts.Contact )
ORDER BY
	Entity.EntityId,
	Contact.LastName,
	Contact.FirstNametdietrich
10/20/2023, 2:17 PMal3xicon
10/20/2023, 2:22 PMraghav
10/20/2023, 2:23 PMal3xicon
10/20/2023, 2:25 PMtdietrich
10/20/2023, 2:25 PMtdietrich
10/20/2023, 2:25 PMtdietrich
10/20/2023, 2:29 PMraghav
10/20/2023, 2:49 PMtdietrich
10/20/2023, 2:50 PM