Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在建立一个数据库,我遇到了一种情况,为条目创建一个单独的表更有意义。但是,索引此表实际上没有意义。我可以将这个表与另一个表合并,但我相信它的形式很差(适用于这个项目,但不会普遍适用)。
有什么提示或建议吗?具体而言,索引表使用 GameId AI 跟踪“游戏”。有问题的表格将为每个玩家提供一个单独的条目(因此像 PlayerGame 这样的表格)。
谢谢!
必须在 gameid 和 playerid 上添加索引