MS ACCESS - 如何使用查询 make table 添加主键

MSACCESS - How to add a primary key using a query make table

我有一个查询table,这个SQL:

SELECT DISTINCT tblStore.Position, tblStore.Branch, tblStore.Location, tblStore.Operator INTO tblAllPositions
FROM tblStore
WHERE (((tblStore.Position) Is Not Null))
ORDER BY tblStore.Position, tblStore.Branch, tblStore.Location;

我想在新的 table tblAllPositions 中添加一个名为 ID_Positions 的字段并将其设置为主键自动编号。

我该怎么做?

考虑:

ALTER TABLE tblAllPositions 
ADD COLUMN ID_Positions COUNTER, 
CONSTRAINT PrimaryKey PRIMARY KEY (ID_Positions)

我在查看 https://docs.microsoft.com/en-us/office/client-developer/access/desktop-database-reference/data-definition-language

上的 ALTER TABLE 和 CREATE TABLE 教程后构建了 SQL