这是我的表:
id | datetime | player1 | player2 | player3 | player4 | player5 | player6 | player7 | player8 | player9 | player10 | player11 | player12 | player13 | player14 | player15 | player16 | player17 | player18 | player19 | player20
id AND datetime IS NOT NULL. playerX IS NULL.
我需要一个查询INSERT
对所选时间的值以及该行中的第一个NULL
列。
Somethng喜欢:
INSERT INTO matches(playerX) VALUES ('player_id') WHERE datetime="2016-1-4 12:00:00";
感谢您的帮助:)