hi,
i need to do a query which joins multiple tables but i need to join the same 2 tables multiple times.
is that possible?
SELECT timeline.TimelineID, timeline.SIPPorCASH, timeline.clients_ClientID, timeline.UserID, timeline.IFAID, timeline.RegionalSalesManager, timeline.AreaSalesManager, timeline.AgencyTradingAgreementSigned, timeline.DateOfClientMeeting, timeline.EstimatedPensionFundAmount, timeline.DateAuthorityMandateSentToIFA, timeline.DetailsOfPensionFunds, timeline.ProductID, timeline.PropertyRef, timeline.NPW, timeline.CaseComplete, clients.ClientID, clients.App1FirstName, clients.App1LastName, clients.App2FirstName, clients.App2LastName, users.UserID, users.FullName
FROM timeline JOIN clients on timeline.clients_ClientID = clients.ClientID join users on timeline.UserID = users.UserID
WHERE timeline.NPW = 0 and timeline.CaseComplete is null and timeline.clients_ClientID = ParamClientID
i need to join timeline.UserID, timeline.IFAID, timeline.RegionalSalesManager, timeline.AreaSalesManager all to users.UserID?
hope someone can help.
many thanks