R
R Tanner
Hi,
I have a table, Tickets, with a field, Manager, and about 4000 rows.
I have another table, called Managers, that has 20 rows, listing every
possible manager in Tickets. I want to write an SQL statement to
select my managers in Tickets and then create an additional field that
is the primary key from Managers. How would I do this? This is the
little bit I have - As you can see, I am not that good with SQL yet.
SELECT [2007 Tickets].Manager
FROM [2007 Tickets]
WHERE [2007 Tickets].Manager = Managers.Manager
ORDER BY Managers.ID;
I have a table, Tickets, with a field, Manager, and about 4000 rows.
I have another table, called Managers, that has 20 rows, listing every
possible manager in Tickets. I want to write an SQL statement to
select my managers in Tickets and then create an additional field that
is the primary key from Managers. How would I do this? This is the
little bit I have - As you can see, I am not that good with SQL yet.
SELECT [2007 Tickets].Manager
FROM [2007 Tickets]
WHERE [2007 Tickets].Manager = Managers.Manager
ORDER BY Managers.ID;