【发布时间】:2020-09-11 21:24:19
【问题描述】:
我有一个使用此 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;
我想在新表tblAllPositions 中添加一个名为ID_Positions 的字段并将其设置为主键自动编号。
我该怎么做?
【问题讨论】:
标签: sql ms-access select-into