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.
有人告诉我在插入查询中使用 set ,例如 insert into tbl_student SET name='myname', class='myclass'. 此查询工作正常,但它优于普通插入查询?正常的插入查询是
insert into tbl_student SET name='myname', class='myclass'
insert into tbl (col1, col2) VALUES (val1, val2)
不。我怀疑“正常”语法更常见,我怀疑任何一种语法通常都可以被描述为比另一种更可取。