G
Guest
I'm new to this whole game, so hopefully I'm asking this right. I have 3
tables I'm working with. One where I have some summary employee information,
one where I have information about their initial hiring information, and one
where I keep track of any raises they have received over the years. I want
to create a query that updates the summary table with a "Current Salary" -
where Current Salary = Starting Salary from Table 3 + Sum of All Raises from
Table 2. I have the primary keys setup, with an employee ID linking all
three tables, but I can't seem to write a query to do this. I get errors
about aggregate functions in update queries, I tried creating a 4th table and
adding the values in that and that didn't work. Any ideas?
tables I'm working with. One where I have some summary employee information,
one where I have information about their initial hiring information, and one
where I keep track of any raises they have received over the years. I want
to create a query that updates the summary table with a "Current Salary" -
where Current Salary = Starting Salary from Table 3 + Sum of All Raises from
Table 2. I have the primary keys setup, with an employee ID linking all
three tables, but I can't seem to write a query to do this. I get errors
about aggregate functions in update queries, I tried creating a 4th table and
adding the values in that and that didn't work. Any ideas?