0
嗨帮助在这种情况下,我需要在表中插入两列一列必须是默认值为'其他'(请不要建议把其他作为默认值)和其他列应该从不同的表中插入。 这是我的示例代码,请提出必要的改变:插入默认值与其他列
INSERT INTO table1 (`ID`,`specialty`)
SELECT `ID`,`here i need to put default value as other` from table2 a WHERE
Id IS NOT NULL