I'm trying to generate multiple tables using a query based on the unique SiteID, I have 32 sites in total and I would like to generate a table for each site (which I eventually would like to export all together into a single excel workbook).
So currently the query I've set up looks like this:
SELECT [Updated ANPR Analysis Site ID].New_SiteID AS Site_ID, [Updated ANPR Analysis Site ID].Base_class AS Class, [Updated ANPR Analysis Site ID].Corrected_vrn AS RegNo, [Updated ANPR Analysis Site ID].Timestamp AS [Time] INTO Site17
FROM [Updated ANPR Analysis Site ID]
WHERE ((([Updated ANPR Analysis Site ID].New_SiteID)=17))
The variable bits are obviously the Site_ID. Help!