我有这两张桌子...
表格1:
IDPlayer int
表2:
ID_event int (Autoincrement - probably bad)
IDPlayer2 int
participate bit
我有这个命令,但我不知道,对于 1 个插入是 1 个事件,我该怎么做...
Insert into Table2 (ID_IDPlayer2)
Select Table1.IDPlayer
FROM Table1
输出:
event player participate
1 1 False
2 2 False
3 3 False
4 4 False
5 1 False
6 2 False
7 3 False
8 4 False
但我想要这个:
event player participate
1 1 False
1 2 False
1 3 False
1 4 False
2 1 False
2 2 False
2 3 False
2 4 False