Hi,
I am trying to refine a query for a simulation I inherited. The query forms one duplicate for each row.
In the picture attached are the three joined tables used for the query.
What is wrong here?
I tried Select Distinct, but it seems not to be working.
SELECT [Load curves].[ID Country], Years.Year, [Load curves].Date, [Load curves].Time, [Load in MW]*[Annual Load increase] AS [Projected Load in MW], Years.Year-[Value] AS [Years difference], Year(Now()) AS [Current year], Parameters.Value
FROM [Parameters], ([Load curves] INNER JOIN [Annual Load Increase] ON [Load curves].[ID Country]=[Annual Load Increase].[ID Country]) INNER JOIN Years ON [Annual Load Increase].Year=Years.Year;