我试图在我的表中多次插入,但得到错误.
我的查询是:
insert into tbl_temp(e_id, t_id, status, type)
select id from tbl_basicinfo where emp_id = 91 and employee_id <> 7119, 289, 1, 2
Run Code Online (Sandbox Code Playgroud)
它给出了错误:
消息102,级别15,状态1,行2','附近的语法不正确.
问题是什么?
谢谢.
insert into tbl_temp(e_id, t_id, status, type)
select id, 289, 1, 2 from tbl_basicinfo where emp_id = 91 and employee_id <> 7119
Run Code Online (Sandbox Code Playgroud)